Skip to content

Commit 310e553

Browse files
authored
Merge pull request #3 from vincefn/readthedocs
Readthedocs configuration
2 parents 0da41f1 + b09313f commit 310e553

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.readthedocs.yaml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# .readthedocs.yaml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Set the version of Python and other tools you might need
9+
build:
10+
os: ubuntu-20.04
11+
tools:
12+
python: "3.9"
13+
# You can also specify other tool versions:
14+
# nodejs: "16"
15+
# rust: "1.55"
16+
# golang: "1.17"
17+
18+
# Build documentation in the docs/ directory with Sphinx
19+
sphinx:
20+
configuration: doc/manual/source/conf.py
21+
22+
# If using Sphinx, optionally build your docs in additional formats such as PDF
23+
# formats:
24+
# - pdf
25+
26+
# Optionally declare the Python requirements required to build your docs
27+
python:
28+
install:
29+
- requirements: doc/requirements.txt

doc/requirements.txt

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
sphinx_py3doc_enhanced_theme
2+
m2r2
3+
nbsphinx
4+
nbsphinx-link
5+
numpy

0 commit comments

Comments
 (0)