Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various docs improvements #2996

Merged
merged 12 commits into from Nov 28, 2017
Merged

Various docs improvements #2996

merged 12 commits into from Nov 28, 2017

Conversation

The build previously contained warnings like:
```
docs/rest_api.rst:144: WARNING: Title underline too short.
docs/admin.rst:18: WARNING: Could not lex literal_block as "sql". Highlighting skipped.
WARNING: html_static_path entry u'.../docs/_static' does not exist
```
As found by running `make -C docs linkcheck`.
Since there is only ever one build type, so the nested directory is
unnecessary and makes it more annoying to find the built assets.
* Removes the unnecessary initial `make html`, since sphinx-autobuild
performs the initial build itself.
* Enables `--poll` watch mode, since file change detection otherwise
doesn't work in Vagrant.
* Updates the docs to recommend the livereload web server over the
one-off build when working on docs locally.
Since otherwise the page titles contain the word 'prototype':
`- Treeherder prototype documentation`
This means less to both install and run at build time, hopefully
speeding up the build and reducing the chance of races/locking issues.
Most of the existing config (generated by `sphinx-quickstart`) was
either commented out, identical to the defaults or else for build
modes we do not use - and only end up making the config hard to read.
@edmorley edmorley self-assigned this Nov 28, 2017
@edmorley edmorley changed the title Docs improvements (part 1) Various docs improvements Nov 28, 2017
@edmorley edmorley requested a review from camd November 28, 2017 15:56
@edmorley edmorley merged commit 331a39b into master Nov 28, 2017
@edmorley edmorley deleted the docs-improvements-part1 branch November 28, 2017 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants