Skip to content

Commit

Permalink
Use rtd template (old method is deprecated) (#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodmillman committed Jul 2, 2023
1 parent 44d166b commit 3076945
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
31 changes: 31 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Read the Docs configuration file for Sphinx projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"
# You can also specify other tool versions:
# nodejs: "19"
# rust: "1.64"
# golang: "1.19"

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

# Optionally build your docs in additional formats such as PDF and ePub
# formats:
# - pdf
# - epub

# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: requirements/doc.txt
2 changes: 1 addition & 1 deletion RELEASE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Process
- Publish on PyPi::

git clean -fxd
pip install build wheel twine
pip install --upgrade build wheel twine
python -m build --sdist --wheel
twine upload -s dist/*

Expand Down

0 comments on commit 3076945

Please sign in to comment.