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

Fix docs build and add it to CI workflow #328

Merged
merged 4 commits into from
May 3, 2024
Merged

Conversation

JostMigenda
Copy link
Member

Fixes #327.

In addition to fixing the warning itself, this includes measures to more quickly discover similar issues in the future:
This PR now treats warnings as errors in our docs Makefile, consistent with ReadTheDocs’ configuration. It also builds docs as part of our CI workflows, so we notice future issues on every PR and can fix them before merging broken docs into main.

this is consistent with how readthedocs behaves; so make sure we detect issues more quickly
Long argument form `--fail-on-warning` was added in Sphinx 7.3, which doesn’t run on Python 3.8
Copy link
Contributor

@Sheshuk Sheshuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and works for me. Thanks!

@Sheshuk Sheshuk merged commit 34ef063 into main May 3, 2024
10 checks passed
@JostMigenda JostMigenda deleted the JostMigenda/BuildDocs branch May 3, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docs page fails to build
2 participants