* Update docfx and remove tocFilter hack. docfx PR 9912 fixed the TOC filter value not being kept between page loads. This removes the hack I used to get around it, but keeps the scroll code. * Update docs workflow.
Instructions for Building Documentation
The documentation for the Discord.Net library uses DocFX. Instructions for installing this tool can be found here.
Important
You must use DocFX version 2.77.0 for everything to work correctly.
- Navigate to the root of the repository.
- Build the docs using
docfx docs/docfx.json. Add the--serveparameter to preview the site locally.
Please note that if you intend to target a specific version, ensure that you have the correct version checked out.