Repository navigation
DOC make build instructions more coherent in doc/developers/advanced_installation.rst - #32343
Conversation
jeremiedbb
left a comment
There was a problem hiding this comment.
Thanks for the PR @AnneBeyer.
…on information if no separate environment is used
|
Honestly our contributing doc has been annoying me for some time. In an ideal world you would have some steps that you can follow linearly as a new contributor to get your development environment set-up. Right now it's mostly a feeling that things could be way better but it would take me maybe one day working full-time on it to have a better idea how to restructure it. I would be very happy to work on it with @AnneBeyer if you feel like it. Having a set of fresh eyes on this kind of content is actually very useful. Right now our contributing guide is a mix of different things like:
The downside of restructuring if that some maintainers may have some habits and know where to find the relevant information (I don't personally) or open this very long page and do Control-F on it to find relevant content. |
|
This actually summarizes my experience of working through that document quite well 😬 |
| .. prompt:: bash $ | ||
|
|
||
| pip install --editable . --verbose --no-build-isolation --config-settings editable-verbose=true | ||
| Now go back to :ref:`_pip_build`. |
There was a problem hiding this comment.
In the ref we need to remove the leading underscore.
| Now go back to :ref:`_pip_build`. | |
| Now go back to :ref:`pip_build`. |
There was a problem hiding this comment.
I think you would need to do this replacement here and in other places. Right now the doc CI is red mostly because of this.
There was a problem hiding this comment.
Yes, I managed to build the docs locally now and will update the PR once I fixed the formatting.
There was a problem hiding this comment.
For some reason, linking to an item in an enumeration doesn't work with the :ref: syntax, but I found a way to make it work now.
There was a problem hiding this comment.
The links now work fine in the rendered docs, do you have anything else to add @lesteve @jeremiedbb?
|
I agree with the summary in #32343 (comment). Nevertheless I believe that this PR is an improvement on its own that we can merge first before diving into a big refactoring of the doc. |
|
I also copied the reference to |
|
Thanks for working on that, @AnneBeyer, and happy to see this consolidating! This is a bit of a site note, because this would be a new PR, but if you’re interested, you could also add a section to the developing guide on using the new setup for Codespaces. The idea is to offer codespaces as an alternative during new-contributor sprints, especially for people working on Windows. However, this option isn’t documented yet. I think we could put some basic information that this is an option and how to use it (a paragraph or so). Of course, this is just a suggestion, please feel free to ignore if this is not something you want to take on. |
|
Let's merge this since this is an improvement, thanks a lot @AnneBeyer! #32475 will improve the situation and hopefully we can do it in the near future 💪 🤞! |
What does this implement/fix? Explain your changes.
I tried to make the instructions a bit clearer by
pip install ...from the specific instructions as they were all duplicates of the general instruction--config-settingsup to the point where it is used