Skip to content

CI use numpydoc master when building dev docs - #10066

Merged
jnothman merged 3 commits into
scikit-learn:masterfrom
jnothman:numpydoc-master
Nov 13, 2017
Merged

jnothman merged 3 commits into
scikit-learn:masterfrom
jnothman:numpydoc-master

Conversation

@jnothman

@jnothman jnothman commented Nov 4, 2017 •

Copy link
Copy Markdown
Member

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

lesteve commented Nov 8, 2017

Copy link
Copy Markdown
Member

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

lesteve commented Nov 8, 2017 •

Copy link
Copy Markdown
Member

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

jnothman commented Nov 8, 2017

Copy link
Copy Markdown
Member Author

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

@amueller

amueller commented Nov 8, 2017

Copy link
Copy Markdown
Member

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

jnothman commented Nov 8, 2017

Copy link
Copy Markdown
Member Author

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

lesteve commented Nov 9, 2017

Copy link
Copy Markdown
Member

+1 for merge.

@lesteve

lesteve commented Nov 9, 2017

Copy link
Copy Markdown
Member

+1 for merge.

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

@jnothman

jnothman commented Nov 9, 2017 via email

Copy link
Copy Markdown
Member Author

@lesteve

lesteve commented Nov 9, 2017

Copy link
Copy Markdown
Member

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

jnothman commented Nov 9, 2017 via email

Copy link
Copy Markdown
Member Author

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

Copy link
Copy Markdown
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

jnothman commented Nov 13, 2017 via email

Copy link
Copy Markdown
Member Author

@jnothman

jnothman commented Nov 13, 2017 via email

Copy link
Copy Markdown
Member Author

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