-
Notifications
You must be signed in to change notification settings - Fork 681
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
[docs/ci] cleanup docs and add ci to check it #485
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure this check actually catches warnings.
- run: | ||
name: Check that documentation builds with no warnings/errors | ||
command: | | ||
make -C docs html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure this actually gives a failing error code if there are only warnings?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes because that's how I fixed the other documentation errors (missing references to labels).
@@ -2,8 +2,8 @@ | |||
# | |||
|
|||
# You can set these variables from the command line. | |||
SPHINXOPTS = -w warnings.txt | |||
SPHINXBUILD = python -msphinx | |||
SPHINXOPTS = -w warnings.txt -n -W |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems useful!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Related issue: Fixes #483
Type of change: other enhancement
Impact: other
Release Notes
This runs CI on the documentation to make sure that documentation changes still build properly (very strict checking and errors as soon as possible).