sphinx/sphinx
Adam Turner 4a3febb69a
Add an option for displaying short `Literal` types (#11109)
The new ``python_display_short_literal_types`` configuration option
for the ``py`` domain controls display of PEP 586 ``Literal`` types.
The 'short' format is inspired by PEP 604, using the bitwise OR operator
to distinguish the possible legal values for the argument.
2023-04-05 13:07:25 +01:00
..
builders Fix error message wording in builders/latex/transforms.py 2023-04-01 00:02:18 +02:00
cmd Remove `sphinx.locale.setlocale` 2023-03-24 01:30:44 +00:00
directives Resolve `flake8-return` errors 2023-02-18 02:16:50 +00:00
domains Add an option for displaying short `Literal` types (#11109) 2023-04-05 13:07:25 +01:00
environment Resolve `flake8-return` errors 2023-02-18 02:16:50 +00:00
ext support for imgmath_latex=tectonic (#11281) 2023-04-03 10:11:06 +02:00
locale Remove `sphinx.locale.setlocale` 2023-03-24 01:30:44 +00:00
pycode Drop OrderedDict 2023-03-05 19:03:06 +00:00
search Adopt `profile = "black" for isort` 2023-01-07 18:31:15 +00:00
templates Happy New Year! 2023-01-01 19:40:01 +00:00
testing Resolve lint errors from Ruff 0.0.259 2023-03-23 21:58:49 +00:00
texinputs Fix #11274: external links may break PDF build if under \sphinxupquote 2023-03-31 18:19:35 +02:00
texinputs_win Fix #9500: LaTeX: Failed to build Japanese document on Windows 2021-09-30 18:00:57 +09:00
themes Remove obsolete HTML keyword `link rel="shortcut"` (#11069) 2023-01-01 22:18:13 +00:00
transforms Consider duplicate names when using image post transforms (#11113) 2023-04-03 08:44:20 +02:00
util Improve static typing in `intersphinx` et al 2023-03-17 17:43:23 +00:00
writers Resolve lint errors from Ruff 0.0.260 2023-03-31 17:52:51 +01:00
__init__.py Bump version 2023-01-10 15:56:43 +00:00
__main__.py Prefer `raise SystemExit to sys.exit` 2022-10-17 15:22:06 +01:00
addnodes.py Replace deprecation tooling with module level `__getattr__` (#11054) 2023-01-08 00:27:19 +00:00
application.py Resolve lint errors from Ruff 0.0.260 2023-03-31 17:52:51 +01:00
config.py Drop OrderedDict 2023-03-05 19:03:06 +00:00
deprecation.py Fix COM812 2023-02-18 01:58:05 +00:00
errors.py Fix COM812 2023-02-18 01:58:05 +00:00
events.py Run pyupgrade (#11070) 2023-01-02 00:01:14 +00:00
extension.py Run pyupgrade (#11070) 2023-01-02 00:01:14 +00:00
highlighting.py Include source in highlighting warnings (#11150) 2023-03-17 15:32:27 +00:00
io.py Fix COM812 2023-02-18 01:58:05 +00:00
jinja2glue.py Fix COM812 2023-02-18 01:58:05 +00:00
parsers.py Run pyupgrade (#11070) 2023-01-02 00:01:14 +00:00
project.py Run pyupgrade (#11070) 2023-01-02 00:01:14 +00:00
py.typed Add py.typed to make PEP-561 compatible 2019-10-31 14:57:30 +00:00
pygments_styles.py Fix COM812 2023-02-18 01:58:05 +00:00
registry.py Resolve `flake8-return` errors 2023-02-18 02:16:50 +00:00
roles.py Fix COM812 2023-02-18 01:58:05 +00:00
setup_command.py Unescape quotation marks where possible 2023-02-18 02:16:50 +00:00
theming.py Resolve `flake8-return` errors 2023-02-18 02:16:50 +00:00
versioning.py Run pyupgrade (#11070) 2023-01-02 00:01:14 +00:00