Skip to content

Commit

Permalink
Merge pull request #3783 from vicentebolea/backport-readthedocs-fixes
Browse files Browse the repository at this point in the history
Backport readthedocs fixes
  • Loading branch information
vicentebolea authored Aug 28, 2023
2 parents 27767cd + f0d1953 commit fc34268
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 12 deletions.
13 changes: 6 additions & 7 deletions docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,16 @@ name: adios2-python-docs

channels:
- conda-forge
- williamfgc

dependencies:
- adios2-openmpi
- breathe==4.33.0
- breathe==4.35.0
- cmake
- docutils==0.17
- python
- sphinx=4
# - funcparserlib>=0.3.6
- libpython-static
- numpy
- pip
- sphinx=5.3
- pip:
- blockdiag==3.0.0
- sphinxcontrib-blockdiag==3.0.0
- sphinx_rtd_theme==1.0.0
- sphinx_rtd_theme==1.1.1
19 changes: 14 additions & 5 deletions readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
# .readthedocs.yml
version: 2

conda:
conda:
environment: docs/environment.yml

python:
version: 3.7
system_packages: true

build:
os: "ubuntu-22.04"
tools:
python: "miniconda3-4.7"
jobs:
pre_install:
- cmake -B build -S . -DADIOS2_USE_PYTHON=ON -DBUILD_TESTING=OFF -DADIOS2_BUILD_EXAMPLES=OFF
- cmake --build build
- cmake --install build --prefix "$HOME/.local"
formats:
- pdf
- epub

0 comments on commit fc34268

Please sign in to comment.