Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Stop using setup.py to generate documentation #565

Merged
merged 1 commit into from
Apr 14, 2023

Conversation

adrienverge
Copy link
Owner

Because setup.py is deprecated, let's switch from:

python setup.py build_sphinx

to:

make -C docs html

to build Sphinx documentation.

The generated HTML files in docs/_build/html are exactly the same (I compared with diff -qr).

Also add -W (turn warnings into errors) to the sphinx-build options to keep the previous behavior.

Because `setup.py` is deprecated, let's switch from:

    python setup.py build_sphinx

to:

    make -C docs html

to build Sphinx documentation.

The generated HTML files in `docs/_build/html` are exactly the same (I
compared with `diff -qr`).

Also add `-W` (turn warnings into errors) to the `sphinx-build` options
to keep the previous behavior.
@coveralls
Copy link

Coverage Status

Coverage: 98.955%. Remained the same when pulling 8d252eb on build/sphinx-without-setup.py into b92fc9c on master.

@coveralls
Copy link

coveralls commented Apr 14, 2023

Coverage Status

Coverage: 99.196%. Remained the same when pulling 8d252eb on build/sphinx-without-setup.py into b92fc9c on master.

@adrienverge adrienverge merged commit 16eae28 into master Apr 14, 2023
@adrienverge adrienverge deleted the build/sphinx-without-setup.py branch April 14, 2023 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants