Skip to content

Commit

Permalink
Merge pull request #263 from ImperialCollegeLondon/hotfix_readthedocsv2
Browse files Browse the repository at this point in the history
Hotfix for documentation - develop
  • Loading branch information
kccwing authored Oct 18, 2023
2 parents 1fb5400 + 960dcde commit a75fb24
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.10"

python:
install:
- requirements: docs/requirements_rtd

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py

# We recommend specifying your dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
# python:
# install:
# - requirements: docs/requirements.txt
3 changes: 2 additions & 1 deletion docs/requirements_rtd
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
sphinx>=3.0
sphinx>=3.0,<7
ipykernel
nbsphinx
sphinx-rtd-theme==0.5.0
recommonmark

0 comments on commit a75fb24

Please sign in to comment.