Skip to content

Commit

Permalink
docs: Read the Docs configuration (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronTackeQC authored Aug 13, 2024
1 parent c56eab9 commit 3908bb9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2
build:
os: ubuntu-20.04
tools:
python: mambaforge-latest
commands:
- mamba install -c conda-forge -c nodefaults pixi
- pixi run -e docs postinstall
- pixi run -e docs docs
- pixi run -e docs readthedocs
sphinx:
configuration: docs/conf.py
formats:
- pdf
1 change: 1 addition & 0 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ sphinx_rtd_theme = "*"
sphinxcontrib-apidoc = "*"
[feature.docs.tasks]
docs = "cd docs && make html"
readthedocs = "rm -rf $READTHEDOCS_OUTPUT/html && cp -r docs/_build/html $READTHEDOCS_OUTPUT/html"

[feature.test.dependencies]
mypy = "*"
Expand Down

0 comments on commit 3908bb9

Please sign in to comment.