Skip to content

Releases: doczjs/docz

v0.2.7

20 Jun 23:09
Compare
Choose a tag to compare

Changelog

  • Add hashRouter option for project configuration #73
  • Add modifyBabelRc option for project configuration (b20c484)

Adding HashRouter

Some services, like Github Pages, turn docz default History API navigation impossible because of some rewrites reason. So, you need to enable navigation via hash. You can do that by modifying your doczrc.js like that:

// doczrc.js
export default {
  hashRouter: true,
}

Modifying default babel without plugins

Until this release was possible to modify custom babel configuration just by creating some plugin. By now is possible to change this just by passing a method on your doczrc.js:

// doczrc.js
export default {
  modifyBabelRc: (babelrc) => {
    /* your logic here */
    return babelrc
  }
}

v0.2.6

17 Jun 01:59
Compare
Choose a tag to compare

Changelog

Babel 6 support

By default and some performance issues, Docz uses Babel@7. If you want to use older versions of babel import this plugin and use on your doczrc.js:

// doczrc.js
import { babel } from 'docz-plugin-babel6'

export default {
  plugins: [babel()]
}

v0.2.5

15 Jun 21:51
Compare
Choose a tag to compare

Changelog

  • Fix <PropsTable> component render (thanks @renatorib)

v0.2.4

13 Jun 23:18
Compare
Choose a tag to compare

Changelog

  • Fix: add webpack-hot-client as explicit dependency (Closes #24)
  • Chore: add more information about devserver after compilation finish (Closes #27)

v0.2.3

13 Jun 22:14
Compare
Choose a tag to compare

Changelog

  • Fix: change config hosts to support windows os (thanks @Swapnull) #17

v0.2.2

12 Jun 03:35
Compare
Choose a tag to compare

Changelog

  • Fix playground destructuring bug (#4) thanks @renatorib and @degroote22
  • Add default src/ filepath to be root instead of src/

v0.2.0

11 Jun 21:29
Compare
Choose a tag to compare

Initial release!

See http://docz.site for more information!

🧘 Zero-config!
⚡️ Blazing Fast!
💅 Theming support!
📝 MDX Based!
🎛 Pluggable!
🔐 Typescript Support!