Skip to content

Commit 3076945

Browse files
Use rtd template (old method is deprecated) (numpy#468)
1 parent 44d166b commit 3076945

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

.readthedocs.yaml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Read the Docs configuration file for Sphinx projects
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
# Required
5+
version: 2
6+
7+
# Set the OS, Python version and other tools you might need
8+
build:
9+
os: ubuntu-22.04
10+
tools:
11+
python: "3.11"
12+
# You can also specify other tool versions:
13+
# nodejs: "19"
14+
# rust: "1.64"
15+
# golang: "1.19"
16+
17+
# Build documentation in the "doc/" directory with Sphinx
18+
sphinx:
19+
configuration: doc/conf.py
20+
21+
# Optionally build your docs in additional formats such as PDF and ePub
22+
# formats:
23+
# - pdf
24+
# - epub
25+
26+
# Optional but recommended, declare the Python requirements required
27+
# to build your documentation
28+
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
29+
python:
30+
install:
31+
- requirements: requirements/doc.txt

RELEASE.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Process
4646
- Publish on PyPi::
4747

4848
git clean -fxd
49-
pip install build wheel twine
49+
pip install --upgrade build wheel twine
5050
python -m build --sdist --wheel
5151
twine upload -s dist/*
5252

0 commit comments

Comments
 (0)