| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
Since docutils-0.17, the caption node should not use for the non-figure
nodes. Therefore, this replaces it by the title node.
|
| |
|
|
|
|
| |
Since v0.17, docutils starts to use <figcaption> for caption on HTML
output. This modifies the expected value of our testcases to support
it.
|
| |
|
|
|
|
| |
Since v0.17, docutils starts to use <section> for section on HTML
output. This modifies the expected value of our testcases to support
it.
|
| |
|
|
|
|
|
| |
Since v0.17, docutils starts to load language module on parsing reST
document using StateMachine directly. So far, our testcase uses invalid
language code for testing autosummary. This fixes it to work with new
docutils.
|
| |
|
|
|
|
| |
Since v0.17, docutils starts to use <figure> and <figcaption> for figure
and its caption on HTML output. This modifies the expected value of our
testcases to support it.
|
| | |
|
| |
|
|
|
| |
Some public URLs are disabled now.
For more details, see https://github.com/sphinx-doc/sphinx/issues/8309
|
| |
|
|
|
| |
The first element of env.relfn2path() should be a POSIX path, not a OS
dependent path.
|
| | |
|
| |
|
|
|
| |
Make the constructors of Checker and CheckWorker classes less-coupled
with linkcheck builder.
|
| |
|
|
|
|
| |
To reduce the complexity of the linkcheck builder, this separates
the thread manager feature from the builder class as
HyperlinkAvailabilityChecker.
|
| |\ |
|
| | |
| |
| |
| |
| | |
To reduce the complexity of the linkcheck builder, this separates
the worker feature from the builder class.
|
| | |
| |
| |
| |
| |
| |
| | |
To achieve this the simplest was to use also the \label/\ref mechanism
as for footnotes typeset using footnotetext. Removing the hack into
footnotehyper internal macro, we use an enriched scope, which will
enable references with same number to each generate correct links.
|
| | | |
|
| | | |
|
| |/
|
|
| |
This is fifth item of #2616
|
| | |
|
| |\
| |
| | |
Local autodoc options override or extend autodoc_default_options.
|
| | | |
|
| | |\ |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| |\ \ \
| | | |
| | | | |
Fix #8775: Avoid the crash of autodoc caused by type union operator
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The type union operator (PEP-604) causes autodoc crashed in python 3.9
or below because of the syntax is not suppoerted yet in the interpreters.
Internally, `typing.get_type_hints()` raises TypeError on evaluating the
annotation by BitOr operator for types.
To avoid the crash, this adds a fallback not to evaluate the annotations
and keep as is. As a side effect, `autodoc_type_aliases` will not work
for the modules and classes that uses type union operator for their
annotations.
|
| |\ \ \ \
| |/ / /
|/| | | |
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.
|
| |\ \ \
| | | |
| | | | |
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+.
|
| | |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | | |
undocumented
Unintentionally, uninitialized attributes defined at superclasses are
recognized as undocumented in the filtering step. Therefore, they are
filtered if `:undoc-members:` option given.
|
| |\ \ \ |
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is cosmetic as the blank line starting varwidth environment used
for merged table cells in latex output changed nothing to PDF.
Nevertheless I extended a unit test to have a multi-paragraph merged
cell using varwidth. What is important is that \sphinxAtStartPar line
itself is never followed by blank line.
|
| | |\ \
| | | |
| | | | |
Fix #8780: long words in narrow columns may not be hyphenated
|
| | | | |
| | | |
| | | |
| | | | |
Define it to do nothing with lualatex engine
|
| | | | |
| | | |
| | | |
| | | | |
This is done by adding '\hskip0pt\relax\n' whenever a paragraph starts.
|
| | |\ \ \
| | |/ /
| |/| | |
Linkcheck: Use app.build() to trigger the test build
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Instead of using application members to access the builder and trigger a
build, use the main app interface.
It ensures the builder setup is realistic, builder cleanups are executed
and the build-finished events are emitted.
|
| | |\ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Note, that the default splitter will not index +, so this isn't of much of much use, unless
the splitter of the search-language is reconfigured.
|
| | |\ \ \ \
| | | | | |
| | | | | | |
Close #1638: html: Add permalink icons to glossary terms
|
| | | | |/ /
| | |/| | |
|
| | |\ \ \ \
| | |/ / /
| |/| | | |
Fix #8134: autodoc: crashes when mocked decorator takes arguments
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
autodoc crashed when a decorator in mocked module takes arguments
because mock system returns the first argument for the decorator as a
decorated object.
This changes the approach for mocking decorators that remembers
arguments for each decoration, and fetch the latest argument on
generating document.
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add new configuration variables: `html_permalinks` and
`html_permalinks_icon`.
This refines the settings around HTML permalinks.
* html_add_permalinks
* Deprecated.
* html_permalinks
* Enable or disable permalinks feature.
* html_permalinks_icon
* Change the icon for permalinks
|
| | |\ \ \
| | | | |
| | | | | |
Update Underscore.js to 1.12.0
|
| | | | | | |
|