Skip to content

Commit

Permalink
readthedocs: build current ADIOS2
Browse files Browse the repository at this point in the history
- Solely use Conda to install deps
  • Loading branch information
vicentebolea committed Aug 7, 2023
1 parent 24521f4 commit 93dbcac
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 55 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
44 changes: 0 additions & 44 deletions docs/requirements.txt

This file was deleted.

13 changes: 9 additions & 4 deletions readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ version: 2
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 93dbcac

Please sign in to comment.