github doczjs/docz v0.12.7

latest releases: v2.4.0, v2.3.3-alpha.0, v2.3.2-alpha.0...
5 years ago

Changelog

🐞  Bug Fixes

  • docz: conditionally description column on PropsTable (#385) (829a3aa), closes #427 #421
  • docz-theme-default: fill adjustments (119e4a7)
  • docz-theme-default: rename playground container to avoid conflicts (#429) (86845bf)
  • docz-theme-default: text alignment in table thead (#403) (475eb52)
  • docz-theme-default: tooltip component (9234b5e)
  • docz-core: webpack chain minimizer config (ab13208)

🚀  Features

  • add support to disable codesandbox (be94b0e)
  • docz: render [Empty String] on PropsTable (#427) (10a3eda)
  • docz-theme-default: add code editor toggle on playground (#387) (f833eaa)
  • docz-theme-default: add support to show/hide playground editor (cacc6fb)

Hidding <Playground> editor

In the newest version you can hide your playground editor by clicking on the code icon. If you want to hide by default, just change showPlaygroundEditor on your themeConfig object:

// doczrc.js
export default {
  themeConfig: {
    showPlaygroundEditor: false
  }
}

Disable Code Sandbox

Now you can disable the codesandbox integration by changing the codeSandbox property:

// doczrc.js
export default {
  codeSandbox: false
}

Don't miss a new docz release

NewReleases is sending notifications on new releases.