Use katex_js_path when pre-rendering #269
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
sphinx-version: '5.*' | |
strategy: | |
matrix: | |
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Set up Sphinx ${{ env.sphinx-version }} | |
run: | | |
python -V | |
python -m pip install --upgrade pip | |
pip install -r tests/requirements.txt | |
pip install "sphinx==${{ env.sphinx-version }}" | |
pip install "jinja2<3.1" | |
- name: Tests | |
run: | | |
python -m sphinx docs docs/_build/ -b html -W -C | |
python -m sphinx docs docs/_build/ -b latex -W |