Skip to content

Commit

Permalink
MAINT: add Read the Docs configuration (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Apr 29, 2024
1 parent 839b923 commit 01e4eb4
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
".gitpod.*",
".pre-commit-config.yaml",
".prettierignore",
".readthedocs.yml",
".vscode/*",
".vscode/.gitignore",
"codecov.yml",
Expand Down
2 changes: 2 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ replacers:
sort-direction: ascending

template: |
_See all documentation for this version [here](https://ampform-dpd.rtfd.io/en/$NEXT_PATCH_VERSION)._
$CHANGES
_The full changelog as commits can be found [here](https://github.com/ComPWA/ampform-dpd/compare/$PREVIOUS_TAG...$NEXT_PATCH_VERSION)._
21 changes: 21 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 2

sphinx:
builder: dirhtml
configuration: docs/conf.py
fail_on_warning: true

formats:
- htmlzip

build:
os: ubuntu-22.04
tools:
python: "3.9"
apt_packages:
- graphviz
jobs:
post_install:
- curl -LsSf https://astral.sh/uv/install.sh | sh
- |-
/home/docs/.cargo/bin/uv pip install --system -c .constraints/py3.9.txt -e .[doc]

0 comments on commit 01e4eb4

Please sign in to comment.