Skip to content

Releases: egoist/docute

Version 2.10.0

17 Mar 09:23
Compare
Choose a tag to compare

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

27 Dec 15:25
Compare
Choose a tag to compare

Features:

Bug Fixes:

  • Disable scrollSpy in non-doc page, for example: landing page and 404 page

Version 0.7.0

15 Dec 10:30
Compare
Choose a tag to compare
  • improve scroll spy and scroll to id
  • support custom icons
  • replace tj/js-yaml with a custom implementation
  • replace axios with isomorphic fetch