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

DM-37783: Add -W flag to package-docs build / stack-docs build #164

Merged
merged 9 commits into from
Jun 23, 2023

Conversation

jonathansick
Copy link
Member

Adds a -W / --warning-is-error flag to the package-docs build and stack-docs build commands for Science Pipelines documentation builds. This flag causes Sphinx to treat warnings as errors, which is useful for CI builds.

Will be released as 0.8.0

@jonathansick jonathansick force-pushed the tickets/DM-37783 branch 2 times, most recently from 34078da to bd85d6e Compare June 21, 2023 21:56
This option trigger's Sphinx's own -W option, which causes warnings to
be treated as errors. This may be useful for CI implementations for
package-docs build where a documentation set should be able to build
without warnings, and any warnings should cause a CI run to fail.
This enables Sphinx's nitpicky mode that raises warnings for
unresolvable links and similar issues.
This version introduced a Sphinx constraint >= 7, which conflicts with a
constraint in sphinx-design 0.4.1. We'll use this pin for now and
hopefully we can drop it when sphinx_design updates.
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.

None yet

1 participant