Files
Discord.Net/docs/README.md
Nora de8da0d3b9 [Docs] Update docfx and remove tocFilter hack. (#3010)
* 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.
2024-09-17 20:10:43 +03:00

18 lines
658 B
Markdown

# Instructions for Building Documentation
The documentation for the Discord.Net library uses [DocFX][docfx-main].
Instructions for installing this tool can be found [here][docfx-installing].
> [!IMPORTANT]
> You must use DocFX version **2.77.0** for everything to work correctly.
1. Navigate to the root of the repository.
2. Build the docs using `docfx docs/docfx.json`. Add the `--serve`
parameter 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.
[docfx-main]: https://dotnet.github.io/docfx/
[docfx-installing]: https://dotnet.github.io/docfx/index.html