Skip to content

Commit

Permalink
Merge branch 'main' into manual
Browse files Browse the repository at this point in the history
  • Loading branch information
miriamsr authored Aug 3, 2024
2 parents 27685a9 + 38a3d6b commit 39af77f
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,24 @@ jobs:

- name: image-check
run: make -C docs/ imagecheck

check-redirect:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Fetch origin/main
run: git fetch origin main --depth=1

- name: Python Setup
uses: actions/setup-python@v4
with:
python-version: 3.9
cache: 'pip'

- name: Python Install Dependencies
run: pip install -r docs/requirements.txt

- name: check-redirect
run: make -C docs/ rediraffecheckdiff
2 changes: 2 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ git+https://github.com/FIRST-Tech-Challenge/ftcdocs-helper@main#subdirectory=coo
sphinx-sitemap==2.3.0
python-git-info==0.8.3
sphinxcontrib-mermaid==0.9.2
sphinxext-linkcheckdiff==0.1.0
sphinxext-rediraffe==0.2.7
4 changes: 4 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
'sphinxcontrib.googleanalytics',
'sphinxcontrib.cookiebanner',
'sphinxcontrib.mermaid',
"sphinxext.rediraffe",
]

autosectionlabel_prefix_document = True
Expand Down Expand Up @@ -356,3 +357,6 @@ def setup(app):
# Add support for translations
gettext_compact = False
locale_dirs = ["locale/"]

rediraffe_redirects = "redirects.txt"
rediraffe_branch = "origin/main"
Empty file added docs/source/redirects.txt
Empty file.

0 comments on commit 39af77f

Please sign in to comment.