Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport readthedocs fixes #3783

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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