doc/changes/2.1.rst
note type can get separated from
immediately preceding section title by pagebreak__slots__ = NoneBuilder.build_specific()
API directlySphinx.add_lexer() now takes a Lexer class instead of instance. An
instance of lexers are still supported until Sphinx 3.x.sphinx.builders.latex.LaTeXBuilder.apply_transforms()sphinx.builders._epub_base.EpubBuilder.esc()sphinx.directives.Ackssphinx.directives.Authorsphinx.directives.Centeredsphinx.directives.Classsphinx.directives.CodeBlocksphinx.directives.Figuresphinx.directives.HListsphinx.directives.Highlightsphinx.directives.Includesphinx.directives.Indexsphinx.directives.LiteralIncludesphinx.directives.Metasphinx.directives.Onlysphinx.directives.SeeAlsosphinx.directives.TabularColumnssphinx.directives.TocTreesphinx.directives.VersionChangesphinx.domains.python.PyClassmembersphinx.domains.python.PyModulelevelsphinx.domains.std.StandardDomain._resolve_citation_xref()sphinx.domains.std.StandardDomain.note_citations()sphinx.domains.std.StandardDomain.note_citation_refs()sphinx.domains.std.StandardDomain.note_labels()sphinx.environment.NoUrisphinx.ext.apidoc.format_directive()sphinx.ext.apidoc.format_heading()sphinx.ext.apidoc.makename()sphinx.ext.autodoc.importer.MockFindersphinx.ext.autodoc.importer.MockLoadersphinx.ext.autodoc.importer.mock()sphinx.ext.autosummary.autolink_role()sphinx.ext.imgmath.DOC_BODYsphinx.ext.imgmath.DOC_BODY_PREVIEWsphinx.ext.imgmath.DOC_HEADsphinx.transforms.CitationReferencessphinx.transforms.SmartQuotesSkippersphinx.util.docfields.DocFieldTransformer.preprocess_fieldtypes()sphinx.util.node.find_source_node()sphinx.util.i18n.find_catalog()sphinx.util.i18n.find_catalog_files()sphinx.util.i18n.find_catalog_source_files()For more details, see :ref:deprecation APIs list <dev-deprecated-apis>.
Add a helper class sphinx.transforms.post_transforms.SphinxPostTransform
Add helper methods
PythonDomain.note_module()PythonDomain.note_object()SphinxDirective.set_source_info()#6180: Support --keep-going with BuildDoc setup command
math directive now supports :class: option
todo: todo directive now supports :name: option
Enable override via environment of SPHINXOPTS and SPHINXBUILD Makefile
variables (refs: #6232, #6303)
#6287: autodoc: Unable to document bound instance methods exported as module functions
#6289: autodoc: :confval:autodoc_default_options now supports
imported-members option
#4777: autodoc: Support coroutine
#744: autodoc: Support abstractmethod
#6325: autodoc: Support attributes in slots. For dict-style slots, autodoc considers values as a docstring of the attribute
#6361: autodoc: Add :confval:autodoc_typehints to suppress typehints from
signature
#1063: autodoc: automodule directive now handles undocumented module level
variables
#6212: autosummary: Add :confval:autosummary_imported_members to display
imported members on autosummary
#6271: make clean is catastrophically broken if building into '.'
#6363: Support %O% environment variable in make.bat
#4777: py domain: Add :async: option to :rst:dir:py:function directive
py domain: Add new options to :rst:dir:py:method directive
:abstractmethod::async::classmethod::property::staticmethod:rst domain: Add :rst:dir:rst:directive:option directive to describe the option
for directive
#6306: html: Add a label to search form for accessibility purposes
#4390: html: Consistent and semantic CSS for signatures
#6358: The rawsource property of production nodes now contains the
full production rule
#6373: autosectionlabel: Allow suppression of warnings
coverage: Support a new coverage_ignore_pyobjects option
#6239: latex: Support to build Chinese documents
tab_width setting of Docutils has been ignoredSOURCE_DATE_EPOCH