Releases: doczjs/docz
Releases · doczjs/docz
v0.2.7
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
Changelog
- Add docz-plugin-babel6
- Fix: entry window filepath (thanks @marceloavf)
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
Changelog
- Fix
<PropsTable>
component render (thanks @renatorib)
v0.2.4
v0.2.3
v0.2.2
Changelog
- Fix playground destructuring bug (#4) thanks @renatorib and @degroote22
- Add default
src/
filepath to be root instead ofsrc/
v0.2.0
Initial release!
See http://docz.site for more information!
🧘 Zero-config!
⚡️ Blazing Fast!
💅 Theming support!
📝 MDX Based!
🎛 Pluggable!
🔐 Typescript Support!