Useful links: Docsy releases & tags. Jump to the latest release.
For a list of issues targeted for the next release, see the 22Q2 milestone.
0.5.0 - next planned release (unpublished yet)
For the full list of the changes found in this release, see the release notes. BREAKING CHANGES are documented below.
After you update your project's Docsy:
- Update your project setup (see 0.4.0) if you haven't already.
- Run
npm install
.
New:
- Projects can now install and use Docsy as an NPM package.
Breaking changes:
- Upgraded Bootstrap to v4.6.2, resulting in some style changes. For details, see v4.6.2 release notes.
- Upgraded FontAwesome to v6.1.2 from v5. While many icons were renamed, the v5 names will still work. For all the details, see What's changed.
For a full list of the changes to this release, see the release notes. Potential BREAKING CHANGES are documented below.
After you update your project's Docsy, run npm install
.
If your project uses Docsy as follows:
- Hugo Module, then this change doesn't impact you.
- For other Docsy setups, this is a BREAKING CHANGE -- read on.
Docsy now fetches Bootstrap and FontAwesome as NPM packages rather than git submodules. This has an impact on your project-build setup. To migrate your site, follow these steps (execute commands from your project's root directory):
- Delete obsolete Docsy Git submodules:
$ rm -Rf themes/docsy/assets/vendor
- Get Docsy dependencies:
$ (cd themes/docsy && npm install)
- Update your build scripts to fetch Docsy dependencies automatically. For
example, if your site build uses NPM scripts, consider getting Docsy
dependencies via a prepare script as follows:
{ "name": "my-website", "scripts": { "prepare": "cd themes/docsy && npm install", "...": "..." }, "...": "..." }
- (Optional) Build script cleanup. If your project uses Docsy as a git
submodule, Docsy updates no longer require the
--recursive
flag when runninggit submodule update
. Consider dropping the flag if you have no other recursive git submodules.
Proceed as usual to build or serve your site.
For a full list of the changes to this release, see the release notes.
Breaking changes:
- Upgrade to Algolia DocSearch v3. If your site uses the deprecated DocSearch v2, you must update your DocSearch code.
New:
-
Add official Docsy support for Hugo modules. Many thanks to the dedicated and patient efforts of @deining, who researched, experimented, and implemented this feature. Thanks to @deining and @LisaFC for the doc updates.
For details, see Migrate to Hugo Modules.
Details:
- For a full list of the changes to this release, see the release notes
0.X.Y - next planned release (unpublished yet)
For a full list of the changes to this release, see the release notes.
Breaking changes:
- ...