summaryrefslogtreecommitdiff
path: root/tests/sphinx_tests
AgeCommit message (Collapse)Author
10 daysFixed #36022 -- Renamed django-admin to django.Ryan Hiebert
This change implements DEP 16: to rename the django-admin command to django. django-admin is kept as an alias. Docs references to the "django-admin" command are updated to "django" or “The django command”. Renamed the `django-admin` Sphinx directive to `cmd`, and the `django-admin-option` directive to `cli-option`. Thanks Johannes Maron, Mike Edmunds, and Jacob Walls for reviews.
2026-10-23Fixed #30949 -- Deprecated django.utils.functional.cached_property.Jacob Rief
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2026-10-14Refs #37212 -- Fixed console tabs bug on shared doctrees.Mike Edmunds
Removed a builder-specific optimization from ConsoleDirective. This fixes a bug where building with shared doctrees (as docs/Makefile does) could result in different output depending on the order of builds. The optimization did not noticeably impact Sphinx build time. This also resolves a RemovedInSphinx11Warning in ConsoleDirective.run() that "'sphinx.environment.BuildEnvironment.app' is deprecated." Thanks to @nessita for review (and for identifying this as a bug, not just a Sphinx deprecation).
2026-10-14Refs #37212 -- Added tests for djangodocs Sphinx extension.Mike Edmunds
Added test cases for djangodocs extension features that weren't yet tested. Added a `build_sphinx()` helper in `SimpleSphinxTestCase` that runs Sphinx on given source text and captures the results. Bumped minimum Sphinx version to 7.3.0, which is where `SphinxTestApp` gained the `verbosity` argument used by `build_sphinx()`. Thanks to @nessita for review and improvements.
2026-09-07Refs #37127 -- Added a version-aware sourcefile Sphinx role.rshide
Co-authored-by: Tim Schilling <schillingt@better-simple.com>