Skip to content

[MRG] Enables CircleCI to fail when sphinx warns #15633

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

Merged
merged 24 commits into from
Nov 19, 2019

Conversation

thomasjpfan
Copy link
Member

@thomasjpfan thomasjpfan commented Nov 15, 2019

Closes #6025

Enables CircleCI to fail when sphinx warns

@thomasjpfan thomasjpfan changed the title [NOMRG] Testing circleci [MRG] Enables CircleCI to fail when sphinx warns Nov 16, 2019
@thomasjpfan
Copy link
Member Author

CC @ogrisel @adrinjalali @cmarmo

This is PR is mostly #15355 with a minor change to address #15355 (comment)

Copy link
Contributor

@cmarmo cmarmo left a comment

Choose a reason for hiding this comment

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

LGTM to me: nice and clean.
Just to answer myself: thumb images are embedded in doc/auto_examples/index.rst so I'm still puzzled about the necessity of grepping them.
But this PR needs to be merged. :) Thanks

Copy link
Member

@ogrisel ogrisel left a comment

Choose a reason for hiding this comment

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

LGTM, will merge. Thank you very much @cmarmo and @thomasjpfan.

@ogrisel ogrisel merged commit a723bea into scikit-learn:master Nov 19, 2019
@glemaitre
Copy link
Member

Uhm weird but I think that I am getting some false positive:

#13227
https://84125-843222-gh.circle-artifacts.com/0/doc/_changed.html

@cmarmo
Copy link
Contributor

cmarmo commented Nov 20, 2019

Apparently the thumb thing doesn't work. The EXAMPLES_PATTERN still contains the image name and not the script. @thomasjpfan may I help and change that? Or you have some time for do it yourself?

@glemaitre
Copy link
Member

sed -e 's/_([[:digit:]][[:digit:]][[:digit:]]|thumb).png/.py/')

is not working somehow

@glemaitre
Copy link
Member

Apparently the thumb thing doesn't work. The EXAMPLES_PATTERN still contains the image name and not the script. @thomasjpfan may I help and change that? Or you have some time for do it yourself?

@cmarmo quicker than me :) you might also be quicker to fix it. I let you make a PR and I will review and merge it quickly such that we don't have all the CIs complaining whenever an example is touched.

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.

Make sphinx build without warnings, let circle IO error on warnings
4 participants