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

sphinx-build: fail on warning #7093

Merged
merged 1 commit into from Jul 17, 2020

Conversation

donsizemore
Copy link
Contributor

What this PR does / why we need it: a growing number of warnings during sphinx-build of guides

Which issue(s) this PR closes:

Closes #7092

Special notes for your reviewer: change made per https://documentation.help/Sphinx/invocation.html

Suggestions on how to test this: insert garbage into one of the guide files, expect sphinx-build to fail:

Warning, treated as error: /home/worker/workspace/OdumInstitute-Guides-PR_PR-37/doc/sphinx-guides/source/admin/index.rst:document isn't included in any toctree

Does this PR introduce a user interface change? If mockups are available, please link/include them here: no

Is there a release notes update needed for this change?: no(?)

Additional documentation: none

@djbrooke
Copy link
Contributor

Thanks @donsizemore. This'll force us to write proper docs! :)

@coveralls
Copy link

Coverage Status

Coverage remained the same at 19.655% when pulling 2e25e0e on OdumInstitute:7092_sphinx_fail_on_warning into ace1bab on IQSS:develop.

@pdurbin pdurbin self-assigned this Jul 17, 2020
IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) automation moved this from Code Review 🦁 to QA 🔎✅ Jul 17, 2020
Copy link
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

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

I tried the -W flag locally and I'm already glad we're doing this. It found a real bug (#7099), which I just fixed in a separate pull request.

We could write a little more about this at http://guides.dataverse.org/en/4.20/developers/documentation.html#using-sphinx but I think it's ok to live with it for a few months first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Sphinx: fail on warning
5 participants