summaryrefslogtreecommitdiff
path: root/docs/_ext/djangodocs.py
Commit message (Collapse)AuthorAgeFilesLines
* Removed unnecessary workarounds for Sphinx < 4.3.0.Sarah Boyce2023-05-041-7/+2
| | | Unnecessary since ebf25555bbed3e9112d4b726575d60b242daf48a.
* Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak2022-02-071-1/+2
|
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-96/+104
|
* Fixed crash building HTML docs since Sphinx 4.3.Mariusz Felisiak2021-11-171-2/+8
| | | See https://github.com/sphinx-doc/sphinx/commit/dd2ff3e911c751c06c81f494128fba56d8ecbafd.
* Refs #32956 -- Corrected spelling of "gray".David Smith2021-08-021-1/+1
|
* Made default_role_error use logger.Mariusz Felisiak2020-06-031-6/+7
| | | | | | This prevents raising errors for translated docs, see https://github.com/django/djangoproject.com/issues/997 Follow up to 1cdfe8d91215eefaa18c398069dd9c6879a9511d.
* Changed `'%s' % value` pattern to `str(value)`.Nick Pope2020-05-041-1/+1
|
* Sorted imports in docs/_ext/djangodocs.py.Tim Graham2020-04-141-2/+1
|
* Fixed CodeBlock deprecation warning on Sphinx 2.1+.Mariusz Felisiak2020-04-071-1/+1
|
* Prevented (and corrected) single backtick usage in docs.Adam Johnson2020-04-011-1/+14
|
* Fixed #31025 -- Fixed highlightlinenothreshold deprecation warning on Sphinx ↵Baptiste Mispelon2019-11-251-4/+1
| | | | 1.8+.
* Made versionadded/versionchanged annotations without a content end with ".".Sergey Fedoseev2019-11-211-1/+1
| | | Regression in d2afa5eb2308e672b6313876856e32e2561b90f3.
* Fixed crash building translated docs since Sphinx 1.8.Tim Graham2018-10-011-0/+2
|
* Updated contributing tutorial's virtual environment instructions.Thomas Grainger2018-09-191-0/+2
|
* Fixed env.note_versionchange() deprecation warning in Sphinx 1.8.Tim Graham2018-09-111-1/+6
|
* Removed usage of deprecated sphinx APIs.Tim Graham2018-09-101-2/+4
|
* Refs #20910 -- Replaced snippet directive with code-block.Curtis Maloney2018-09-101-140/+1
|
* Bumped minimum Sphinx version to 1.6.0.Tim Graham2018-03-221-5/+1
|
* Used console directive in "Writing documentation".Roy Zwambag2018-03-071-0/+3
|
* Fixed #28343 -- Add an OS chooser for docs command line examples.Ramiro Morales2018-01-201-0/+176
|
* Fixed #28860 -- Removed unnecessary len() calls.Дилян Палаузов2017-12-041-1/+1
|
* Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne2017-06-011-2/+1
|
* Removed usage of deprecated sphinx.util.compat.Directive.Tim Graham2017-05-241-2/+2
|
* Fixed docs build with Sphinx 1.6.Dmitry Shachnev2017-05-241-3/+6
|
* Refs #23919 -- Replaced super(ClassName, self) with super() in docs.chillaranand2017-01-251-1/+1
|
* Fixed missing versionadded/changed annotations on docs.djangoproject.com.Tim Graham2016-12-141-0/+1
| | | | Fixed a regression in bacdfbf3d1eb23ff8e8110681728a5b467443446.
* Removed deprecated html_translator_class sphinx config option.Tim Graham2016-12-051-0/+1
|
* Fixed #27463 -- Fixed E741 flake8 warnings.Ramin Farajpour Cami2016-11-141-4/+8
|
* Added copy-to-clipboard support for all code snippetsBaptiste Mispelon2016-07-061-1/+1
|
* Fixed #23868 -- Added support for non-unique django-admin-options in docs.Tim Graham2016-01-141-37/+4
| | | | | | | Also documented missing short command line options to fix #24134. This bumps the minimum sphinx version required to build the docs to 1.3.4. Thanks Simon Charette for review.
* Declared Sphinx extensions safe for parallel reading.Tim Graham2016-01-131-0/+1
|
* Removed a docs workaround for an old Sphinx version.Tim Graham2015-11-161-13/+1
|
* Fixed #23751 -- Fixed code snippet formatting in docs PDF.Tim Graham2015-11-161-11/+19
| | | | Thanks Graham Wideman for the patch.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-4/+3
|
* Fixed #23067 -- Updated docs to use django-adminChristoph Heer2014-07-301-1/+1
|
* Removed duplicate "Deprecated in Django A.B" text in docs.Tim Graham2014-06-061-6/+7
| | | | sphinx 1.2+ adds this text itself.
* Fixed #21869 -- Fixed docs building with Sphinx 1.2.1.Tim Graham2014-01-241-2/+4
| | | | Thanks tragiclifestories for the report.
* Fixed E127 pep8 warnings.Loic Bistuer2013-12-141-2/+2
|
* Removed a u'' prefix that prevented the docs from building on Python 3.2.Tim Graham2013-12-061-1/+1
|
* Replace use of dict.has_key with `key in dict`Alex Gaynor2013-11-261-2/+2
|
* Fixed the remaining E302 violations int eh django packageAlex Gaynor2013-11-021-0/+2
|
* Fixed flake8 E241Boryslav Larin2013-11-021-24/+25
|
* Fixed E221 pep8 warnings.Tim Graham2013-10-221-8/+8
|
* Fixed #20910 -- Added a "snippet" sphinx directive to allow prefixing a ↵M Nasimul Haque2013-10-141-0/+134
| | | | | | filename. Thanks Marc Tamlyn for the suggestion.
* Added a bugfix in docutils 0.11 -- docs will now build properly.Tim Graham2013-07-311-0/+6
|
* Replaced `and...or...` constructs with PEP 308 conditional expressions.Ramiro Morales2013-05-261-1/+1
|
* Adapted uses of versionchanged/versionadded to the new form.Juan Catalano2013-04-201-1/+1
| | | | Refs #20104.
* Removed unused imports.Juan Catalano2013-04-201-3/+1
|
* Fixed #20104 -- Changed VersionDirective in order to avoid ambiguity.Juan Catalano2013-04-201-6/+10
| | | | | | | | | As explained in ticket #20104, the use of versionchanged/versionadded was confusing. To solve this ambiguity these directives no longer accept a second argument but now they only receive the version number (1st arg) and then a content with the proper comment.
* Fixed spelling errorsGavin Wahl2013-03-281-1/+1
|