Kaydet (Commit) b3f1f59c authored tarafından Roger's avatar Roger Kaydeden (comit) Victor Stinner

Rename Doc/README.txt to Doc/README.rst and add formatting (#104)

* Reformat Doc/README.txt to Doc/README.rst

* Update mention of Doc/README.rst

* Update mention of README.txt to README.rst

* Make line fold

* rstlint ignore Doc/README.rst

* conf.py ignore Doc/README.rst

* Update issue tracker url in Docs/README.rst
üst 91b0e7d0
...@@ -153,7 +153,7 @@ dist: ...@@ -153,7 +153,7 @@ dist:
cp -pPR build/epub/Python.epub dist/python-$(DISTVERSION)-docs.epub cp -pPR build/epub/Python.epub dist/python-$(DISTVERSION)-docs.epub
check: check:
$(PYTHON) tools/rstlint.py -i tools -i venv $(PYTHON) tools/rstlint.py -i tools -i venv -i README.rst
serve: serve:
../Tools/scripts/serve.py build/html ../Tools/scripts/serve.py build/html
......
...@@ -2,20 +2,21 @@ Python Documentation README ...@@ -2,20 +2,21 @@ Python Documentation README
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
This directory contains the reStructuredText (reST) sources to the Python This directory contains the reStructuredText (reST) sources to the Python
documentation. You don't need to build them yourself, prebuilt versions are documentation. You don't need to build them yourself, `prebuilt versions are
available at <https://docs.python.org/dev/download.html>. available <https://docs.python.org/dev/download.html>`_.
Documentation on authoring Python documentation, including information about Documentation on authoring Python documentation, including information about
both style and markup, is available in the "Documenting Python" chapter of the both style and markup, is available in the "`Documenting Python
developers guide <https://docs.python.org/devguide/documenting.html>. <https://docs.python.org/devguide/documenting.html>`_" chapter of the
developers guide.
Building the docs 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 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 Using make
...@@ -108,11 +109,11 @@ see the make targets above). ...@@ -108,11 +109,11 @@ see the make targets above).
Contributing Contributing
============ ============
Bugs in the content should be reported to the Python bug tracker at Bugs in the content should be reported to the
https://bugs.python.org. `Python bug tracker <https://bugs.python.org>`_.
Bugs in the toolset should be reported in the Sphinx bug tracker at Bugs in the toolset should be reported in the
https://www.bitbucket.org/birkenfeld/sphinx/issues/. `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, 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. and we will process your request as soon as possible.
......
...@@ -37,7 +37,7 @@ highlight_language = 'python3' ...@@ -37,7 +37,7 @@ highlight_language = 'python3'
needs_sphinx = '1.2' needs_sphinx = '1.2'
# Ignore any .rst files in the venv/ directory. # Ignore any .rst files in the venv/ directory.
exclude_patterns = ['venv/*'] exclude_patterns = ['venv/*', 'README.rst']
# Options for HTML output # Options for HTML output
......
...@@ -74,7 +74,7 @@ echo. Provided by this script: ...@@ -74,7 +74,7 @@ echo. Provided by this script:
echo. clean, check, serve, htmlview echo. clean, check, serve, htmlview
echo. echo.
echo.All arguments past the first one are passed through to sphinx-build as 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.the documentation for your version of Sphinx for more exhaustive lists
echo.of available targets and descriptions of each. echo.of available targets and descriptions of each.
echo. echo.
......
...@@ -130,8 +130,8 @@ If you would like to contribute to the development of Python, relevant ...@@ -130,8 +130,8 @@ If you would like to contribute to the development of Python, relevant
documentation is available in the `Python Developer's Guide documentation is available in the `Python Developer's Guide
<https://docs.python.org/devguide/>`_. <https://docs.python.org/devguide/>`_.
For information about building Python's documentation, refer to `Doc/README.txt For information about building Python's documentation, refer to `Doc/README.rst
<https://github.com/python/cpython/blob/master/Doc/README.txt>`_. <https://github.com/python/cpython/blob/master/Doc/README.rst>`_.
Converting From Python 2.x to 3.x Converting From Python 2.x to 3.x
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment