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
Add help for building the devguide documentation #206
Conversation
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA). Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA. This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. Thanks again to your contribution and we look forward to looking at it! |
Maybe we could add a |
Don't answer to my comment about the |
Thanks @cjrh
We have something written in http://cpython-devguide.readthedocs.io/docquality.html#helping-with-the-developers-guide
Instead of adding a new page, maybe try expanding that page.
BUILDING.rst
Outdated
(env) $ pip install -r requirements.txt | ||
(env) $ make html | ||
After the processing completes, the new HTML documents will be available in the ``_build/html`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say "after the build is completed"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I'll move these notes to the page you mentioned, and change the wording.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @cjrh. I like the more explicit directions that you have for working with the devguide code. It will be a nice addition to the page Mariatta references.
@Mariatta I've moved the instructions for virtualenv and using |
To mirror cpython, we could have a |
@zware Good idea! I've found the venv entry in the cpython/Doc Makefile, and I'm learning how to set up dependencies inside makefiles. |
LGTM. Could wrap the changed paragraph in docquality.rst to 80 columns, but that's not a big deal.
As part of local testing this PR, I created a new virtual environment called |
Ok, I checked that section again, it doesn't mention that a venv needs to be created. So the user can ignore that a venv is even being used, because from now on @zware I also wrapped to 80. |
@Mariatta What was the error you got? Was it due to already having a venv activated? |
I think it was because I have an existing virtual environment called |
Hmm, that shouldn't be; can you reproduce it? As is, it should probably just use any venv named |
Ok I cleaned up my venv and tried this again. |
Thanks everyone! |
No description provided.