Skip to content

DOC: easing building of the docs for contributors #5934

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

Closed
4 of 5 tasks
jorisvandenbossche opened this issue Jan 14, 2014 · 6 comments
Closed
4 of 5 tasks

DOC: easing building of the docs for contributors #5934

jorisvandenbossche opened this issue Jan 14, 2014 · 6 comments
Labels

Comments

@jorisvandenbossche
Copy link
Member

jorisvandenbossche commented Jan 14, 2014

Contributing to the docs (and so building the docs) should be as easy as possible to promote this, which is not always the case (eg see comment here #5530 (comment)). Thanks to @y-p to pushing some things forward yesterday, and I thought of making an overview of all issues related to this:

Any others?

@jorisvandenbossche
Copy link
Member Author

@Kermit666 If you encounter other issues, unclear things, .. while building the docs, certainly share your experiences! So we can make it easier to start contributing to/building the docs for everyone.

@jorisvandenbossche
Copy link
Member Author

Regarding to more complete guide to contributing/building the docs, where should this best go?

@jreback
Copy link
Contributor

jreback commented Jan 14, 2014

+1 on all these as they are all potential landing points

(maybe have the main CONTRIBUTING pull in a pandas/doc one so they are kept in sync?)

@metakermit
Copy link
Contributor

Also, related to problems with building we talked about in #5530 (comment), I'd also want to clarify what are the steps necessary to rebuild pandas after the source has changed (new branch, git pull etc.) and put it clearly in the README.md file. From what I gather (please correct me if I'm wrong):

  • pip install -e . - it will initially build the extensions, link the module in site-packages and install any dependencies. On subsequent code changes it won't rebuild the extensions.
  • python setup.py develop - like the above, only it won't even install the dependencies
  • python setup.py build_ext --inplace - it will only (re)build the extensions - the ipython module wont be linked in site-packages and no dependency will be pulled.

So one should initially pip install -e and then for any future change call build_ext.

@jorisvandenbossche
Copy link
Member Author

@Kermit666 Is this pip install -e necessary? I never did it. Isn't it equivalent to python setup.py develop? (ok, maybe better phrased: you can choose one of the two first steps). So once you have done that initially, only the third step is needed after updating to latest master.

But I agree that it can be explained better in the developer pages.
Can you also have a look at #5996?

@jreback jreback added this to the 0.14.0 milestone Feb 7, 2014
@jreback jreback modified the milestones: 0.15.0, 0.14.0 Apr 9, 2014
@jreback jreback modified the milestones: 0.16.0, Next Major Release Mar 3, 2015
@mroeschke
Copy link
Member

Building the documentation is well documented, and since there's only one issue left, will close this issue and let that issue stand. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants