| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \ \ \
| | | | | |
| | | | | | |
Update message catalogs
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Support docutils-0.18: Consume generator of Element.traverse()
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
The last fix in i18n module was incorrect because it compares the
"already consumed" generators. It should compares the lists of nodes.
|
| | | | | |
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
Closes #9733: Fix for logging handler flushing warnings in the middle of the docs build
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
build
Summary:
My project was mysteriously dropping warnings (see https://github.com/sphinx-doc/sphinx/issues/9733 for detailed repro) and I realized that it's becaues it imports libraries like airflow or mlflow that set up loggers automatically when they are imported. This causes this handler to flush even though shouldFlush is set to always return False. A simple workaround is to override flush to be a no-op.
Test Plan: Repeat repro steps from #9733 - project now always includes warnings
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
Fix #9757: autodoc_inherit_docstrings does not effect to overriden classmethods
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
Update Chocolatey Install Link
|
|/ / / /
| | | |
| | | | |
The install URL returned a 404 but now it is updated to the new location
|
|\ \ \ \
| | | | |
| | | | | |
Fix #9756: autodoc: Crashed if classmethod does not have __func__ attribute
|
| |\ \ \ \
| |/ / / /
|/| | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix linkcheck_auth link to Requests authentication
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The link was directing to
https://www.sphinx-doc.org/en/master/usage/requests-auth>. Prefer using
the intersphinx module to generate the link, it’s more robust than
directly linking to the page.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Fix #9752: autodoc: Failed to detect type annotation for slots attribute
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Support docutils-0.18: Consume iterator of Element.traverse()
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Since 0.18, Element.traverse() returns an iterator instead of
intermediate object. As a result, the return value is always considered
as truthy value. And it becomes fragile when the caller modifies the
doctree on the loop.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Update message catalogs
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
Fix CI: Downgrade python for transifex CI
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |/ / / / / /
| | | | | | | |
Fix CI: Downgrade python for transifex CI
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The latest transifex-client could not be installed on python 3.10
environment. This downgrade python to 3.9 to be install the latest one.
ref: https://github.com/transifex/transifex-client/pull/330
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
Fix a typo in variable name
|
| | |_|/ / /
| |/| | | | |
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
LaTeX: fix '\raggedright' escaping causing "aggedright" text
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Sphinx version 4.0 introduced a bug in handling hlists in its LaTeX backend.
Due to improper backslash escaping,
LaTeX "\raggedright" command gets written as
Carriage Return character (0x0D) followed by "aggedright".
This results in stray "aggedright" text appearing in the resulting PDF
and lack of effect \raggedright was supposed to achieve.
Fix this by converting the remaining string to a raw string.
This appears to be the only occurrence of such a missing escaping
based on a quick grep.
Fixes #9734.
Fixes: 20884bb0c9f7: "refactor: LaTeX: Use raw strings for LaTeX macros"
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
Set refdoc to be used by missing-reference, intersphinx
|
| |/ / / / / |
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Fix selection of parameter names in HTML theme
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Parameters are written in HTML as (leaving out some internal classes):
```
<strong>name</strong><span class="classifier"><a><code><span>TypeName</span></code></a></span>
```
but in rendered form there's a colon between the name and type. This
colon is inserted virtually using CSS, but since it doesn't exist, the
browser thinks both sides are part of the same word.
Styling the virtual text as inline block makes it be treated as a break,
but also makes it apply vertical margins, so we need to set those to
zero again.
See https://github.com/matplotlib/matplotlib/issues/21432
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Support docutils-0.18: allow PreBibliographic nodes before docinfo
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Since 0.18, `meta` directive inserts meta node into the top of the
document. It confuses MetadataCollector.
This allows doctree contains PreBibliographic nodes just before docinfo
node.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Support docutils-0.18: Set auto_id_prefix explicitly
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Since docutils-0.18, auto_id_prefix setting will be changed to `'%'`
from `'id'`. To keep backward compatibility of node IDs, this sets
`'id'` to settings explicitly.
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Whilst working on the Reproducible Builds effort [0] I noticed that sphinx
generates output that is not reproducible, causing a number of packages in
Debian to unreproducible.
Specifically, when Sphinx locates an alias of an instance when generating
'autodoc' documentation, it uses the raw Python repr(...) of the object and
does not sanitise it for memory addresses (etc.) like elsewhere in Sphinx.
This can result in documentation like this:
-<dd><p>alias of <webob.client.SendRequest object at 0x7fd769189df0></p>
+<dd><p>alias of <webob.client.SendRequest object at 0x7f0f02233df0></p>
Patch attached that uses the object_description method, which was added to fix
precisely this kind of issue.
I originally filed this in Debian as bug #996948 [1].
[0] https://reproducible-builds.org/
[1] https://bugs.debian.org/996948
|
| |_|_|/ / /
|/| | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Update message catalogs
|
| | |/ / / /
| |/| | | | |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Add missing space in intersphinx doc
|
|/ / / / /
| | | | |
| | | | | |
There was a space missing between `-m` and `sphinx.ext.intersphinx` in the example of showing all mappings in a intersphinx file. I added it in.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix #9718: intersphinx: Failed to invoke sphinx.ext.intersphinx module
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
A circular import was happened since #9701 merged. This goes
lazy-import to avoid the error.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Fix #9710: html: Wrong styles for even/odd rows in nested tables
|