Merge pull request #3257 from pajod/patch-no-docs-build-in-sdist

exclude generate html files from source tarballs (sdist)
This commit is contained in:
Benoit Chesneau 2024-08-06 19:38:26 +02:00 committed by GitHub
commit cefa314c62
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 2 deletions

1
.gitignore vendored
View File

@ -7,6 +7,7 @@
.tox
__pycache__
build
docs/_build
coverage.xml
dist
examples/frameworks/django/testing/testdb.sql

View File

@ -10,4 +10,6 @@ recursive-include examples *
recursive-include docs *
recursive-include examples/frameworks *
recursive-exclude * __pycache__
recursive-exclude docs/build *
recursive-exclude docs/_build *
recursive-exclude * *.py[co]

View File

@ -1,5 +1,7 @@
# Makefile for Sphinx documentation
#
# if you want to compare this file to current sphinx defaults, recreate it:
# BUILDDIR=build sphinx-quickstart --sep --extensions=gunicorn_ext --templatedir=_templates --makefile --batchfile --no-use-make-mode --master=index
# You can set these variables from the command line.
PYTHON = python

View File

@ -6,8 +6,8 @@ Requirements
To generate documentation you need to install:
- Python >= 3.4
- Sphinx (http://sphinx-doc.org/)
- Python >= 3.7
- Sphinx (https://www.sphinx-doc.org/)
Generate html