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

Run Sphinx in nitpick mode, fix broken cross-references #1575

Merged
merged 2 commits into from
Sep 17, 2018

Conversation

Zac-HD
Copy link
Member

@Zac-HD Zac-HD commented Sep 14, 2018

With enough hyperlinks, the structure of our docs matters much less - users can easily jump around until they find what they need, or simply open the reference to something interesting in another tab for later. That requires our cross-references to actually work though, and hence this pull.

With thanks to Trio, where I spotted the -n flag. The CI trade is bidirectional!

@Zac-HD Zac-HD added the docs documentation could *always* be better label Sep 14, 2018
That is, make -Werror apply to broken cross-references too, and disable build caching so we don't hide errors by not building some file.
@Zac-HD
Copy link
Member Author

Zac-HD commented Sep 17, 2018

Ping @HypothesisWorks/hypothesis-python-contributors - those not at PyCon UK! - for review?

I'd like to get this merged soon, as I've already made another mistake it would have caught and fixing them after the fact is never as satisfying. That was in the release notes for 3.71.6; I've since rebased and fixed this branch so merging will be safe... at least until a similar typo sneaks through!

Copy link
Contributor

@Zalathar Zalathar left a comment

Choose a reason for hiding this comment

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

I haven't inspected the fixups in detail, but the Sphinx changes seem reasonable to me.

@Zac-HD Zac-HD merged commit 57a519c into HypothesisWorks:master Sep 17, 2018
@Zac-HD Zac-HD deleted the check-docs branch September 17, 2018 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs documentation could *always* be better
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants