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: make htmllive: open browser when ready#113288

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 1 commit intopython:mainfromhugovk:docs-make-htmllive-open-browser
Dec 26, 2023

Conversation

hugovk
Copy link
Member

@hugovkhugovk commentedDec 19, 2023
edited by github-actionsbot
Loading

Likepython/peps#3558 andpython/devguide#1233.

When runningmake -C Docs htmllive, this will open the browser when the docs have been built the first time.

It means you don't need to hunt around for the link in:

make -C Doc htmllivemkdir -p buildBuilding NEWS from Misc/NEWS.d with blurb./venv/bin/sphinx-autobuild -b html -d build/doctrees -j auto  --re-ignore="/venv/" --open-browser --delay 0 -W . build/html[sphinx-autobuild] > sphinx-build -b html -d build/doctrees -j auto -W /Users/hugo/github/python/cpython/main/Doc /Users/hugo/github/python/cpython/main/Doc/build/htmlRunning Sphinx v6.2.1loading pickled environment... donebuilding [mo]: targets for 0 po files that are out of datewriting output...building [html]: targets for 463 source files that are out of dateupdating environment: 0 added, 4 changed, 0 removedreading sources... [100%] whatsnew/changeloglooking for now-outdated files... none foundpickling environment... donechecking consistency... donepreparing documents... donewriting output... [100%] whatsnew/2.2 .. whatsnew/indexgenerating indices... genindex py-modindex donewriting additional pages... download index search opensearch donecopying images... [100%] using/win_installer.pngcopying downloadable files... [100%] includes/tzinfo_examples.pycopying static files... donecopying extra files... donedumping search index in English (code: en)... donedumping object inventory... doneWriting glossary.jsonbuild succeeded.The HTML pages are in build/html.[I 231219 15:20:27 server:335] Serving on http://127.0.0.1:8000[I 231219 15:20:27 handlers:62] Start watching changes[I 231219 15:20:27 handlers:64] Start detecting changes[I 231219 15:20:28 handlers:135] Browser Connected: http://127.0.0.1:8000/

Also makeALLSPHINXOPTS multiline to matchhttps://github.com/python/devguide/blob/78fc0d7aa9fd0d6733d10c23b178b2a0e2799afc/Makefile#L18-L23 andhttps://github.com/python/peps/blob/9779c7efe63ab8dbb8bb673c5346c35505d97065/Makefile#L14-L17 to make it much easier to compare and maintain them.


📚 Documentation preview 📚:https://cpython-previews--113288.org.readthedocs.build/

@hugovkhugovk added docsDocumentation in the Doc dir needs backport to 3.11only security fixes needs backport to 3.12only security fixes labelsDec 19, 2023
@hugovkhugovk merged commit36adc79 intopython:mainDec 26, 2023
@hugovkhugovk deleted the docs-make-htmllive-open-browser branchDecember 26, 2023 12:02
@miss-islington-app
Copy link

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

@bedevere-app
Copy link

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestDec 26, 2023
(cherry picked from commit36adc79)Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
@bedevere-appbedevere-appbot removed the needs backport to 3.12only security fixes labelDec 26, 2023
@bedevere-app
Copy link

GH-113485 is a backport of this pull request to the3.11 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestDec 26, 2023
(cherry picked from commit36adc79)Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
@bedevere-appbedevere-appbot removed the needs backport to 3.11only security fixes labelDec 26, 2023
hugovk added a commit that referenced this pull requestDec 26, 2023
)Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
hugovk added a commit that referenced this pull requestDec 26, 2023
)Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
kulikjak pushed a commit to kulikjak/cpython that referenced this pull requestJan 22, 2024
aisk pushed a commit to aisk/cpython that referenced this pull requestFeb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull requestSep 2, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
docsDocumentation in the Doc dirskip issueskip news
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@hugovk

[8]ページ先頭

©2009-2025 Movatter.jp