Skip to content

Treat sphinx warnings as errors - #669

Merged
asfgit merged 11 commits into
apache:trunkfrom
Kami:sphinx_docstring_fixes
Dec 30, 2015
Merged

Treat sphinx warnings as errors#669
asfgit merged 11 commits into
apache:trunkfrom
Kami:sphinx_docstring_fixes

Conversation

@Kami

@Kami Kami commented Dec 30, 2015

Copy link
Copy Markdown
Member

This pull request re-enabled features which treats sphinx warnings as errors which cause build to fail.

We had this feature enabled in the past, but at some point we disabled it (probably when we enabled sphinx auto doc) so we accumulated a bunch of documentation and docstring related debts since warnings didn't cause build to fail and people simply ignored those issues.

Future TODO (up for grabs):

  • Fix all the docstring related issues
  • Fix all the cross reference related issue (more than one target found for cross-reference messages)

Kami added 2 commits December 30, 2015 15:49
For now, we just want to treat, non-docstring related warnings as errors.
Comment thread docs/conf.py

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes, this is pretty darn awful, but we have too much docstring related debt right now (sadly, I don't have one week to spend fixing all those docstring related issues).

I want to start with at least fix non-docstring related issues and treating those issues as fatal going forward.

@Kami Kami changed the title [WIP] Treat sphinx warnings as errors Treat sphinx warnings as errors Dec 30, 2015
@asfgit
asfgit merged commit 5e5f7a5 into apache:trunk Dec 30, 2015
@Kami

Kami commented Dec 30, 2015

Copy link
Copy Markdown
Member Author

Alright, merged.

Going forward, all the sphinx warnings are not treated as error and will fail the build - this means they need to be fixed before merging changes into trunk.

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.

2 participants