remove get_html_theme_path #23
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
# Convert notebooks to rst files and build html docs. Any warning building the docs will produce an error. | |
name: Build docs | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.11' | |
- name: Install dependencies | |
run: | | |
sudo apt-get install -y texlive texlive-latex-extra pandoc | |
pip install -r docs/requirements.txt | |
- name: Test build rst | |
run: | | |
python build_rst.py | |
- name: Test build html | |
run: | | |
cd docs | |
make html SPHINXOPTS="-W" |