Skip to content

Commit 4ffe723

Browse files
committed
docs: Setup Read the Docs
1 parent e026c93 commit 4ffe723

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.readthedocs.yaml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# https://readthedocs.org/projects/shmem4py/builds/
2+
3+
version: 2
4+
5+
formats: all
6+
7+
build:
8+
os: ubuntu-22.04
9+
tools:
10+
python: "3.11"
11+
apt_packages:
12+
- autoconf
13+
- automake
14+
- libtool
15+
- mpich
16+
- libmpich-dev
17+
jobs:
18+
pre_install:
19+
- git clone --depth 1 https://github.com/pmodels/oshmpi --recurse-submodules
20+
- cd oshmpi && ./autogen.sh
21+
- cd oshmpi && ./configure --enable-g CC=/usr/bin/mpicc CXX=/usr/bin/mpicxx --prefix=$READTHEDOCS_VIRTUALENV_PATH
22+
- cd oshmpi && make
23+
- cd oshmpi && make install
24+
25+
python:
26+
install:
27+
- path: .
28+
- requirements: docs/requirements.txt
29+
30+
sphinx:
31+
configuration: docs/conf.py
32+
fail_on_warning: true

docs/requirements.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
sphinx == 6.1.3
2+
sphinx-rtd-theme == 1.2.0
13
enum-tools

0 commit comments

Comments
 (0)