Skip to content

Commit

Permalink
Lol dont build out of source docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm001 committed Jun 30, 2024
1 parent db05689 commit 7b84684
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,24 +110,23 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
repository: 'PhotonVision/photonvision-docs.git'
ref: master
- uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.11'
- name: Install dependencies
working-directory: docs
run: |
python -m pip install --upgrade pip
pip install sphinx sphinx_rtd_theme sphinx-tabs sphinxext-opengraph doc8
pip install -r requirements.txt
- name: Build the docs
working-directory: docs
run: |
make html
- uses: actions/upload-artifact@v4
with:
name: built-docs
path: build/html
name: docs/built-docs
path: docs/build/html
build-photonlib-host:
env:
MACOSX_DEPLOYMENT_TARGET: 13
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.11
- name: Install wpiformat
run: pip3 install wpiformat==2024.37
- name: Run
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/photonvision-docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PhotonVision Sphinx Documentation
name: PhotonVision Sphinx Documentation Checks

on:
push:
Expand All @@ -21,7 +21,7 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '3.11'

- name: Install and upgrade pip
run: python -m pip install --upgrade pip
Expand All @@ -34,7 +34,8 @@ jobs:
- name: Check links
working-directory: docs
run: make linkcheck || true
run: make linkcheck
continue-on-error: true

- name: Check lint
working-directory: docs
Expand Down

0 comments on commit 7b84684

Please sign in to comment.