+sphinx-doc.org

Closes #350
This commit is contained in:
Max Howell 2023-03-16 14:23:36 -04:00
parent 4b95ae947d
commit a14a8bdbe7

View file

@ -0,0 +1,27 @@
distributable:
url: https://github.com/sphinx-doc/sphinx/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
versions:
github: sphinx-doc/sphinx
dependencies:
python.org: ^3.8
build: |
python-venv.sh {{prefix}}/bin/sphinx-build
cd "{{prefix}}"/bin
ln sphinx-build sphinx-apidoc
ln sphinx-build sphinx-autogen
ln sphinx-build sphinx-quickstart
provides:
- bin/sphinx-apidoc
- bin/sphinx-autogen
- bin/sphinx-build
- bin/sphinx-quickstart
test: |
sphinx-quickstart -pPorject -aAuthor -v1.0 -q .
sphinx-build . ./build
test -f build/index.html