summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Remove support for pluralisation during ``gettext`` resource translation ↵James Addison2022-12-291-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#10979) Code related to ``ngettext`` (support for n-ary / plural forms of translated text) doesn't appear to be used, so this commit cleans up the code by removing the ``ngettext`` reference. Detail ------ - ``ngettext`` allows an application to provide a dynamic number (often a count of items, like '5' in ``the linter produced 5 warnings``) to the translation query so that a plurality-relevant message can be retrieved from the catalogue. - ``sphinx`` has previously used this within its own codebase, but no longer does -- ``babel`` command-line extraction [1] is used to retrieve translatable resources from the codebase, and extraction of plural-form keywords is not configured (nor easy to enable, as far as I could tell). - As a result it seems like it may make sense to remove the code. [1]: https://babel.pocoo.org/en/latest/cmdline.html#extract
* | Check NoQA comments with RuffAdam Turner2022-12-292-15/+0
| | | | | | | | | | This uses the special 'RUF100' code to check NoQA comments. https://github.com/charliermarsh/ruff#automating-noqa-directives
* | Adopt the Ruff code linting toolAdam Turner2022-12-296-3/+78
| | | | | | | | https://github.com/charliermarsh/ruff
* | Allow line breaks before binary operatorsAdam Turner2022-12-293-3/+4
| |
* | Break lists in ``.flake8`` to one item per lineAdam Turner2022-12-291-2/+32
| |
* | Rename ``setup.cfg`` to ``.flake8``Adam Turner2022-12-291-0/+0
|/
* Bump versionAdam Turner2022-12-292-3/+24
|
* Bump to 6.0.0 finalv6.0.0Adam Turner2022-12-292-11/+5
|
* Update coverage workflow for Tox 4Adam Turner2022-12-291-1/+2
|
* Update coverage workflow for new configuration locationAdam Turner2022-12-291-1/+1
|
* Add test coverage for 'today_fmt' reference substitution (#10980)James Addison2022-12-292-0/+11
|
* Remove unnecessary conditional import in ``sphinx.ext.napoleon`` (#11043)Antony Lee2022-12-291-16/+11
| | | | | The conditional import could have been useful for the external sphinxcontrib.napoleon (to keep backcompat with older versions of sphinx), but seems just confusing for a builtin extension.
* Migrate coveragepy config into pyproject.toml (#11025)Sergey B Kirpichev2022-12-292-15/+16
| | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Create a ``pydata_sphinx_theme`` section in usage examples (#11046)Tim Hoffmann2022-12-291-7/+22
|
* Copy edit the tutorial (#11049)mikemckiernan2022-12-291-6/+7
| | | | | | - Correct two typos. - Include the ingredient index in the "for example" statement. It's tedious, but the audience is reading to learn.
* Fix example using ``add_config_value`` (#10937)Martin Liška2022-12-201-1/+1
| | | ``add_config_value()`` has mandatory 3 arguments.
* RTD builder: add graphviz depedendency (#11040)Martin Liška2022-12-201-0/+2
|
* Remove redundant instructions from PR templateHugo van Kemenade2022-12-161-10/+0
|
* check for blanket noqas in CIDaniel Eades2022-12-162-0/+15
|
* remove blanket 'noqas'Daniel Eades2022-12-1638-93/+156
|
* Docs: Update devguide link (#11017)Hugo van Kemenade2022-12-161-1/+1
| | | Update devguide link
* doc: Fix typos in contributing.rst (#10961)amyreyespdx2022-12-161-5/+5
|
* Deactivate (provisorily) Python12-dev testing (#11035)Jean-François B2022-12-168-9/+19
| | | | | | | | | | | | | * fix flake8 warnings * Deactivate (provisorily) testing with 3.12-dev (refs: https://github.com/sphinx-doc/sphinx/pull/10995#issuecomment-1330310586 ) * Escape # in tox.ini for tox 4 compatibility ('du-latest' tests) Co-authored-by: Daniel Eades <danieleades@hotmail.com>
* docs: intl.rst: small fixes while translating (#11020)Jérémie Tarot2022-12-071-9/+9
|
* Fix #10984 [DOC] document latex_additional_files behavior with .tex (#10993)Jean-François B2022-11-303-0/+15
|
* Update typing ignores for mypy 0.990Adam Turner2022-11-1316-26/+26
|
* Recommend ``sphinxcontrib.jquery`` in CHANGESAdam Turner2022-11-061-0/+9
|
* Avoid a cramped LaTeX table column in our own documentJean-François B2022-10-301-0/+1
| | | | | | | | | | | | | | This is for the table of the Websupport.get_data() auto-documentation. Somethink similar perhaps \setlength{\tymin}{1.5cm} at least could be a global default; the only reason we have not changed it yet is that perhaps some tables in user projects use really short contents such as letter. (what we would want to avoid is narrow columns allowed by hyphenation of single words; maybe some thinking needed here as \sphinxAtStartPar renders this hyphenation possible but perhaps even upstream LaTeX has now made hyphenation of single words work in table cells).
* Use Sphinx 5.3+ in bug report templateAdam Turner2022-10-281-2/+2
|
* Merge Docutils master tests into the main workflowAdam Turner2022-10-273-35/+4
|
* Automatically cancel CI runs when new commits are pushedAdam Turner2022-10-275-0/+20
|
* Test on Python 3.12 prereleasesAdam Turner2022-10-272-13/+11
|
* doc: Actualize information about generating snowball JS files (#10931)Dmitry Shachnev2022-10-241-9/+8
|
* Bump required requests version to 2.25.0 (#10929)Xuan Wang2022-10-221-1/+1
|
* Bump versionAdam Turner2022-10-171-3/+3
|
* Bump to 6.0.0 beta2v6.0.0b2Adam Turner2022-10-171-1/+1
|
* Run the ``pyupgrade`` toolAdam Turner2022-10-1752-129/+119
|
* Use ``ast.parse`` from the standard libraryAdam Turner2022-10-176-14/+16
|
* Merge ``_py37`` functions in ``util.typing``Adam Turner2022-10-171-245/+54
| | | | | - restify and _restify_py37 - stringify and _stringify_py37
* Prefer ``raise SystemExit`` to ``sys.exit``Adam Turner2022-10-177-14/+8
|
* Link to static JS libraries from Sphinx 5.3 (#10926)Martin Liška2022-10-171-1/+1
| | | This is the last Sphinx minor version to include ``jquery.js`` and ``underscore.js``.
* LaTeX: switch to some nicer defaults for tables and code-blocks (#10924)Jean-François B2022-10-177-34/+53
|
* Update documentation of latex builder (#10925)Jean-François B2022-10-171-35/+32
|
* Bump versionAdam Turner2022-10-161-3/+3
|
* Bump to 6.0.0 beta1v6.0.0b1Adam Turner2022-10-161-3/+3
|
* Simplify development policy (#10921)Adam Turner2022-10-162-124/+82
|
* Revert ``html_codeblock_linenos_style`` removal (#10922)Adam Turner2022-10-165-5/+40
|
* Merge branch '5.x'Adam Turner2022-10-1676-583/+2093
|\ | | | | | | | | | | | | | | # Conflicts: # .github/workflows/main.yml # CHANGES # sphinx/__init__.py # sphinx/domains/c.py
| * Bump to 5.3.0 finalv5.3.0Adam Turner2022-10-162-19/+4
| |
| * Allow sections in object description directives (#10919)Adam Turner2022-10-155-1/+55
| |