| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
(#129097)
Co-authored-by: Filipe Laíns 🇵🇸 <lains@riseup.net>
|
| |
|
|
|
|
| |
GH-125722: Use long options for Sphinx (GH-129039)
(cherry picked from commit 4967fa6a9c0db7ea3ade905d724a04688cfc7a5e)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
|
| |
|
|
|
|
| |
(GH-127357) (#127471)
Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
|
| |
|
|
| |
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
| |
|
|
|
|
| |
Doc: Fix archive filenames for standard builds (GH-124826)
(cherry picked from commit 91e64be731fe42e6b252b95d79d900251388bfc6)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
|
| |
|
|
|
|
| |
Doc: Run HTML and non-HTML daily builds separately (GH-124493)
(cherry picked from commit cce1125574f7b74343afda4bd0030706f67e13df)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
|
| | |
|
| |
|
|
|
|
| |
Fix doctrees directory for the gettext builder (GH-122997)
(cherry picked from commit 315a933a5b3ae4379077096b6852f85a81a7d75f)
Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
| |
Allow `make -C Doc htmllive` to work without manual venv activation
Set PATH to ensure that `sphinx-autobuild` can find `sphinx-build`.
(cherry picked from commit 9a6e2336e4b54fc13064b77826a67b03b3b45133)
Authored-by: Zachary Ware <zach@python.org>
|
| |
|
|
| |
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
| |
|
|
| |
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
|
| |
|
|
|
|
|
|
| |
(#123116)
Docs: Run ``latexmk`` in parallel when creating PDFs (GH-123113)
(cherry picked from commit 79c542b5cc774ba758acc2b2e3b6556934190e34)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
|
| |
|
|
|
|
| |
(GH-122662) (#122669)
Co-authored-by: Libor Martínek <libas@acco.cz>
|
| | |
|
| |
|
|
|
|
| |
(#119622)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
| |
|
|
| |
Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
|
| |
|
|
|
|
| |
(#117040)
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
|
| |
|
|
| |
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
|
| |
|
|
|
|
| |
browser (GH-111900) (#112022)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
|
| |
|
|
|
|
|
|
| |
Remove unused `SPHINXLINT` var from `Doc/Makefile`. (GH-110570)
Remove unused `SPHINXLINT` var.
(cherry picked from commit bdbe43c7d0ad5ebda0232a4ab39689ea79a9733a)
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
|
| |
|
|
|
|
| |
Docs: move sphinx-lint to pre-commit (GH-105750)
(cherry picked from commit bc07c8f096791d678ca5c1e3486cb9648f7a027b)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
They have been replaced by
[sphinx-lint](https://github.com/sphinx-contrib/sphinx-lint).
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Restore default role check in `make check`.
* Options first, then files.
* Update `make.bat` too.
* Add a comment explaining the extra options.
* No reason to ignore the README.rst.
* Enable default-role check in sphinx-lint.
Co-authored-by: Julien Palard <julien@palard.fr>
* Update sphinx-lint default-role check.
* Fix use of the default role in the docs.
* Update make.bat to check for the default role too.
* Fix comment in make.bat.
Co-authored-by: Julien Palard <julien@palard.fr>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-32354)
Also updated `make -C htmlview` so it used a full path with `file://`, because the original didn't open the page (macOS).
For example:
```sh
cd Doc
# Doesn't open anything:
python3 -c "import webbrowser; webbrowser.open('build/html/index.html')"
# Opens the docs page e.g. file:///Users/hugo/github/cpython/Doc/build/html/index.html :
python3 -c "import os, webbrowser; webbrowser.open('file://' + os.path.realpath('build/html/index.html'))"
```
https://bugs.python.org/issue36329
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
[user@localhost]$ make serve # default configuration, no change
python3 ../Tools/scripts/serve.py build/html
Serving build/html on port 8000, control-C to stop
^CShutting down.
[user@localhost]$ make serve SERVE_PORT=8080 # new option
python3 ../Tools/scripts/serve.py build/html 8080
Serving build/html on port 8080, control-C to stop
|
| |
|
|
|
| |
* bpo-42238: [doc] Announce the future removal of make suspicous.
* Add a news entry.
|
| |
|
|
|
| |
html` (GH-27635)
It turned out to be disruptive for downstream distributors.
|
| |
|
|
| |
- venv rule is now conditional, and only does anything if $VENVDIR does not exist
- add rule "clean-venv"
|
| | |
|
| |
|
|
|
| |
It probably helped a lot a while back, but may not be as usefull
today. We'll continue monitoring it before deletion, so true
positives can be migrated to rstlint.
|
| | |
|
| |
|
|
|
|
|
| |
Doc/requirements.txt becomes the reference for packages and package
versions needed to build the Python documentation.
* Doc/Makefile now uses Doc/requirements.txt
* .travis.yml now uses "make env" of Doc/Makefile
|
| |
|
|
| |
setuptools 50.0.2 is now compatible with Python 3.10:
https://github.com/pypa/setuptools/pull/2361
|
| | |
|
| |
|
| |
See https://github.com/pypa/setuptools/pull/2361
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
In the table model used by docutils, the `cols` attribute of `tgroup`
nodes is mandatory, see [1]. It is used in texinfo builder in [2].
[1]: https://www.oasis-open.org/specs/tm9901.htm#AEN348
[2]: https://github.com/sphinx-doc/sphinx/blob/v2.1.2/sphinx/writers/texinfo.py#L1129
* Doc: Add texinfo support to the Makefile
|
| |
|
|
|
| |
The "A4" pdfs were previously the wrong size due to a change in the options in Sphinx 1.5.
See also sphinx-doc/sphinx#5235
|
| |
|
| |
To reflect the one we're using in production.
|
| |
|
| |
Add a new pip install before `sphinx` etc.. because we should use the last version of `pip` and `setuptools`
|
| | |
|
| |
|
|
|
|
|
|
| |
(#12385)
* bpo-36329: Declare the version of Python to use for Tools/scripts/serve.py
* Add the blurb entry
|
| | |
|