Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CI use numpydoc master when building dev docs #10066

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 3 commits into from
Nov 13, 2017

Conversation

jnothman
Copy link
Member

@jnothman jnothman commented Nov 4, 2017

Only for the current (0.20) cycle have we been relying on the published numpydoc package. As a result we have had to fix a number of issues with numpydoc. I think that, at least for now, we should build the /dev docs with numpydoc master so that we can help test the numpydoc release and its integration here.

I am currently excluding this from PR Circle builds, as I don't want to bother contributors if something fails, but maybe that's unnecessary and we should just use numpydoc master, for now, in all doc builds.

@lesteve
Copy link
Member

lesteve commented Nov 8, 2017

I am currently excluding this from PR Circle builds, as I don't want to bother contributors if something fails, but maybe that's unnecessary and we should just use numpydoc master, for now, in all doc builds.

I am in favour of using numpydoc dev in PRs as well. Otherwise looking at the PR documentation in CircleCI is not a good indication of what the dev doc is going to look like once the PR is merged.

@lesteve
Copy link
Member

lesteve commented Nov 8, 2017

I think that, at least for now, we should build the /dev docs with numpydoc master so that we can help test the numpydoc release and its integration here.

Just to be explicit, I think that we should switch to a released numpydoc version as soon as there is one that has the fixes we need.

@jnothman
Copy link
Member Author

jnothman commented Nov 8, 2017

This also helps test changes in numpydoc which I would like before its release.

@amueller
Copy link
Member

amueller commented Nov 8, 2017

Hm using a stable version of numpydoc for releases seems to clash with wanting to test numpydoc dev.... I think we should use the same version of numpydoc for PRs and doc build. I think moving to stable once that works for us would be good, though... I guess it depends on whether we can ensure that the website builds with stable. And testing in multiple versions of numpydoc seems a bit overkill.

@jnothman
Copy link
Member Author

jnothman commented Nov 8, 2017

Yes, we should move towards stable. But we've never used numpydoc stable until now, and now it's broken for us. So we should be building with something not broken to make sure it is indeed not broken. Merge?

@lesteve
Copy link
Member

lesteve commented Nov 9, 2017

+1 for merge.

@lesteve
Copy link
Member

lesteve commented Nov 9, 2017

+1 for merge.

Actually commented too quickly +1 to have numpydoc master always used (so essentially removing the condition if [[ "$CIRCLE_BRANCH" =~ ^master$ ]]).

@jnothman
Copy link
Member Author

jnothman commented Nov 9, 2017 via email

@lesteve
Copy link
Member

lesteve commented Nov 9, 2017

Well let's check this builds before merging then :)

Can you remind me the things to check in the generated doc? I seem to remember the Attributes section was not correctly rendered, anything else?

@jnothman
Copy link
Member Author

jnothman commented Nov 9, 2017 via email

@jnothman jnothman merged commit 94c5b80 into scikit-learn:master Nov 13, 2017
@qinhanmin2014
Copy link
Member

@jnothman
Seems that there's still something strange in the dev doc
dev doc:
2017-11-13_184619
0.19 doc:
2017-11-13_184640
There's a broken link for each attribute name and the first line is all bold.

@jnothman
Copy link
Member Author

jnothman commented Nov 13, 2017 via email

@jnothman
Copy link
Member Author

jnothman commented Nov 13, 2017 via email

maskani-moh pushed a commit to maskani-moh/scikit-learn that referenced this pull request Nov 15, 2017
jwjohnson314 pushed a commit to jwjohnson314/scikit-learn that referenced this pull request Dec 18, 2017
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