Skip to content

Build docs on python3.5 with linkcheck running on python 2.7 #5797

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

Conversation

jenshnielsen
Copy link
Member

This is an alternative to #5338 which runs the yet not python 3.5 compatible linkchecker on python 2.7 but builds the docs with python 3.5

@jenshnielsen jenshnielsen force-pushed the build-docs-on-35-linkcheck branch from 9fa3b3d to 5edf56f Compare January 5, 2016 09:50
@@ -86,8 +86,7 @@ install:

- |
if [[ $BUILD_DOCS == true ]]; then
pip install $PRE numpydoc ipython jsonschema mistune colorspacious
pip install -q $PRE linkchecker
pip install $PRE numpydoc ipython colorspacious
Copy link
Member Author

Choose a reason for hiding this comment

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

I have removed jsonshema and mistune they are not needed anymore. They were only there because ipython had a bud in its dependencies

@mdboom
Copy link
Member

mdboom commented Jan 5, 2016

In terms of catching bugs in and triggered by the examples, would it make sense to build the docs in both Py3 and Py2 (in separate Travis configs so they run in parallel)?

@jenshnielsen
Copy link
Member Author

I have thought about that and it probably would. It's of cause a tradeoff between the time spend on building the docs vs how much more coverage it gives. Perhaps we should only do that after #5597 is merged?

@mdboom
Copy link
Member

mdboom commented Jan 5, 2016

Waiting for #5597 probably makes sense -- not that that requires an IPython patch (merged, but not released) and either a new release of numpydoc or moving to sphinx-napoleon (#5743)

tacaswell added a commit that referenced this pull request Jan 6, 2016
Build docs on python3.5 with linkcheck running on python 2.7
@tacaswell tacaswell merged commit e035cf9 into matplotlib:master Jan 6, 2016
@QuLogic QuLogic added this to the proposed next point release (2.1) milestone Jan 6, 2016
@jenshnielsen jenshnielsen deleted the build-docs-on-35-linkcheck branch January 6, 2016 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants