| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
(#11165)" (#11329)
This reverts commit 5d13215b58f93c6be8255ef2e3e20836508c7d47.
|
|
|
| |
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If pygments fails to lex a source string as the specified highlight
language, Sphinx prints a warning. Previously, that warning did not
include the actual source text, although it does include location
information.
However, in some cases the location information may be missing, there
may be multiple highlighted literals on the same line, or the rST is
automatically generated somehow. In such cases, it can be difficult
to determine the source text that led to the error.
With this change, the source text is included in the warning.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The link relationship keyword `shortcut` does not appear in the HTML 5 specification [1].
It was used by historic browsers (i.e. Internet Explorer 6) which Sphinx no longer supports.
[1]: HTML5 Specification, 4.6.7.8 Link type "icon", https://html.spec.whatwg.org/#rel-icon
|
|
|
|
| |
Improve clarity on what the test is looking for in the footer
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| | |
# Conflicts:
# .github/workflows/main.yml
# CHANGES
# sphinx/__init__.py
# sphinx/domains/c.py
|
| |
| |
| |
| |
| |
| |
| |
| | |
Without this change, local images with `#` in their name result in incorrect URLs
There is already a similar call to `urllib.parse.quote` for file downloads, suggesting this is a sensible approach.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Takeshi KOMIYA <i.tkomiya@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
This reverts commit b1390c4191319e75d14ce3e6e73ef43c31d981b4.
The change is reverted because some builders don't have
fine-grained support for outdated docs:
https://github.com/sphinx-doc/sphinx/issues/10903#issuecomment-1273199352
|
| |
| |
| | |
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
This change means that text following `=`, `[=`, or ` ` is ignored when
searching for a corresponding option directive to an option cross reference
role. These are commonly used options, for example `--profile=path`,
`--profile[=path]` or `--profile path`.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
|
|\ \
| |/
| |
| |
| | |
# Conflicts:
# sphinx/locale/__init__.py
|
| |
| |
| |
| | |
One can cross-reference an option value: :option:`--module=foobar`.
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
# Conflicts:
# CHANGES
# doc/conf.py
# sphinx/__init__.py
# sphinx/builders/html/__init__.py
# sphinx/domains/python.py
# tests/test_build_html.py
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
# Conflicts:
# setup.py
# sphinx/application.py
# sphinx/environment/__init__.py
# sphinx/ext/autodoc/directive.py
# tests/test_build_html.py
|
| | |
|
|\ \
| |/ |
|
| |
| |
| | |
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
|
| |
| |
| | |
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
Resolved merge conflicts:
sphinx/ext/extlinks.py
sphinx/ext/napoleon/docstring.py
(and removed from the latter a now unused import for flake8 F401
compliance)
|
| | |
|
| |
| |
| |
| | |
The option value is not properly propagated to Java script.
|
|\ \
| |/
| |
| |
| |
| |
| | |
# Conflicts:
# .github/workflows/builddoc.yml
# .github/workflows/lint.yml
# sphinx/registry.py
|
| |
| |
| | |
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
|
| |
| |
| | |
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
|
|/ |
|
|\ |
|
| |\
| | |
| | | |
Make code role highlighting consistent with code-block directive
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes https://github.com/sphinx-doc/sphinx/issues/5157
This is factored out of the sphinx-immaterial theme:
https://github.com/jbms/sphinx-immaterial/blob/1ef121a612d4f5afc2a9ca9c4e3f20fca89065e8/sphinx_immaterial/inlinesyntaxhighlight.py#L1
See also:
https://github.com/sphinx-doc/sphinx/pull/6916
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |/ / |
|
| | | |
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | | |
This matches docutils change in https://sourceforge.net/p/docutils/code/9045/
Fixes #10253
|