Skip to content

Commit 2ee94ed

Browse files
committed
docs: regenerate input parameters in RTD build
1 parent 69e2b1e commit 2ee94ed

4 files changed

Lines changed: 327 additions & 136 deletions

File tree

.readthedocs.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,40 @@ build:
99
os: ubuntu-22.04
1010
tools:
1111
python: "3.11"
12+
apt_packages:
13+
- build-essential
14+
- cmake
15+
- gfortran
16+
- git
17+
- libfftw3-dev
18+
- liblapack-dev
19+
- libopenblas-dev
20+
- ninja-build
21+
- pkg-config
22+
jobs:
23+
pre_build:
24+
- >
25+
cmake -S . -B build-rtd-docs -G Ninja
26+
-DCMAKE_BUILD_TYPE=Release
27+
-DENABLE_MPI=OFF
28+
-DENABLE_LCAO=OFF
29+
-DUSE_OPENMP=OFF
30+
-DUSE_ELPA=OFF
31+
-DUSE_CUDA=OFF
32+
-DUSE_ROCM=OFF
33+
-DBUILD_TESTING=OFF
34+
-DENABLE_LIBXC=OFF
35+
-DENABLE_LIBRI=OFF
36+
-DENABLE_DFTD4=OFF
37+
-DENABLE_RAPIDJSON=OFF
38+
-DENABLE_MLALGO=OFF
39+
-DENABLE_FLOAT_FFTW=OFF
40+
-DENABLE_CNPY=OFF
41+
-DCOMMIT_INFO=OFF
42+
-DGIT_SUBMODULE=OFF
43+
-DMKLROOT=OFF
44+
- cmake --build build-rtd-docs --target abacus_pw_ser --parallel 2
45+
- ./build-rtd-docs/abacus_pw_ser --generate-parameters-yaml > docs/parameters.yaml
1246

1347
# Build documentation in the "docs/" directory with Sphinx
1448
sphinx:

0 commit comments

Comments
 (0)