docs: add nbsphinx metadata in notebook 11 to remove from executed no… #3
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: test-doc | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
# Allows to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
# checks that the docs build (it executes the notebooks) | |
test-doc: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout branch ${{ github.head_ref }}" | |
uses: actions/checkout@v4 | |
- name: "Set up Python on Ubuntu" | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.12 | |
- name: "Test doc" | |
run: | | |
sudo apt-get install pandoc | |
python3 -m pip install --upgrade pip setuptools | |
pip install .[docs,recommended,notebooks] | |
cd ./docs | |
make html |