1
0
mirror of https://github.com/django/django.git synced 2025-09-17 22:49:35 +00:00

7 Commits

Author SHA1 Message Date
David Smith
ef2f16bc48 Refs #36485 -- Added sphinx-lint support and make lint rule for docs.
This adds a `lint.py` script to run sphinx-lint on Django's docs files,
a mathing `lint` target in the `docs/Makefile` and `docs/make.bat`, and
updates `docs/requirements.txt` accordingly.
2025-08-25 10:51:10 -03:00
Mariusz Felisiak
6015bab80e Refs #34140 -- Added configurations to run blacken-docs linter and adjusted docs.
This adds:
- GitHub actions,
- tox configuration,
- pre-commit hook, and
- makefile rules
to run blacken-docs linter.

Co-authored-by: David Smith <smithdc@gmail.com>
2023-03-01 13:02:57 +01:00
sarahboyce
3fb9c74d13 Bumped minimum Sphinx version to 4.5.0 in docs/requirements.txt.
Follow up to ebf25555bbed3e9112d4b726575d60b242daf48a.
2022-09-26 11:18:15 +02:00
Adam Johnson
a45f28f0ec Rewrote strip_tags test file to lorem ipsum. 2022-03-08 14:50:06 +01:00
Adam Johnson
a8c15481f4 Rewrote some references to "master".
Following d9a266d657f66b8c4fa068408002a4e3709ee669.
2022-03-08 14:50:06 +01:00
Carlton Gibson
447b6c866f
Refs #33247 -- Corrected configuration for Read The Docs.
This pins Sphinx version, because the default Sphinx version used by
RTD is not compatible with Python 3.8+.

This also, sets Python 3.8 for RTD builds which is compatible with all
current versions of Django.

Thanks to Mariusz Felisiak for the suggestion.
2021-11-03 18:35:27 +01:00
Mariusz Felisiak
9f125fce79 Used GitHub actions for docs tests.
Co-Authored-By: Tom Forbes <tom@tomforb.es>
2021-02-26 22:12:25 +01:00