Commit Graph

18114 Commits

Author SHA1 Message Date
Harumi Kuno
26be2d1a77 skip empty description
Don't print the description of a command as a subtitle
when generating a manpage if the description is empty.
This commit addresses sphinx-doc#9430

Signed-off-by: Harumi Kuno <harumi.kuno@hpe.com>
2021-08-30 08:33:19 -07:00
Daniel Hahler
e89de152d8 ci(tox.ini): add COLORTERM to passenv
This is required for [kitty](https://sw.kovidgoyal.net/kitty/), which
uses TERM=xterm-kitty, which is not detected as being a colored
terminal, without its `COLORTERM=truecolor` also being passed [1].

1: d194e0f490/sphinx/util/console.py (L70-L71)
2021-08-30 10:32:30 +02:00
Takeshi KOMIYA
9ed054279a
Merge pull request #9549 from tk0miya/9524_SphinxTestApp_outdir
Close #9524: test: SphinxTestApp can take ``builddir`` as an argument
2021-08-29 23:54:31 +09:00
Takeshi KOMIYA
6fb8d1c806
Merge branch '4.x' into 9524_SphinxTestApp_outdir 2021-08-29 23:18:56 +09:00
Takeshi KOMIYA
a4a0b97835
Merge pull request #9569 from jakelishman/fix-autosummary-sections
Fix #9568: autosummary: summarise overlined sectioned headings correctly
2021-08-29 17:17:52 +09:00
Takeshi KOMIYA
baacc26b29
Merge pull request #9565 from JustinTArthur/9564-fix_highlighted_code_role_smartquotes
Check complete ancestry of text nodes for smartquotes eligibility.
2021-08-29 16:56:16 +09:00
Takeshi KOMIYA
760820f5ed Merge branch '4.x' into fix-autosummary-sections 2021-08-29 16:47:43 +09:00
Takeshi KOMIYA
276f943610 Merge branch '4.x' into 9564-fix_highlighted_code_role_smartquotes 2021-08-29 16:43:50 +09:00
Takeshi KOMIYA
5c3eebccdd
Merge pull request #9587 from sphinx-doc/bot/pull-translations
Update message catalogs
2021-08-29 16:19:20 +09:00
Takeshi KOMIYA
a0fbe2f7b7 Merge branch '4.1.x' into 4.x 2021-08-29 16:02:45 +09:00
Takeshi KOMIYA
a1bb4a81ce Fix #9589: autodoc: typing.Annotated has wrongly been rendered
At the HEAD of 3.10, the implementation of `typing.Annotated` has
been changed to have __qualname__.
2021-08-29 16:02:35 +09:00
Takeshi KOMIYA
e33134f6ba
Merge pull request #9590 from tk0miya/9589_Annotated
Fix #9589: autodoc: typing.Annotated has wrongly been rendered
2021-08-29 16:02:08 +09:00
Takeshi KOMIYA
b82d3ef05a Fix #9589: autodoc: typing.Annotated has wrongly been rendered
At the HEAD of 3.10, the implementation of `typing.Annotated` has
been changed to have __qualname__.
2021-08-29 15:51:39 +09:00
tk0miya
d6a340fc1a Update message catalogs 2021-08-29 00:09:46 +00:00
Takeshi KOMIYA
f127a2ff5d
Merge pull request #9570 from sphinx-doc/bot/pull-translations
Update message catalogs
2021-08-23 02:22:45 +09:00
tk0miya
f62a33a8b6 Update message catalogs 2021-08-22 00:09:09 +00:00
Takeshi KOMIYA
95648432c4 Merge branch '4.1.x' into 4.x 2021-08-21 21:03:18 +09:00
Takeshi KOMIYA
9f46b1fa67
Merge pull request #9557 from tk0miya/pygments
Fix test: Tests has been broken with pygments-2.10+
2021-08-21 21:02:50 +09:00
Justin Turner Arthur
adcda091d9 Check complete ancestry of text nodes for smartquotes eligibility.
Fixes sphinx-doc/sphinx#9564.
2021-08-21 00:20:04 -05:00
Jakob Lykke Andersen
b174b77a14
Merge pull request #9553 from jakobandersen/cpp_inner_paramlist_init
C++, fix parsing of defaulted function parameters that are function pointers
2021-08-20 19:16:27 +02:00
Jakob Lykke Andersen
73c1520923 C++, fix parsing of defaulted fp function params 2021-08-20 18:17:42 +02:00
Jakob Lykke Andersen
5a3e119d5e
Merge pull request #9547 from jakobandersen/c_gnu_type_spec
C, update fundamental types, including GNU extensions
2021-08-20 18:15:49 +02:00
Jake Lishman
9d7fa75d4a
Fix #9568: autosummary: summarise overlined sectioned headings correctly
Add an extra step in the autosummary summariser algorithm to get a valid
text form of section headings.  This fixed issues when the first element
of a summarised document was a section heading with overlines, such as

    =======
    Heading
    =======

Previously, the first line would be taken verbatim, which caused parse
errors in the rest of the document.
2021-08-20 17:05:58 +01:00
Jakob Lykke Andersen
4b62b6cb82 C, C++, parse <width> <complex/imaginary> 2021-08-20 17:15:34 +02:00
Jakob Lykke Andersen
a4371ea94c C++, update fundamental type handling a la in C 2021-08-20 17:15:34 +02:00
Jakob Lykke Andersen
cf091f7bb6 C, add short int, and treat spaced types properly 2021-08-20 17:15:34 +02:00
Jakob Lykke Andersen
e2ae287f1c C, add fract and accum 2021-08-20 17:15:34 +02:00
Jakob Lykke Andersen
c5962b70bd C, update fundamental types, including GNU exts
Fixes sphinx-doc/sphinx#9535
2021-08-20 17:15:34 +02:00
Takeshi KOMIYA
bde6c8d2ef Fix test: Tests has been broken with pygments-2.10+ 2021-08-19 23:26:42 +09:00
Takeshi KOMIYA
8fd4373d3a
Merge pull request #9546 from tk0miya/9267_JS_loaded_twice
Fix #9267: html theme: CSS and JS files added by theme were loaded twice
2021-08-16 23:32:20 +09:00
Takeshi KOMIYA
8afe6ed038
Merge pull request #9550 from sphinx-doc/bot/pull-translations
Update message catalogs
2021-08-15 12:23:41 +09:00
tk0miya
2a3cdfd701 Update message catalogs 2021-08-15 00:09:15 +00:00
Takeshi KOMIYA
a4b540f61f Close #9524: test: SphinxTestApp can take `builddir` as an argument 2021-08-15 02:45:32 +09:00
Takeshi KOMIYA
12cf4ebc1f
Merge pull request #9545 from aaugustin/4.x
Update link to OpenSearch.
2021-08-14 22:37:34 +09:00
Takeshi KOMIYA
3e5729b057 Fix #9267: html theme: CSS and JS files added by theme were loaded twice 2021-08-14 21:10:56 +09:00
Takeshi KOMIYA
29d0205238
Merge pull request #9543 from kanderso-nrel/docs_typo
Fix typo in numfig_format documentation
2021-08-14 19:11:11 +09:00
Aymeric Augustin
56add529ec
Update link to OpenSearch.
Amazon repurposed the opensearch.org domain.

It is now hosting their ElasticSearch fork.
2021-08-14 11:49:34 +02:00
Kevin Anderson
cfd5536b27 fix typo in numfig_format default value 2021-08-13 07:20:16 -06:00
Takeshi KOMIYA
1acdf4f873
Merge pull request #9540 from astrojuanlu/new-tutorial-split
Split tutorial in several files
2021-08-13 01:38:28 +09:00
Takeshi KOMIYA
950d3db8d4
Merge pull request #9542 from tk0miya/fix_typehints
refactor: Fix typehint for HTMLBuilder.css_files
2021-08-13 01:36:36 +09:00
Takeshi KOMIYA
f518796086 refactor: Fix typehint for HTMLBuilder.css_files 2021-08-12 02:01:43 +09:00
Juan Luis Cano Rodríguez
f152680bfb Split tutorial in several files 2021-08-11 13:31:47 +02:00
Takeshi KOMIYA
c66b3ad519
Merge pull request #9530 from tacaswell/fix_numpy_class_attribute
FIX: do not try to compute the boolean value of a numpy array
2021-08-11 02:18:23 +09:00
Takeshi KOMIYA
8948f45226
Merge pull request #9527 from tk0miya/9525_tutorial
Fix #9525: tutorial: Wrong condition in recipe.py
2021-08-11 02:14:12 +09:00
Takeshi KOMIYA
52753e83e6
Merge pull request #9528 from jhcole/typo
Fix typo
2021-08-11 02:13:06 +09:00
Takeshi KOMIYA
97cd10d4d7
Merge pull request #9532 from sphinx-doc/bot/pull-translations
Update message catalogs
2021-08-11 02:12:30 +09:00
Takeshi KOMIYA
75c86c3059 Merge branch '4.1.x' into 4.x 2021-08-11 02:10:49 +09:00
Takeshi KOMIYA
e3a8ee9fcf
Merge pull request #9538 from tk0miya/9537_GenericAlias
Fix #9537: autodoc: Some typing.* objects are broken
2021-08-11 02:10:31 +09:00
Takeshi KOMIYA
648af37d86 Fix #9537: autodoc: Some typing.* objects are broken
At the HEAD of 3.10, the implementation of `typing._GenericAlias` has
been changed to have correct _name and __name__.
2021-08-11 01:59:38 +09:00
tk0miya
751fa265f1 Update message catalogs 2021-08-08 00:09:04 +00:00