Releases: egoist/docute
Releases · egoist/docute
Version 2.10.0
Minor changes
Deprecated self.$config
in favor of docute.init(config)
method.
To upgrade, simply place your config file after docute.js
and make some small changes:
- self.$config = {
+ docute.init({
// ...
- }
+ })
Or you can directly write inline script tag in index.html
:
<script src="https://unpkg.com/docute"></script>
<script>
- self.$config = {
+ docute.init({
// ...
- }
+ })
</script>
Note: self.$config
is still supported but there will be a deprecation message, and self.$config
will be removed in next major version which is v3.0
Version 1.4.2
Features:
- Landing page: https://docute.js.org/#/home?id=landing-page
Bug Fixes:
- Disable
scrollSpy
in non-doc page, for example: landing page and 404 page
Version 0.7.0
- improve scroll spy and scroll to id
- support custom icons
- replace tj/js-yaml with a custom implementation
- replace axios with isomorphic fetch