Skip to content

Commit efdd8c1

Browse files
authored
Merge pull request #118 from maxmind/greg/no-build-sphinx
Stop using build_sphinx
2 parents 72fcfbb + 163f3e1 commit efdd8c1

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

.readthedocs.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
3+
build:
4+
os: ubuntu-22.04
5+
tools:
6+
python: "3.11"

dev-bin/release.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ gh release create --target "$(git branch --show-current)" -t "$version" -n "$not
6363

6464
git push --tags
6565

66-
rm -fr dist
67-
python setup.py build_html sdist bdist_wheel
66+
rm -fr build dist
67+
python -m sphinx -M html ./docs ./build/sphinx -W
68+
python setup.py sdist bdist_wheel
6869
twine upload dist/*

setup.cfg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
[aliases]
2-
build_html = build_sphinx -b html --build-dir docs
3-
41
[flake8]
52
# black uses 88 : ¯\_(ツ)_/¯
63
max-line-length = 88

0 commit comments

Comments
 (0)