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

Appearance settings

Latest commit

 

History

History
History
43 lines (41 loc) · 1.1 KB

File metadata and controls

43 lines (41 loc) · 1.1 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Tests
on:
push:
pull_request:
workflow_dispatch:
jobs:
build_doc:
name: Build CPython docs
runs-on: ubuntu-latest
strategy:
matrix:
branch: [origin/main, 3.12, 3.11, '3.10', 3.9, 3.8]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3
- name: Clone docsbuild scripts
run: |
git clone https://github.com/python/docsbuild-scripts/
- name: Set up requirements
run: |
python -m pip install --upgrade pip
python -m pip install -r docsbuild-scripts/requirements.txt
- name: Build documentation
run: >
python ./docsbuild-scripts/build_docs.py
--quick
--build-root ./build_root
--www-root ./www
--log-directory ./logs
--group $(id -g)
--skip-cache-invalidation
--theme $(pwd)
--language en
--branch ${{ matrix.branch }}
- name: Upload
uses: actions/upload-artifact@v3
with:
name: doc-html
path: www/
Morty Proxy This is a proxified and sanitized view of the page, visit original site.