-
Notifications
You must be signed in to change notification settings - Fork 670
chore(deps): update dependency sphinx to v4 #1450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
c21d7ac
to
97cf1a5
Compare
@nejch Nice job noticing. If a new theme will fix the problem it sounds reasonable to me. |
It's really a minor thing, but I might have a look on the weekend just for fun :) I've looked at Furo before (where I don't like that there's no dark/light toggle as the dark mode doesn't work that well for code snippets IMO pradyunsg/furo#24) and sphinx-material which is also nice and looks familiar to people using mkdocs. (both are pretty much drop-in replacements with a one line change) |
97cf1a5
to
e1516d6
Compare
e1516d6
to
dddcba8
Compare
dddcba8
to
868945a
Compare
e08be6d
to
4a9ca3e
Compare
4a9ca3e
to
7f762f5
Compare
7f762f5
to
2e0432d
Compare
Codecov Report
@@ Coverage Diff @@
## master #1450 +/- ##
==========================================
- Coverage 91.16% 82.30% -8.86%
==========================================
Files 74 74
Lines 4177 4177
==========================================
- Hits 3808 3438 -370
- Misses 369 739 +370
Flags with carried forward coverage won't be shown. Click here to find out more.
|
2e0432d
to
73745f7
Compare
I'll merge this since it's needed to support python 3.10, we can sort out the theme quirks in a follow-up (or change the theme). |
This PR contains the following updates:
==3.5.4
->==4.2.0
Release Notes
sphinx-doc/sphinx
v4.2.0
Compare Source
=====================================
Features added
3.10 or above
template variable
sphinx_version_tuple
:py:property:
directive supports:classmethod:
option to describe the class property
builddir
as an argumentBugs fixed
namespace package
class inherites the class having
_name
attributetyping
module are not displayedwell with the HEAD of 3.10
__init__()
and
__new__()
list[int]
)are not displayed well
are not removed completely
failed to fetch the content of the page
:type:
option for :rst:dir:py:property
directive doesnot create a hyperlink
function pointers.
language-highlighted
:code:
role.v4.1.2
Compare Source
=====================================
Incompatible changes
github.com (ex. anchors in reST/Markdown documents)
Bugs fixed
typing.NewType
are not displayed wellwith the HEAD of 3.10
typing
module are not displayed wellwith the HEAD of 3.10
autodoc_class_signature = "separated"
v4.1.1
Compare Source
=====================================
Dependencies
Bugs fixed
v4.1.0
Compare Source
=====================================
Dependencies
Deprecated
app
argument ofsphinx.environment.BuildEnvironment
becomesrequired
sphinx.application.Sphinx.html_theme
sphinx.ext.autosummary._app
sphinx.util.docstrings.extract_metadata()
Features added
#8107: autodoc: Add
class-doc-from
option to :rst:dir:autoclass
directive to control the content of the specific class like
:confval:
autoclass_content
#8588: autodoc: :confval:
autodoc_type_aliases
now supports dotted name. Itallows you to define an alias for a class with module name like
foo.bar.BazClass
#9175: autodoc: Special member is not documented in the module
#9195: autodoc: The arguments of
typing.Literal
are wrongly rendered#9185: autodoc: :confval:
autodoc_typehints
allows'both'
setting toallow typehints to be included both in the signature and description
#4257: autodoc: Add :confval:
autodoc_class_signature
to separate the classentry and the definition of
__init__()
method#8061, #9218: autodoc: Support variable comment for alias classes
#3014: autodoc: Add :event:
autodoc-process-bases
to modify the base classesof the class definitions
#9272: autodoc: Render enum values for the default argument value better
#9384: autodoc:
autodoc_typehints='none'
now erases typehints forvariables, attributes and properties
#3257: autosummary: Support instance attributes for classes
#9358: html: Add "heading" role to the toctree items
#9225: html: Add span tag to the return typehint of method/function
#9129: html search: Show search summaries when html_copy_source = False
#9307: html search: Prevent corrections and completions in search field
#9120: html theme: Eliminate prompt characters of code-block from copyable
text
#9176: i18n: Emit a debug message if message catalog file not found under
:confval:
locale_dirs
#9414: LaTeX: Add xeCJKVerbAddon to default fvset config for Chinese documents
#9016: linkcheck: Support checking anchors on github.com
#9016: linkcheck: Add a new event :event:
linkcheck-process-uri
to modifyURIs before checking hyperlinks
#6525: linkcheck: Add :confval:
linkcheck_allowed_redirects
to markhyperlinks that are redirected to expected URLs as "working"
#1874: py domain: Support union types using
|
in info-field-list#9268: py domain: :confval:
python_use_unqualified_type_names
supports typefield in info-field-list
#9097: Optimize the parallel build
#9131: Add :confval:
nitpick_ignore_regex
to ignore nitpicky warnings usingregular expressions
#9174: Add
Sphinx.set_html_assets_policy
to tell extensions to includeHTML assets in all the pages. Extensions can check this via
Sphinx.registry.html_assets_policy
C++, add support for
inline
variables,consteval
functions,constinit
variables,char8_t
,explicit(<constant expression>)
specifier,(e.g.,
Sortable auto &v
).C, add support for digit separators in literals.
#9166: LaTeX: support containers in LaTeX output
Bugs fixed
undocumented
attribute not having any comment
rendered
class) via autoclass directive
:confval:
man_make_section_directory
is not correcton HEAD request
(e.g.
Callable[[], None])
will be rendered with a bracket missing(
Callable[], None]
):param:
and:type:
fields does not support a type containingwhitespace (ex.
Dict[str, str]
)making an single xref. For C and C++, use the
expr
role for typed fields.v4.0.3
Compare Source
=====================================
Features added
_Decimal32
,_Decimal64
, and_Decimal128
.c_extra_keywords
to allow user-defined keywordsduring parsing.
sphinx.util:force_decode()
to become some 3rd partyextensions available again during 5.0
Bugs fixed
versionchanged
with contents being a listwill cause error during pdf build
with Japanese engines
See also :confval:
c_extra_keywords
.v4.0.2
Compare Source
=====================================
Dependencies
Incompatible changes
(see :confval:
man_make_section_directory
)Bugs fixed
that does not support the node installs a missing-reference handler
v4.0.1
Compare Source
=====================================
Bugs fixed
from a property of the class
autosummary_generate
cross-reference" warning
v4.0.0
Compare Source
=====================================
Dependencies
4.0.0b1
tex-gyre
font dependency4.0.0b2
Some themes do not support it, and you need to update your custom CSS to
upgrade it.
Incompatible changes
4.0.0b1
autodoc_typehints='description'
andautoclass_content='class'
setIndex
class becomes subclasses ofabc.ABC
to indicatemethods that must be overridden in the concrete classes
is added to indicate that the python object is canonical one
MathJax configuration may have to set the old MathJax path or update their
configuration for version 3. See :mod:
sphinx.ext.mathjax
.napoleon_use_param
also affect "other parameters"section
:confval:
man_make_section_directory
):confval:
html_codeblock_linenos_style
to'inline'
<p>
instead of<div>
basic/layout.html to
script_files
variablecss_files
variabledocuments
:var:
,:cvar:
and:ivar:
fields do not createcross-references
align
attribute offigure
andtable
nodes becomesNone
by default instead of'default'
some auxiliary files created in
latex
build output repertorypath as a relative path from source directory
4.0.0b2
cpp:expr
and:rst:role:
cpp:texpr
.Deprecated
html_codeblock_linenos_style
favicon
andlogo
variable in HTML templatessphinx.directives.patches.CSVTable
sphinx.directives.patches.ListTable
sphinx.directives.patches.RSTTable
sphinx.ext.autodoc.directive.DocumenterBridge.filename_set
sphinx.ext.autodoc.directive.DocumenterBridge.warn()
sphinx.registry.SphinxComponentRegistry.get_source_input()
sphinx.registry.SphinxComponentRegistry.source_inputs
sphinx.transforms.FigureAligner
sphinx.util.pycompat.convert_with_2to3()
sphinx.util.pycompat.execfile_()
sphinx.util.smartypants
sphinx.util.typing.DirectiveOption
Features added
4.0.0b1
bound
argument for TypeVarwhen the class has two different names; a canonical name and an alias name
autodoc_typehints_description_target
to controlthe behavior of
autodoc_typehints=description
autodoc_docstring_signature
will continue to lookfor multiple signature lines without backslash character
autosummary_generate
by default:canonical:
option to python directives to describethe location where the object is defined
python_use_unqualified_type_names
to suppressthe module name of the python reference if it can be resolved (experimental)
py:property
directive to describe a property:confval:
gettext_additional_targets
setting)html_favicon
and :confval:html_logo
now accept URLfor the image
master_doc
is now renamed to :confval:root_doc
<=>
.sphinx.addnodes.pending_xref_condition
has been added.It can be used to choose appropriate content of the reference by conditions.
4.0.0b2
Any
arguments causes nit-picky warningpy37+
alias objects are defined on the document
nodes
for details.mathjax_config
to:confval:
mathjax2_config
and add :confval:mathjax3_config
Bugs fixed
4.0.0b1
Python 3.7 or above)
<p>
:unknown:doc:
)cpp:enumerator
change) with late TeXLive 2019
with size explicitly set in pixels) (fixed for
'pdflatex'/'lualatex'
only)Pygments style
verbatimmaxunderfull
setting does not work asexpected
\pysigline
\pysiglinewithargsret
does not compute correctlyavailable horizontal space and should use a ragged right style
:confval:
cpp_index_common_prefix
instead of the first that matches.as parameter name.
function parameter lists.
(function) declarators, and in the argument to
sizeof...
.4.0.0b2
KeyError
when analias
directive is the first C/C++directive in a file with another C/C++ directive later.
4.0.0b3
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.