-
Notifications
You must be signed in to change notification settings - Fork 356
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
Add configuration for Read the Docs build and pin docs requirements #888
Conversation
be2b333
to
4dbd6d0
Compare
d10747d
to
599502f
Compare
This lets us specify the version of deps we use since currently it is using a very old version of Sphinx for builds.
e40dacb
to
196eff7
Compare
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!
196eff7
to
f663c96
Compare
f663c96
to
9e96310
Compare
@webknjaz Thanks for all your feedback. It's super helpful! |
@samdoran just to clarify — did you explicitly decide not to use |
@webknjaz I did miss that, but it's not in the RTD build command and |
Ok, I think I see the distinction. The warning I was seeing was due to a missing dependency in the virtual environment, not a missing doc reference:
|
9e96310
to
f64c009
Compare
To clarify: adding |
tox.ini
Outdated
commands = | ||
sphinx-build -E -W -d docs/build/doctrees -b html docs docs/build/html | ||
sphinx-build -T -E -W -n --keep-going {tty:--color} -j auto -d docs/build/doctrees -b html docs docs/build/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.
Side question: why is the caching disabled with -E
? Doesn't it conflict with the speed-up that -d
would've caused?
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.
I'm not sure about that one.
Keep the build type as html, though, for easier local navigation.
f64c009
to
c5b3637
Compare
Was |
Yes. And the CI job failed too. Evidently we have some docs issues to resolve. |
@samdoran you can add all reference errors to |
…nsible#888) Due to a recent release of docutils 0.18, our doc build is broken. Add configuration for Read the Docs and pip docs requirements to ensure builds will not spontaneously break in the future. Update tox configuration to match the build done by Read the Docs. Reviewed-by: David Shrewsbury <None> Reviewed-by: Sviatoslav Sydorenko <webknjaz+github/profile@redhat.com> Reviewed-by: Sam Doran <sdoran@redhat.com> Reviewed-by: Shane McDonald <me@shanemcd.com> (cherry picked from commit cd69e4d)
…nsible#888) Due to a recent release of docutils 0.18, our doc build is broken. Add configuration for Read the Docs and pip docs requirements to ensure builds will not spontaneously break in the future. Update tox configuration to match the build done by Read the Docs. Reviewed-by: David Shrewsbury <None> Reviewed-by: Sviatoslav Sydorenko <webknjaz+github/profile@redhat.com> Reviewed-by: Sam Doran <sdoran@redhat.com> Reviewed-by: Shane McDonald <me@shanemcd.com> (cherry picked from commit cd69e4d)
Linking this for history: readthedocs/readthedocs.org#8616 |
Due to a recent release of
docutils
0.18, our doc build is broken.Add configuration for Read the Docs and pip docs requirements to ensure builds will not spontaneously break in the future.
Update tox configuration to match the build done by Read the Docs.