* Add guide for building the docs * Add version to the footer of the docs * fix links for readme * change formatting of doc build readme * proper capitalization of DocFX in readme * Remove code tags around version
Instructions for Building Documentation
The documentation for the Discord.NET library uses DocFX. Instructions for installing this tool can be found here.
- Navigate to the root of the repository.
- (Optional) If you intend to target a specific version, ensure that you have the correct version checked out.
- Build the library. Run
dotnet buildin the root of this repository. Ensure that the build passes without errors. - Build the docs using
docfx .\docs\docfx.json. Add the--serveparameter to preview the site locally. Some elements of the page may appear incorrect when not hosted by a server.- Remarks: According to the docfx website, this tool does work on Linux under mono.