Files
Discord.Net/docs
Chris Johnston b80f0e84e7 docs: Use a relative path for docs index page logo (#1276)
* Use a relative path for docs index page logo

Changes the paths for the logo on the index page of the documentation
to use relative links instead of absolute ones.

The current absolute path is just fine as long as the site
is not hosted under another directory. When opening files locally
(without serving them in docfx) these images will fail to load.
In addition, if these files are served under a directory that is
not the root endpoint (like: `docs.com/stable/`) the images will
also break.

I tested these changes locally using these steps:

- Build & serve docs: `docfx docs/docfx.json --serve`
- Verify that logo shows up on index page using all 3 themes
- Open `docs/_site/index.html`
- Verify logo works on all 3 themes

* Minor grammar fix in DiscordSocketClient
2019-03-16 14:35:45 -04:00
..
2018-09-30 17:44:33 -04:00
2018-09-30 17:44:33 -04:00
2018-09-30 17:44:33 -04:00

Instructions for Building Documentation

The documentation for the Discord.Net library uses DocFX. Instructions for installing this tool can be found here.

  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. Some elements of the page may appear incorrectly when hosted offline.

Please note that if you intend to target a specific version, ensure that you have the correct version checked out.