Skip to content

Commit

Permalink
Merge pull request #35 from meom-group/rtd
Browse files Browse the repository at this point in the history
Rtd
  • Loading branch information
vadmbertr authored Nov 10, 2023
2 parents 2a109f1 + 438ae06 commit fc26700
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 35 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/python-documentation.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Required
version: 2

# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.9"

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

python:
install:
- requirements: docs/requirements.txt
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = "alabaster"
html_theme = "sphinx_rtd_theme"
html_js_files = [
"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
]
Expand Down
3 changes: 3 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sphinx
myst_parser
sphinx-rtd-theme

0 comments on commit fc26700

Please sign in to comment.