Commit Graph

4936 Commits

Author SHA1 Message Date
Takeshi KOMIYA
e2bef2d1d2 Merge pull request #8896 from tk0miya/8883_AttributeError_assigning_annotations
Fix #8883: autodoc: AttributeError on assigning __annotations__
2021-02-16 20:38:12 +09:00
Takeshi KOMIYA
82501a6f6f Fix #8885: html: AttributeError for CSS/JS files on html_context
Since 3.5.0, priority has been added to control CSS/JS files.  But it's
not working if projects installs custom CSS/JS files via `html_context`
instead of `html_css_files` and `html_js_files`.  This avoids the crash
to keep it "not broken".
2021-02-16 01:55:08 +09:00
Takeshi KOMIYA
b29ee3ded0 Fix #8883: autodoc: AttributeError on assigning __annotations__ 2021-02-16 01:35:29 +09:00
Takeshi KOMIYA
633c5ad9c6 Update CHANGES for PR #8888 2021-02-15 23:22:49 +09:00
Takeshi KOMIYA
f993f76998 Update CHANGES for PR #8886 2021-02-15 22:58:17 +09:00
Takeshi KOMIYA
c60cc0c178 Bump version 2021-02-14 17:01:23 +09:00
Takeshi KOMIYA
32dad69a4f Bump to 3.5.0 final 2021-02-14 16:48:00 +09:00
Takeshi KOMIYA
ae16211823 Update CHANGES for PR #8867 2021-02-14 15:54:29 +09:00
Jakob Lykke Andersen
a7fcc15683 C++, add noroot option to alias directive 2021-02-12 17:25:12 +01:00
Jakob Lykke Andersen
06a956200b C, add noroot option to alias directive 2021-02-12 17:25:12 +01:00
Jakob Lykke Andersen
d0a4d0147e C++, add recursiveness to alias
Fixes sphinx-doc/sphinx#8213 in the most basic way.
2021-02-12 17:25:12 +01:00
Jakob Lykke Andersen
de1cd95a75 C, fixes for alias directive 2021-02-12 17:25:12 +01:00
Takeshi KOMIYA
13d475aa73 Merge pull request #8866 from tk0miya/8865_IndexInSectionTitleTransform
LaTeX: Restructure the index nodes inside title nodes only on LaTeX builds
2021-02-13 00:46:52 +09:00
Takeshi KOMIYA
5c223d20d6 refactor: linkcheck: Separate thread manager feature from builder class
To reduce the complexity of the linkcheck builder, this separates
the thread manager feature from the builder class as
HyperlinkAvailabilityChecker.
2021-02-12 23:19:01 +09:00
Takeshi KOMIYA
30bc4d450a Update CHANGES for PR #8868 2021-02-11 22:28:38 +09:00
Takeshi KOMIYA
9411051131 LaTeX: Restructure the index nodes inside title nodes only on LaTeX builds
refs: #8865
2021-02-11 00:36:08 +09:00
Takeshi KOMIYA
674831cf10 Update CHANGES for PR #8865 2021-02-11 00:33:25 +09:00
jfbu
0c89c85a39 Merge branch '3.x' into latex_hyperlinked_caption_footnotes_on_3.x 2021-02-09 16:39:55 +01:00
Jean-François B
1c08467040 Merge pull request #8851 from jfbu/latex_enhance_docs_about_index
LaTeX: improve docs of 'printindex' and 'makeindex'
2021-02-09 16:16:26 +01:00
Jean-François B
86ea2a93e0 Merge pull request #8854 from jfbu/latex_longstringsincodeblocks
LaTeX: optionally apply a second forceful wrapping of long code lines
2021-02-09 16:14:48 +01:00
jfbu
035d13fd24 Update CHANGES and docs relative to new verbatimforcewraps 2021-02-09 15:47:15 +01:00
Takeshi KOMIYA
71df21dd4f Update CHANGES for PR #8853 2021-02-09 22:19:05 +09:00
jfbu
702545da1c LaTeX: optionally apply a second forceful wrapping of long code lines
Closes #8849
2021-02-08 23:13:46 +01:00
jfbu
a984f5f7cc LaTeX: improve docs of 'printindex' and 'makeindex'
Closes #8055
2021-02-08 14:59:20 +01:00
Takeshi KOMIYA
899ccfd40e refactor: linkcheck: Deprecate attributes of linkcheck builders
Move anchors_ignore, auth and to_ignore to
HyperlinkAvailabilityCheckWorker and become deprecated.
2021-02-07 02:39:35 +09:00
jfbu
9c823478e0 Update CHANGES 2021-02-05 20:39:32 +01:00
jfbu
eb91fd292f Update CHANGES 2021-02-05 16:49:41 +01:00
Takeshi KOMIYA
654458b525 Close #8813: Show what extension caused it on errors on event handler
Show the module name of the event handler on the error inside it to let
users know a hint of the error.
2021-02-04 22:35:48 +09:00
Takeshi KOMIYA
50717a2cfd Fix typo 2021-02-04 22:33:00 +09:00
Takeshi KOMIYA
572c9a403c Update CHANGES for PR #8297 2021-02-04 22:27:02 +09:00
Takeshi KOMIYA
1cf915f7dd Merge pull request #8804 from tk0miya/8791_linkcheck_docname_isnt_shown
linkcheck: The docname of hyperlink is not displayed (refs: #8791)
2021-02-02 23:09:03 +09:00
Takeshi KOMIYA
000ed29ff7 Merge pull request #8812 from jfbu/latex_url_as_footnotes_in_signatures
Latex url as footnotes in signatures
2021-02-02 22:58:37 +09:00
Takeshi KOMIYA
54f31891c2 Merge pull request #8811 from tk0miya/8782_xref_in_todolist
Fix #8782: todo: Cross references in todolist get broken
2021-02-02 22:54:14 +09:00
jfbu
c8eba61fe9 Update CHANGES 2021-02-02 00:13:48 +01:00
Takeshi KOMIYA
a65b333c87 Fix #8782: todo: Cross references in todolist get broken
On resolving cross reference nodes in todolist, some of them get broken
because todo extension does not rewrite the "refdoc" attribute of them.
2021-02-02 01:27:11 +09:00
Takeshi KOMIYA
223f59b3c5 Merge pull request #8802 from tk0miya/8775_pydomain_pep604
py domain: Support type union operator (PEP-604) (refs: #8775)
2021-02-01 21:22:38 +09:00
Takeshi KOMIYA
2956f19674 Merge pull request #8803 from tk0miya/8775_autodoc_type_union_operator
autodoc: Support type union operator (PEP-604) (refs: #8775)
2021-02-01 21:19:45 +09:00
Takeshi KOMIYA
2c2b8c1154 py domain: Support type union operator (PEP-604) (refs: #8775)
Upgrade annotation parser for python domain to support type union
operator introduced in PEP-604.  It's available on all python
interpreters.
2021-02-01 21:12:29 +09:00
Takeshi KOMIYA
6d8c9183fa Fix #8800: autodoc: Uninitialized attributes in superclass are recognized as undocumented
Unintentionally, uninitialized attributes defined at superclasses are
recognized as undocumented in the filtering step.  Therefore, they are
filtered if `:undoc-members:` option given.
2021-02-01 21:06:07 +09:00
Takeshi KOMIYA
af6ed52ca1 Merge branch '3.x' into 8446_escape_spaces_inside_desc_signatures 2021-02-01 01:24:02 +09:00
Takeshi KOMIYA
88c6330900 linkcheck: The docname of hyperlink is not displayed (refs: #8791)
Currently, linkcheck displays the status of hyperlinks.  But it is hard
to search where the hyperlink is written because only line numbers are
shown as the location for the link.

This displays the docname of the link too.
2021-02-01 01:15:53 +09:00
Takeshi KOMIYA
7f6a6926b9 Merge branch '3.4.x' into 3.x 2021-01-31 23:43:52 +09:00
Takeshi KOMIYA
7318d1dfd4 autodoc: Support type union operator (PEP-604) (refs: #8775)
Upgrade autodoc to support type union operator introduced in
PEP-604. It's available only with python 3.10+.
2021-01-31 23:38:36 +09:00
jfbu
567cc4fb7b Update CHANGES 2021-01-31 09:58:06 +01:00
jfbu
da00a1c22a LaTeX: remove last argument of \titleformat in sphinx.sty
The {\py@NormalColor} was wrong it should have been [\py@NormalColor].

It got executed by latex during document preamble and never got
integrated as part of the heading...

Closes: #8788
2021-01-30 16:09:58 +01:00
Jean-François B
be20f17892 Merge pull request #8779 from jfbu/latex_hlist_support
Fix #8072: Directive hlist not implemented in LaTeX
2021-01-29 21:05:19 +01:00
jfbu
185a2d27fe Fix #8780: long words in narrow columns may not be hyphenated
This is done by adding '\hskip0pt\relax\n' whenever a paragraph starts.
2021-01-29 00:24:44 +01:00
jfbu
a68a05533d Fix #8072: Directive hlist not implemented in LaTeX
Adds ``multicol`` LaTeX package requirement, but it is a required
part of any latex distribution.
2021-01-28 21:21:01 +01:00
Takeshi KOMIYA
2952d9a0c3 graphviz: Image node is not rendered if graph file is in subdir (refs: #8232)
To support images for graphviz, graphviz commands (ex. dots) should be
invoked at the directory placed the graph file.
2021-01-28 00:49:14 +09:00
Takeshi KOMIYA
62dad2f133 Merge pull request #8765 from jfbu/latex_memoir_french_footnote
LaTeX: sync with upstream footnotehyper
2021-01-28 00:13:17 +09:00