From 6da3fdce72d2130d610ec86761f2915a08057f42 Mon Sep 17 00:00:00 2001 From: forsyth2 <30700190+forsyth2@users.noreply.github.com> Date: Mon, 4 Apr 2022 10:52:10 -0700 Subject: [PATCH] Fix publish-docs (#207) --- .github/workflows/build_workflow.yml | 2 +- .github/workflows/release_workflow.yml | 2 +- conda/dev.yml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_workflow.yml b/.github/workflows/build_workflow.yml index d970bce4..cea43b4e 100644 --- a/.github/workflows/build_workflow.yml +++ b/.github/workflows/build_workflow.yml @@ -81,7 +81,7 @@ jobs: - name: Install Dependencies run: | - pip install sphinx==3.5.1 sphinx_rtd_theme==0.5.1 sphinx-multiversion==0.2.4 docutils==0.16 + pip install sphinx==3.5.1 sphinx_rtd_theme==0.5.1 sphinx-multiversion==0.2.4 docutils==0.16 jinja2<3.1 - name: Build Sphinx Docs run: | diff --git a/.github/workflows/release_workflow.yml b/.github/workflows/release_workflow.yml index 9f845739..e961cbde 100644 --- a/.github/workflows/release_workflow.yml +++ b/.github/workflows/release_workflow.yml @@ -37,7 +37,7 @@ jobs: # Low risk trade-off with mismatching dependencies in `conda/zstash_dev.yml` - name: Install Dependencies run: | - pip install sphinx==3.5.1 sphinx_rtd_theme==0.5.1 sphinx-multiversion==0.2.4 docutils==0.16 + pip install sphinx==3.5.1 sphinx_rtd_theme==0.5.1 sphinx-multiversion==0.2.4 docutils==0.16 jinja2<3.1 - name: Build Sphinx Docs run: | diff --git a/conda/dev.yml b/conda/dev.yml index 8f121ce3..340a0191 100644 --- a/conda/dev.yml +++ b/conda/dev.yml @@ -21,6 +21,7 @@ dependencies: # Documentation # ================= # If versions are updated, also update in `.github/workflows/workflow.yml` + - jinja2<3.1 - sphinx=3.5.1 - sphinx_rtd_theme=0.5.1 # Need to pin docutils because 0.17 has a bug with unordered lists