| Age | Commit message (Collapse) | Author |
|
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.
|
|
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
|
|
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).
|
|
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.
|
|
Co-authored-by: Tim Schilling <schillingt@better-simple.com>
|