This release addresses critical bugs discovered after the launch of the Search feature, specifically for users hosting documentation in sub-directories.
🐞 Bug Fixes
- Search in Sub-directories: Fixed a critical issue where the search engine would fail to load the index or generate incorrect links if the site was deployed to a sub-path (e.g.,
example.com/docs/). Search now respects the relative root of the current page. - Config Validation: Updated the configuration validator to recognize new options (
search,minify,editLink). It will no longer incorrectly warn that these valid properties are "unknown."
⬆️ How to Upgrade
npm install -g @mgks/docmd@latestFull Changelog: 0.3.0...0.3.1
❤️ Support the Project