diff --git a/.github/workflows/sphinx.yml b/.github/workflows/sphinx.yml index 2f38bdf48..f9253e51f 100644 --- a/.github/workflows/sphinx.yml +++ b/.github/workflows/sphinx.yml @@ -30,9 +30,8 @@ jobs: - name: Install dependencies run: | source /builds/miniconda3/etc/profile.d/conda.sh + conda env update -f conda-env/corese-core-documentation.yml conda activate corese-core-documentation - python -m pip install --upgrade pip - pip install -r docs/requirements.txt - name: Build Sphinx documentation with multiversion run: | diff --git a/conda-env/corese-core-documentation.yaml b/conda-env/corese-core-documentation.yaml new file mode 100644 index 000000000..f07d26278 --- /dev/null +++ b/conda-env/corese-core-documentation.yaml @@ -0,0 +1,19 @@ +name: corese-core-documentation +channels: + - conda-forge +dependencies: + - pip + - pip: + - sphinx>=7.1.2 + - pydata_sphinx_theme>=0.14.4 + - babel>=2.9 + - packaging>=21.0 + - docutils<0.21,>=0.18.1 + - Jinja2>=3.0 + - sphinx-design==0.5.0 + - myst-parser==2.0.0 + - sphinxcontrib-mermaid==0.9.2 + - breathe==4.35.0 + - exhale==0.3.7 + - sphinx-copybutton>=0.5.0 + - sphinx-multiversion>=0.2.4 \ No newline at end of file