From 6c96a5356180e6457ead62bd28223387105d89b7 Mon Sep 17 00:00:00 2001 From: Xavier Raynaud Date: Tue, 30 Jan 2024 16:52:12 +0100 Subject: [PATCH] added support for nbsphinx --- .github/workflows/doc.yml | 3 ++- sphinx/conf.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 0c6ec18..13aaeee 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -39,7 +39,8 @@ jobs: uses: ammaraskar/sphinx-action@master with: docs-folder: "sphinx/" - + pre-build-command: "apt-get update -y; apt-get install -y pandoc" + - name: Upload artifacts uses: actions/upload-artifact@v4 with: diff --git a/sphinx/conf.py b/sphinx/conf.py index ba2476e..1a98f28 100644 --- a/sphinx/conf.py +++ b/sphinx/conf.py @@ -35,8 +35,8 @@ extensions = ['sphinxcontrib.globalsubs', 'sphinx.ext.intersphinx', 'sphinx.ext.autosectionlabel', - 'sphinx_design' - ] + 'sphinx_design', + 'nbsphinx'] autosectionlabel_prefix_document = True