Skip to content

Rework based on suggested changes #191

Rework based on suggested changes

Rework based on suggested changes #191

Workflow file for this run

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.11, '3.10', 3.9, 3.8, 3.7]
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/