-
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add instructions on manually rebuilding a branch
- Loading branch information
Showing
2 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Manually rebuild a branch | ||
|
||
Docs for [feature and bugfix branches](https://devguide.python.org/versions/) are | ||
automatically built from a cron. | ||
|
||
Manual rebuilds are needed for new security releases, | ||
and to add the end-of-life banner for newly end-of-life branches. | ||
|
||
To manually rebuild a branch, for example 3.11: | ||
|
||
```shell | ||
ssh docs.nyc1.psf.io | ||
sudo su --shell=/bin/bash docsbuild | ||
screen -DUR # Rejoin screen session if it exists, otherwise create a new one | ||
/srv/docsbuild/venv/bin/python /srv/docsbuild/scripts/build_docs.py --branch 3.11 | ||
``` |