Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Docs: Update and proofreadlibrary/venv.rst#124121

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
hugovk merged 17 commits intopython:mainfromhugovk:docs-update-venv
Sep 26, 2024

Conversation

hugovk
Copy link
Member

@hugovkhugovk commentedSep 16, 2024
edited by AA-Turner
Loading

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

savannahostrowski and CAM-Gerlach reacted with heart emoji
@hugovk
Copy link
MemberAuthor

hugovk commentedSep 16, 2024
edited
Loading

Additionally,Doc/using/venv-create.inc is only included byDoc/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 reacted with thumbs up emoji

@CAM-Gerlach
Copy link
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.

Copy link
Member

@CAM-GerlachCAM-Gerlach left a comment
edited
Loading

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 👍

@vsajip
Copy link
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.

CAM-Gerlach and hugovk reacted with thumbs up emoji

hugovkand others added2 commitsSeptember 23, 2024 20:55
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
@hugovk
Copy link
MemberAuthor

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

Copy link
Member

@AA-TurnerAA-Turner left a comment

Choose a reason for hiding this comment

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

Brief read-through

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
@hugovkhugovk merged commit23e812b intopython:mainSep 26, 2024
23 checks passed
@hugovkhugovk deleted the docs-update-venv branchSeptember 26, 2024 23:57
@miss-islington-app
Copy link

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 requestSep 26, 2024
(cherry picked from commit23e812b)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

Sorry,@hugovk, I could not cleanly backport this to3.12 due to a conflict.
Please backport usingcherry_picker on command line.

cherry_picker 23e812b84ae688a56a1011ed69a0d178c70e35ea 3.12

@bedevere-app
Copy link

GH-124644 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelSep 26, 2024
hugovk added a commit to hugovk/cpython that referenced this pull requestSep 27, 2024
(cherry picked from commit23e812b)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

GH-124680 is a backport of this pull request to the3.12 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.12only security fixes labelSep 27, 2024
Yhg1s pushed a commit that referenced this pull requestSep 27, 2024
…4644)Docs: Update and proofread `library/venv.rst` (GH-124121)(cherry picked from commit23e812b)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 requestSep 30, 2024
…4680)* [3.12] Docs: Update and proofread `library/venv.rst` (GH-124121)(cherry picked from commit23e812b)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
Reviewers

@AA-TurnerAA-TurnerAA-Turner approved these changes

@CAM-GerlachCAM-GerlachCAM-Gerlach left review comments

@vsajipvsajipAwaiting requested review from vsajipvsajip is a code owner

Assignees

@hugovkhugovk

Labels
docsDocumentation in the Doc dirskip issueskip news
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

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

[8]ページ先頭

©2009-2025 Movatter.jp