Skip to content

Docs: Update and proofread library/venv.rst - #124121

Merged
hugovk merged 17 commits into
python:mainfrom
hugovk:docs-update-venv
Sep 26, 2024
Merged

Docs: Update and proofread library/venv.rst#124121
hugovk merged 17 commits into
python:mainfrom
hugovk:docs-update-venv

Conversation

@hugovk

@hugovkhugovk commented Sep 16, 2024

Copy link
Copy Markdown
Member

Content changes:

Everything else is proofreading and formatting, see individual commits for details.

This can be backported to 3.13 and 3.12, but 3.12 doesn't have --without-scm-ignore-files so will need a manual backport.


📚 Documentation preview 📚: https://cpython-previews--124121.org.readthedocs.build/en/124121/library/venv.html

@hugovk

hugovk commented Sep 16, 2024

Copy link
Copy Markdown
MemberAuthor

Additionally, Doc/using/venv-create.inc is only included by Doc/library/venv.rst.

It might be worth moving the .inc contents into the .rst and deleting the .inc. One big benefit is IDE's are better at recognising .rst is reStructuredText and doing syntax highlighting and autocompletion, whereas .inc is shown as a monochrome plaintext file (PyCharm suggested plugins for PHP and Assembly...).

Another benefit is tooling such as Sphinx Lint primarily process .rst files.

What do you think?

@CAM-Gerlach

Copy link
Copy Markdown
Member

It might be worth moving the .inc contents into the .rst and deleting the .inc. [...] What do you think?

Agreed; perhaps there once was a reason for it, e.g. being transcluded in some of the old packaging documentation that no longer exists here. Unless there is some need for it now that I'm missing, it seems worth eliminating the extra complexity.

@CAM-GerlachCAM-Gerlach left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @hugovk ! A handful of additional suggestions for you; otherwise LGTM 👍

Comment threadDoc/library/venv.rst Outdated
Comment threadDoc/library/venv.rst Outdated
Comment threadDoc/library/venv.rst Outdated
Comment threadDoc/library/venv.rst
Comment threadDoc/using/venv-create.inc Outdated
Comment threadDoc/using/venv-create.inc Outdated
Comment threadDoc/using/venv-create.inc Outdated
Comment threadDoc/using/venv-create.inc Outdated
@vsajip

Copy link
Copy Markdown
Member

It might be worth moving the .inc contents into the .rst and deleting the .inc

Agreed. I think at one point it was just the output of the command line help (so you could replace updated help in it), but it's moved beyond that now.

hugovkand others added 2 commits September 23, 2024 20:55
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
@hugovk

Copy link
Copy Markdown
MemberAuthor

Thanks, I've moved the inc into the rst.

@AA-TurnerAA-Turner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Brief read-through

Comment threadDoc/library/venv.rst Outdated
Comment threadDoc/library/venv.rst Outdated
Comment threadDoc/library/venv.rst Outdated
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Comment threadDoc/library/venv.rst Outdated
Comment threadDoc/library/venv.rst Outdated
Comment threadDoc/library/venv.rst Outdated
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
@hugovk
hugovk merged commit 23e812b into python:mainSep 26, 2024
@hugovk
hugovk deleted the docs-update-venv branch September 26, 2024 23:57
@miss-islington-app

Copy link
Copy Markdown

Thanks @hugovk for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 26, 2024
(cherry picked from commit 23e812b)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@miss-islington-app

Copy link
Copy Markdown

Sorry, @hugovk, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 23e812b84ae688a56a1011ed69a0d178c70e35ea 3.12

@bedevere-app

Copy link
Copy Markdown

GH-124644 is a backport of this pull request to the 3.13 branch.

@bedevere-appbedevere-appBot removed the needs backport to 3.13 bugs and security fixes label Sep 26, 2024
hugovk added a commit to hugovk/cpython that referenced this pull request Sep 27, 2024
(cherry picked from commit 23e812b)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@bedevere-app

Copy link
Copy Markdown

GH-124680 is a backport of this pull request to the 3.12 branch.

@bedevere-appbedevere-appBot removed the needs backport to 3.12 only security fixes label Sep 27, 2024
Yhg1s pushed a commit that referenced this pull request Sep 27, 2024
…4644)
Docs: Update and proofread `library/venv.rst` (GH-124121)
(cherry picked from commit 23e812b)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Yhg1s pushed a commit that referenced this pull request Sep 30, 2024
…4680)
* [3.12] Docs: Update and proofread `library/venv.rst` (GH-124121)
(cherry picked from commit 23e812b)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* Remove 3.13 docs
---------
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip issueskip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@hugovk@CAM-Gerlach@vsajip@AA-Turner