Skip to content

Update to Sphinx 8 #3068

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: 2027
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 31 additions & 10 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,17 @@ env:

jobs:
build-pdf:
strategy:
matrix:
python-version: [3.11, 3.13]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install Python Dependencies
run: |
Expand All @@ -29,19 +32,22 @@ jobs:
- name: Archive PDF
uses: actions/upload-artifact@v4
with:
name: frc-docs-pdf
name: frc-docs-pdf-python${{ matrix.python-version }}
path: build/latex/firstroboticscompetition.pdf
if-no-files-found: error

build-html:
strategy:
matrix:
python-version: [3.11, 3.13]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install Python Dependencies
run: |
Expand All @@ -56,11 +62,14 @@ jobs:
- name: Archive HTML
uses: actions/upload-artifact@v4
with:
name: frc-docs-html
name: frc-docs-html-python${{ matrix.python-version }}
path: build/html/
if-no-files-found: error

build-html-translation:
strategy:
matrix:
python-version: [3.11, 3.13]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
Expand All @@ -75,7 +84,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install Python Dependencies
run: |
Expand All @@ -102,7 +111,7 @@ jobs:
# uses: tj-actions/changed-files@v41
# - uses: actions/setup-python@v5
# with:
# python-version: 3.9
# python-version: 3.11
# - name: Install Dependencies
# run: pip install -r source/requirements.txt
# - name: Run linkcheck on .rst files
Expand All @@ -121,12 +130,15 @@ jobs:
# fi

check-linting:
strategy:
matrix:
python-version: [3.11, 3.13]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
pip install -r source/requirements.txt
Expand All @@ -135,12 +147,15 @@ jobs:
make lint

check-image-size:
strategy:
matrix:
python-version: [3.11, 3.13]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
pip install -r source/requirements.txt
Expand All @@ -160,6 +175,9 @@ jobs:
fail_level: "error"

check-redirects:
strategy:
matrix:
python-version: [3.11, 3.13]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
Expand All @@ -168,7 +186,7 @@ jobs:
git fetch origin main --depth=1
- uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
pip install -r source/requirements.txt
Expand All @@ -180,12 +198,15 @@ jobs:
[[ $(<source/redirects.txt) == $(git show origin/main:source/redirects.txt)* ]] || { echo "Error: redirects.txt can only be appended to. Lines cannot be modified or deleted."; exit 1; }

check-formatting:
strategy:
matrix:
python-version: [3.11, 3.13]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: ${{ matrix.python-version }}
- name: Install Python Dependencies
run: |
pip install -r source/requirements.txt
Expand Down
Loading