Skip to content

Commit

Permalink
Create .readthedocs.yml (#29)
Browse files Browse the repository at this point in the history
* Create .readthedocs.yml

* Adding sphinx requirements.txt

* do not install as package

* requirements path

* Update .readthedocs.yml
  • Loading branch information
valentina-s authored Oct 1, 2024
1 parent 9d4d842 commit 5eb9c87
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 2

build:
os: ubuntu-22.04
tools:
python: "3.11"
jobs:
pre_build:
# Generate the Sphinx configuration for this Jupyter Book so it builds.
- "jupyter-book config sphinx docs/"

python:
install:
- requirements: docs/requirements.txt

sphinx:
builder: html
fail_on_warning: false
4 changes: 4 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
jupyter-book
matplotlib
numpy
sphinx-inline-tabs
sphinx-examples
sphinx-proof
sphinx-hoverxref

0 comments on commit 5eb9c87

Please sign in to comment.