diff options
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Makefile | 2 | ||||
-rw-r--r-- | Doc/README.rst (renamed from Doc/README.txt) | 21 | ||||
-rw-r--r-- | Doc/conf.py | 2 | ||||
-rw-r--r-- | Doc/make.bat | 2 |
4 files changed, 14 insertions, 13 deletions
diff --git a/Doc/Makefile b/Doc/Makefile index eb62df5..94697f9 100644 --- a/Doc/Makefile +++ b/Doc/Makefile @@ -153,7 +153,7 @@ dist: cp -pPR build/epub/Python.epub dist/python-$(DISTVERSION)-docs.epub check: - $(PYTHON) tools/rstlint.py -i tools -i venv + $(PYTHON) tools/rstlint.py -i tools -i venv -i README.rst serve: ../Tools/scripts/serve.py build/html diff --git a/Doc/README.txt b/Doc/README.rst index 4f8e9f8..dcd3d6e 100644 --- a/Doc/README.txt +++ b/Doc/README.rst @@ -2,20 +2,21 @@ Python Documentation README ~~~~~~~~~~~~~~~~~~~~~~~~~~~ This directory contains the reStructuredText (reST) sources to the Python -documentation. You don't need to build them yourself, prebuilt versions are -available at <https://docs.python.org/dev/download.html>. +documentation. You don't need to build them yourself, `prebuilt versions are +available <https://docs.python.org/dev/download.html>`_. Documentation on authoring Python documentation, including information about -both style and markup, is available in the "Documenting Python" chapter of the -developers guide <https://docs.python.org/devguide/documenting.html>. +both style and markup, is available in the "`Documenting Python +<https://docs.python.org/devguide/documenting.html>`_" chapter of the +developers guide. Building the docs ================= -You need to have Sphinx <http://sphinx-doc.org/> installed; it is the toolset +You need to have `Sphinx <http://sphinx-doc.org/>`_ installed; it is the toolset used to build the docs. It is not included in this tree, but maintained -separately and available from PyPI <https://pypi.python.org/pypi/Sphinx>. +separately and `available from PyPI <https://pypi.python.org/pypi/Sphinx>`_. Using make @@ -108,11 +109,11 @@ see the make targets above). Contributing ============ -Bugs in the content should be reported to the Python bug tracker at -https://bugs.python.org. +Bugs in the content should be reported to the +`Python bug tracker <https://bugs.python.org>`_. -Bugs in the toolset should be reported in the Sphinx bug tracker at -https://www.bitbucket.org/birkenfeld/sphinx/issues/. +Bugs in the toolset should be reported in the +`Sphinx bug tracker <https://github.com/sphinx-doc/sphinx/issues>`_. You can also send a mail to the Python Documentation Team at docs@python.org, and we will process your request as soon as possible. diff --git a/Doc/conf.py b/Doc/conf.py index b3f26d5..18aebb6 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -37,7 +37,7 @@ highlight_language = 'python3' needs_sphinx = '1.2' # Ignore any .rst files in the venv/ directory. -exclude_patterns = ['venv/*'] +exclude_patterns = ['venv/*', 'README.rst'] # Options for HTML output diff --git a/Doc/make.bat b/Doc/make.bat index d0b5961..b1a3738 100644 --- a/Doc/make.bat +++ b/Doc/make.bat @@ -74,7 +74,7 @@ echo. Provided by this script: echo. clean, check, serve, htmlview
echo.
echo.All arguments past the first one are passed through to sphinx-build as
-echo.filenames to build or are ignored. See README.txt in this directory or
+echo.filenames to build or are ignored. See README.rst in this directory or
echo.the documentation for your version of Sphinx for more exhaustive lists
echo.of available targets and descriptions of each.
echo.
|