Skip to content

Commit

Permalink
Merge branch '5.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
tk0miya committed Jul 23, 2022
2 parents 94024e6 + afac558 commit 1199f7b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions bindep.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ texlive-anyfontsize [platform:rpm]
texlive-ctablestack [platform:rpm]
texlive-gnu-freefont [platform:rpm]
texlive-tex-gyre [platform:rpm]
texlive-pict2e [platform:rpm]
latexmk [platform:rpm]

texlive-latex-recommended [platform:dpkg]
texlive-fonts-recommended [platform:dpkg]
tex-gyre [platform:dpkg]
texlive-latex-extra [platform:dpkg]
texlive-luatex [platform:dpkg]
texlive-pictures [platform:dpkg]
latexmk [platform:dpkg]
2 changes: 1 addition & 1 deletion doc/usage/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ General configuration
This was the behaviour before version 3.0, and setting this variable to
``True`` will reinstate that behaviour.

.. versionadded:: 3.0
.. versionadded:: 3.0

.. confval:: option_emphasise_placeholders

Expand Down
4 changes: 2 additions & 2 deletions doc/usage/extensions/autosummary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,9 @@ The following variables are available in the templates:
List containing names of "public" attributes in the class/module. Only
available for classes and modules.

.. versionchanged:: 3.1
.. versionchanged:: 3.1

Attributes of modules are supported.
Attributes of modules are supported.

.. data:: modules

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
'flake8-comprehensions',
'flake8-bugbear',
'isort',
'mypy>=0.950',
'mypy>=0.971',
'sphinx-lint',
'docutils-stubs',
"types-typed-ast",
Expand Down
4 changes: 2 additions & 2 deletions sphinx/util/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def convert_serializable(records: List[logging.LogRecord]) -> None:

location = getattr(r, 'location', None)
if isinstance(location, nodes.Node):
r.location = get_node_location(location) # type: ignore
r.location = get_node_location(location)


class SphinxLogRecord(logging.LogRecord):
Expand Down Expand Up @@ -432,7 +432,7 @@ class DisableWarningIsErrorFilter(logging.Filter):
"""Disable WarningIsErrorFilter if this filter installed."""

def filter(self, record: logging.LogRecord) -> bool:
record.skip_warningsiserror = True # type: ignore
record.skip_warningsiserror = True
return True


Expand Down

0 comments on commit 1199f7b

Please sign in to comment.