mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #10212 from AA-Turner/remove-module-docstring-titles
Remove module docstring titles
This commit is contained in:
commit
b12b39db05
3
LICENSE
3
LICENSE
@ -1,6 +1,9 @@
|
|||||||
License for Sphinx
|
License for Sphinx
|
||||||
==================
|
==================
|
||||||
|
|
||||||
|
Unless otherwise indicated, all code in the Sphinx project is licenced under the
|
||||||
|
two clause BSD licence below.
|
||||||
|
|
||||||
Copyright (c) 2007-2022 by the Sphinx team (see AUTHORS file).
|
Copyright (c) 2007-2022 by the Sphinx team (see AUTHORS file).
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
|
@ -35,12 +35,6 @@ import-order-style = smarkets
|
|||||||
per-file-ignores =
|
per-file-ignores =
|
||||||
tests/*: E501
|
tests/*: E501
|
||||||
|
|
||||||
[flake8:local-plugins]
|
|
||||||
extension =
|
|
||||||
X101 = utils.checks:sphinx_has_header
|
|
||||||
paths =
|
|
||||||
.
|
|
||||||
|
|
||||||
[isort]
|
[isort]
|
||||||
line_length = 95
|
line_length = 95
|
||||||
|
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""The Sphinx documentation toolchain."""
|
||||||
Sphinx
|
|
||||||
~~~~~~
|
|
||||||
|
|
||||||
The Sphinx documentation toolchain.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
# Keep this file executable as-is in Python 3!
|
# Keep this file executable as-is in Python 3!
|
||||||
# (Otherwise getting the version out of it from setup.py is impossible.)
|
# (Otherwise getting the version out of it from setup.py is impossible.)
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""The Sphinx documentation toolchain."""
|
||||||
sphinx.__main__
|
|
||||||
~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
The Sphinx documentation toolchain.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Additional docutils nodes."""
|
||||||
sphinx.addnodes
|
|
||||||
~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Additional docutils nodes.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import TYPE_CHECKING, Any, Dict, List, Sequence
|
from typing import TYPE_CHECKING, Any, Dict, List, Sequence
|
||||||
|
|
||||||
|
@ -1,13 +1,6 @@
|
|||||||
"""
|
"""Sphinx application class and extensibility interface.
|
||||||
sphinx.application
|
|
||||||
~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Sphinx application class and extensibility interface.
|
Gracefully adapted from the TextPress system by Armin.
|
||||||
|
|
||||||
Gracefully adapted from the TextPress system by Armin.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Builder superclass for all builders."""
|
||||||
sphinx.builders
|
|
||||||
~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Builder superclass for all builders.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import pickle
|
import pickle
|
||||||
import time
|
import time
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Base class of epub2/epub3 builders."""
|
||||||
sphinx.builders._epub_base
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Base class of epub2/epub3 builders.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import html
|
import html
|
||||||
import os
|
import os
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Changelog builder."""
|
||||||
sphinx.builders.changes
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Changelog builder.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import html
|
import html
|
||||||
from os import path
|
from os import path
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Directory HTML builders."""
|
||||||
sphinx.builders.dirhtml
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Directory HTML builders.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from os import path
|
from os import path
|
||||||
from typing import Any, Dict
|
from typing import Any, Dict
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Do syntax checks, but no writing."""
|
||||||
sphinx.builders.dummy
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Do syntax checks, but no writing.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Any, Dict, Set
|
from typing import Any, Dict, Set
|
||||||
|
|
||||||
|
@ -1,12 +1,6 @@
|
|||||||
"""
|
"""Build epub3 files.
|
||||||
sphinx.builders.epub3
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Build epub3 files.
|
Originally derived from epub.py.
|
||||||
Originally derived from epub.py.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import html
|
import html
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""The MessageCatalogBuilder class."""
|
||||||
sphinx.builders.gettext
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
The MessageCatalogBuilder class.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from codecs import open
|
from codecs import open
|
||||||
from collections import OrderedDict, defaultdict
|
from collections import OrderedDict, defaultdict
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Several HTML builders."""
|
||||||
sphinx.builders.html
|
|
||||||
~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Several HTML builders.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import html
|
import html
|
||||||
import os
|
import os
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Transforms for HTML builder."""
|
||||||
sphinx.builders.html.transforms
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Transforms for HTML builder.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
from typing import Any, Dict, List
|
from typing import Any, Dict, List
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""LaTeX builder."""
|
||||||
sphinx.builders.latex
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
LaTeX builder.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import warnings
|
import warnings
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""consntants for LaTeX builder."""
|
||||||
sphinx.builders.latex.constants
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
consntants for LaTeX builder.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Any, Dict
|
from typing import Any, Dict
|
||||||
|
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Additional nodes for LaTeX writer."""
|
||||||
sphinx.builders.latex.nodes
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Additional nodes for LaTeX writer.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from docutils import nodes
|
from docutils import nodes
|
||||||
|
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Theming support for LaTeX builder."""
|
||||||
sphinx.builders.latex.theming
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Theming support for LaTeX builder.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import configparser
|
import configparser
|
||||||
from os import path
|
from os import path
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Transforms for LaTeX builder."""
|
||||||
sphinx.builders.latex.transforms
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Transforms for LaTeX builder.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Any, Dict, List, Set, Tuple, cast
|
from typing import Any, Dict, List, Set, Tuple, cast
|
||||||
|
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Utilities for LaTeX builder."""
|
||||||
sphinx.builders.latex.util
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Utilities for LaTeX builder.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""The CheckExternalLinksBuilder class."""
|
||||||
sphinx.builders.linkcheck
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
The CheckExternalLinksBuilder class.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import re
|
import re
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Manual pages builder."""
|
||||||
sphinx.builders.manpage
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Manual pages builder.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from os import path
|
from os import path
|
||||||
from typing import Any, Dict, List, Set, Tuple, Union
|
from typing import Any, Dict, List, Set, Tuple, Union
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Single HTML builders."""
|
||||||
sphinx.builders.singlehtml
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Single HTML builders.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from os import path
|
from os import path
|
||||||
from typing import Any, Dict, List, Tuple, Union
|
from typing import Any, Dict, List, Tuple, Union
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Texinfo builder."""
|
||||||
sphinx.builders.texinfo
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Texinfo builder.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from os import path
|
from os import path
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Plain-text Sphinx builder."""
|
||||||
sphinx.builders.text
|
|
||||||
~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Plain-text Sphinx builder.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from os import path
|
from os import path
|
||||||
from typing import Any, Dict, Iterator, Set, Tuple
|
from typing import Any, Dict, Iterator, Set, Tuple
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Docutils-native XML and pseudo-XML builders."""
|
||||||
sphinx.builders.xml
|
|
||||||
~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Docutils-native XML and pseudo-XML builders.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from os import path
|
from os import path
|
||||||
from typing import Any, Dict, Iterator, Set, Type, Union
|
from typing import Any, Dict, Iterator, Set, Type, Union
|
||||||
|
@ -1,9 +1 @@
|
|||||||
"""
|
"""Modules for command line executables."""
|
||||||
sphinx.cmd
|
|
||||||
~~~~~~~~~~
|
|
||||||
|
|
||||||
Modules for command line executables.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Build documentation from a provided source."""
|
||||||
sphinx.cmd.build
|
|
||||||
~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Build documentation from a provided source.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import bdb
|
import bdb
|
||||||
|
@ -1,17 +1,10 @@
|
|||||||
"""
|
"""sphinx-build -M command-line handling.
|
||||||
sphinx.cmd.make_mode
|
|
||||||
~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
sphinx-build -M command-line handling.
|
This replaces the old, platform-dependent and once-generated content
|
||||||
|
of Makefile / make.bat.
|
||||||
|
|
||||||
This replaces the old, platform-dependent and once-generated content
|
This is in its own module so that importing it is fast. It should not
|
||||||
of Makefile / make.bat.
|
import the main Sphinx modules (like sphinx.applications, sphinx.builders).
|
||||||
|
|
||||||
This is in its own module so that importing it is fast. It should not
|
|
||||||
import the main Sphinx modules (like sphinx.applications, sphinx.builders).
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Quickly setup documentation source to work with Sphinx."""
|
||||||
sphinx.cmd.quickstart
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Quickly setup documentation source to work with Sphinx.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import locale
|
import locale
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Build configuration file handling."""
|
||||||
sphinx.config
|
|
||||||
~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Build configuration file handling.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import traceback
|
import traceback
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Sphinx deprecation classes and utilities."""
|
||||||
sphinx.deprecation
|
|
||||||
~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Sphinx deprecation classes and utilities.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import warnings
|
import warnings
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Handlers for additional ReST directives."""
|
||||||
sphinx.directives
|
|
||||||
~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Handlers for additional ReST directives.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
from typing import TYPE_CHECKING, Any, Dict, Generic, List, Tuple, TypeVar, cast
|
from typing import TYPE_CHECKING, Any, Dict, Generic, List, Tuple, TypeVar, cast
|
||||||
|
@ -1,11 +1,3 @@
|
|||||||
"""
|
|
||||||
sphinx.directives.code
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import textwrap
|
import textwrap
|
||||||
from difflib import unified_diff
|
from difflib import unified_diff
|
||||||
|
@ -1,11 +1,3 @@
|
|||||||
"""
|
|
||||||
sphinx.directives.other
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
from typing import TYPE_CHECKING, Any, Dict, List, cast
|
from typing import TYPE_CHECKING, Any, Dict, List, cast
|
||||||
|
|
||||||
|
@ -1,11 +1,3 @@
|
|||||||
"""
|
|
||||||
sphinx.directives.patches
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import warnings
|
import warnings
|
||||||
from os import path
|
from os import path
|
||||||
|
@ -1,12 +1,7 @@
|
|||||||
"""
|
"""Support for domains.
|
||||||
sphinx.domains
|
|
||||||
~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Support for domains, which are groupings of description directives
|
Domains are groupings of description directives
|
||||||
and roles describing e.g. constructs of one programming language.
|
and roles describing e.g. constructs of one programming language.
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import copy
|
import copy
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""The C language domain."""
|
||||||
sphinx.domains.c
|
|
||||||
~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
The C language domain.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
from typing import (Any, Callable, Dict, Generator, Iterator, List, Optional, Tuple, TypeVar,
|
from typing import (Any, Callable, Dict, Generator, Iterator, List, Optional, Tuple, TypeVar,
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""The changeset domain."""
|
||||||
sphinx.domains.changeset
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
The changeset domain.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import TYPE_CHECKING, Any, Dict, List, NamedTuple, cast
|
from typing import TYPE_CHECKING, Any, Dict, List, NamedTuple, cast
|
||||||
|
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""The citation domain."""
|
||||||
sphinx.domains.citation
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
The citation domain.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import TYPE_CHECKING, Any, Dict, List, Optional, Set, Tuple, cast
|
from typing import TYPE_CHECKING, Any, Dict, List, Optional, Set, Tuple, cast
|
||||||
|
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""The C++ language domain."""
|
||||||
sphinx.domains.cpp
|
|
||||||
~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
The C++ language domain.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
from typing import (Any, Callable, Dict, Generator, Iterator, List, Optional, Tuple, TypeVar,
|
from typing import (Any, Callable, Dict, Generator, Iterator, List, Optional, Tuple, TypeVar,
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""The index domain."""
|
||||||
sphinx.domains.index
|
|
||||||
~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
The index domain.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import TYPE_CHECKING, Any, Dict, Iterable, List, Tuple
|
from typing import TYPE_CHECKING, Any, Dict, Iterable, List, Tuple
|
||||||
|
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""The JavaScript domain."""
|
||||||
sphinx.domains.javascript
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
The JavaScript domain.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Any, Dict, Iterator, List, Optional, Tuple, cast
|
from typing import Any, Dict, Iterator, List, Optional, Tuple, cast
|
||||||
|
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""The math domain."""
|
||||||
sphinx.domains.math
|
|
||||||
~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
The math domain.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import TYPE_CHECKING, Any, Dict, Iterable, List, Optional, Tuple
|
from typing import TYPE_CHECKING, Any, Dict, Iterable, List, Optional, Tuple
|
||||||
|
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""The Python domain."""
|
||||||
sphinx.domains.python
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
The Python domain.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import builtins
|
import builtins
|
||||||
import inspect
|
import inspect
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""The reStructuredText domain."""
|
||||||
sphinx.domains.rst
|
|
||||||
~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
The reStructuredText domain.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
from typing import Any, Dict, Iterator, List, Optional, Tuple, cast
|
from typing import Any, Dict, Iterator, List, Optional, Tuple, cast
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""The standard domain."""
|
||||||
sphinx.domains.std
|
|
||||||
~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
The standard domain.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import warnings
|
import warnings
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Global creation environment."""
|
||||||
sphinx.environment
|
|
||||||
~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Global creation environment.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import pickle
|
import pickle
|
||||||
|
@ -1,9 +1 @@
|
|||||||
"""
|
"""Sphinx environment adapters"""
|
||||||
sphinx.environment.adapters
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Sphinx environment adapters
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Assets adapter for sphinx.environment."""
|
||||||
sphinx.environment.adapters.asset
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Assets adapter for sphinx.environment.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from sphinx.environment import BuildEnvironment
|
from sphinx.environment import BuildEnvironment
|
||||||
|
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Index entries adapters for sphinx.environment."""
|
||||||
sphinx.environment.adapters.indexentries
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Index entries adapters for sphinx.environment.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import unicodedata
|
import unicodedata
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Toctree adapter for sphinx.environment."""
|
||||||
sphinx.environment.adapters.toctree
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Toctree adapter for sphinx.environment.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import TYPE_CHECKING, Any, Iterable, List, Optional, cast
|
from typing import TYPE_CHECKING, Any, Iterable, List, Optional, cast
|
||||||
|
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""The data collector components for sphinx.environment."""
|
||||||
sphinx.environment.collectors
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
The data collector components for sphinx.environment.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import TYPE_CHECKING, Dict, List, Optional, Set
|
from typing import TYPE_CHECKING, Dict, List, Optional, Set
|
||||||
|
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""The image collector for sphinx.environment."""
|
||||||
sphinx.environment.collectors.asset
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
The image collector for sphinx.environment.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from glob import glob
|
from glob import glob
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""The dependencies collector components for sphinx.environment."""
|
||||||
sphinx.environment.collectors.dependencies
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
The dependencies collector components for sphinx.environment.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from os import path
|
from os import path
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""The metadata collector components for sphinx.environment."""
|
||||||
sphinx.environment.collectors.metadata
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
The metadata collector components for sphinx.environment.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Any, Dict, List, Set, cast
|
from typing import Any, Dict, List, Set, cast
|
||||||
|
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""The title collector components for sphinx.environment."""
|
||||||
sphinx.environment.collectors.title
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
The title collector components for sphinx.environment.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Any, Dict, Set
|
from typing import Any, Dict, Set
|
||||||
|
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Toctree collector for sphinx.environment."""
|
||||||
sphinx.environment.collectors.toctree
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Toctree collector for sphinx.environment.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Any, Dict, List, Set, Tuple, Type, TypeVar, cast
|
from typing import Any, Dict, List, Set, Tuple, Type, TypeVar, cast
|
||||||
|
|
||||||
|
@ -1,13 +1,4 @@
|
|||||||
"""
|
"""Contains SphinxError and a few subclasses."""
|
||||||
sphinx.errors
|
|
||||||
~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Contains SphinxError and a few subclasses (in an extra module to avoid
|
|
||||||
circular import problems).
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
|
@ -1,13 +1,6 @@
|
|||||||
"""
|
"""Sphinx core events.
|
||||||
sphinx.events
|
|
||||||
~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Sphinx core events.
|
Gracefully adapted from the TextPress system by Armin.
|
||||||
|
|
||||||
Gracefully adapted from the TextPress system by Armin.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from collections import defaultdict
|
from collections import defaultdict
|
||||||
|
@ -1,9 +1 @@
|
|||||||
"""
|
"""Contains Sphinx features not activated by default."""
|
||||||
sphinx.ext
|
|
||||||
~~~~~~~~~~
|
|
||||||
|
|
||||||
Contains Sphinx features not activated by default.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
@ -1,17 +1,12 @@
|
|||||||
"""
|
"""Creates reST files corresponding to Python modules for code documentation.
|
||||||
sphinx.ext.apidoc
|
|
||||||
~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Parses a directory tree looking for Python modules and packages and creates
|
Parses a directory tree looking for Python modules and packages and creates
|
||||||
ReST files appropriately to create code documentation with Sphinx. It also
|
ReST files appropriately to create code documentation with Sphinx. It also
|
||||||
creates a modules index (named modules.<suffix>).
|
creates a modules index (named modules.<suffix>).
|
||||||
|
|
||||||
This is derived from the "sphinx-autopackage" script, which is:
|
This is derived from the "sphinx-autopackage" script, which is:
|
||||||
Copyright 2008 Société des arts technologiques (SAT),
|
Copyright 2008 Société des arts technologiques (SAT),
|
||||||
https://sat.qc.ca/
|
https://sat.qc.ca/
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
|
@ -1,13 +1,8 @@
|
|||||||
"""
|
"""Extension to create automatic documentation from code docstrings.
|
||||||
sphinx.ext.autodoc
|
|
||||||
~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Automatically insert docstrings for functions, classes or whole modules into
|
Automatically insert docstrings for functions, classes or whole modules into
|
||||||
the doctree, thus avoiding duplication between docstrings and documentation
|
the doctree, thus avoiding duplication between docstrings and documentation
|
||||||
for those who like elaborate docstrings.
|
for those who like elaborate docstrings.
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import re
|
import re
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""The deprecated Documenters for autodoc."""
|
||||||
sphinx.ext.autodoc.deprecated
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
The deprecated Documenters for autodoc.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
@ -1,11 +1,3 @@
|
|||||||
"""
|
|
||||||
sphinx.ext.autodoc.directive
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
from typing import Any, Callable, Dict, List, Set, Type
|
from typing import Any, Callable, Dict, List, Set, Type
|
||||||
|
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Importer utilities for autodoc"""
|
||||||
sphinx.ext.autodoc.importer
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Importer utilities for autodoc
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import importlib
|
import importlib
|
||||||
import traceback
|
import traceback
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""mock for autodoc"""
|
||||||
sphinx.ext.autodoc.mock
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
mock for autodoc
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import contextlib
|
import contextlib
|
||||||
import os
|
import os
|
||||||
|
@ -1,12 +1,7 @@
|
|||||||
"""
|
"""Preserve function defaults.
|
||||||
sphinx.ext.autodoc.preserve_defaults
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Preserve the default argument values of function signatures in source code
|
Preserve the default argument values of function signatures in source code
|
||||||
and keep them not evaluated for readability.
|
and keep them not evaluated for readability.
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import ast
|
import ast
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Update annotations info of living objects using type_comments."""
|
||||||
sphinx.ext.autodoc.type_comment
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Update annotations info of living objects using type_comments.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from inspect import Parameter, Signature, getsource
|
from inspect import Parameter, Signature, getsource
|
||||||
from typing import Any, Dict, List, cast
|
from typing import Any, Dict, List, cast
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Generating content for autodoc using typehints"""
|
||||||
sphinx.ext.autodoc.typehints
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Generating content for autodoc using typehints
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Allow reference sections by :ref: role using its title."""
|
||||||
sphinx.ext.autosectionlabel
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Allow reference sections by :ref: role using its title.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Any, Dict, cast
|
from typing import Any, Dict, cast
|
||||||
|
|
||||||
|
@ -1,55 +1,49 @@
|
|||||||
"""
|
"""Extension that adds an autosummary:: directive.
|
||||||
sphinx.ext.autosummary
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Sphinx extension that adds an autosummary:: directive, which can be
|
The directive can be used to generate function/method/attribute/etc. summary
|
||||||
used to generate function/method/attribute/etc. summary lists, similar
|
lists, similar to those output eg. by Epydoc and other API doc generation tools.
|
||||||
to those output eg. by Epydoc and other API doc generation tools.
|
|
||||||
|
|
||||||
An :autolink: role is also provided.
|
An :autolink: role is also provided.
|
||||||
|
|
||||||
autosummary directive
|
autosummary directive
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
The autosummary directive has the form::
|
The autosummary directive has the form::
|
||||||
|
|
||||||
.. autosummary::
|
.. autosummary::
|
||||||
:nosignatures:
|
:nosignatures:
|
||||||
:toctree: generated/
|
:toctree: generated/
|
||||||
|
|
||||||
module.function_1
|
module.function_1
|
||||||
module.function_2
|
module.function_2
|
||||||
...
|
...
|
||||||
|
|
||||||
and it generates an output table (containing signatures, optionally)
|
and it generates an output table (containing signatures, optionally)
|
||||||
|
|
||||||
======================== =============================================
|
======================== =============================================
|
||||||
module.function_1(args) Summary line from the docstring of function_1
|
module.function_1(args) Summary line from the docstring of function_1
|
||||||
module.function_2(args) Summary line from the docstring
|
module.function_2(args) Summary line from the docstring
|
||||||
...
|
...
|
||||||
======================== =============================================
|
======================== =============================================
|
||||||
|
|
||||||
If the :toctree: option is specified, files matching the function names
|
If the :toctree: option is specified, files matching the function names
|
||||||
are inserted to the toctree with the given prefix:
|
are inserted to the toctree with the given prefix:
|
||||||
|
|
||||||
generated/module.function_1
|
generated/module.function_1
|
||||||
generated/module.function_2
|
generated/module.function_2
|
||||||
...
|
...
|
||||||
|
|
||||||
Note: The file names contain the module:: or currentmodule:: prefixes.
|
Note: The file names contain the module:: or currentmodule:: prefixes.
|
||||||
|
|
||||||
.. seealso:: autosummary_generate.py
|
.. seealso:: autosummary_generate.py
|
||||||
|
|
||||||
|
|
||||||
autolink role
|
autolink role
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
The autolink role functions as ``:obj:`` when the name referred can be
|
The autolink role functions as ``:obj:`` when the name referred can be
|
||||||
resolved to a Python object, and otherwise it becomes simple emphasis.
|
resolved to a Python object, and otherwise it becomes simple emphasis.
|
||||||
This can be used as the default role to make links 'smart'.
|
This can be used as the default role to make links 'smart'.
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import inspect
|
import inspect
|
||||||
|
@ -1,20 +1,15 @@
|
|||||||
"""
|
"""Generates reST source files for autosummary.
|
||||||
sphinx.ext.autosummary.generate
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Usable as a library or script to generate automatic RST source files for
|
Usable as a library or script to generate automatic RST source files for
|
||||||
items referred to in autosummary:: directives.
|
items referred to in autosummary:: directives.
|
||||||
|
|
||||||
Each generated RST file contains a single auto*:: directive which
|
Each generated RST file contains a single auto*:: directive which
|
||||||
extracts the docstring of the referred item.
|
extracts the docstring of the referred item.
|
||||||
|
|
||||||
Example Makefile rule::
|
Example Makefile rule::
|
||||||
|
|
||||||
generate:
|
generate:
|
||||||
sphinx-autogen -o source/generated source/*.rst
|
sphinx-autogen -o source/generated source/*.rst
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
|
@ -1,12 +1,7 @@
|
|||||||
"""
|
"""Check Python modules and C API for coverage.
|
||||||
sphinx.ext.coverage
|
|
||||||
~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Check Python modules and C API for coverage. Mostly written by Josip
|
Mostly written by Josip Dzolonga for the Google Highly Open Participation
|
||||||
Dzolonga for the Google Highly Open Participation contest.
|
contest.
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import glob
|
import glob
|
||||||
|
@ -1,12 +1,6 @@
|
|||||||
"""
|
"""Mimic doctest in Sphinx.
|
||||||
sphinx.ext.doctest
|
|
||||||
~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Mimic doctest by automatically executing code snippets and checking
|
The extension automatically execute code snippets and checks their results.
|
||||||
their results.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import doctest
|
import doctest
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Measure durations of Sphinx processing."""
|
||||||
sphinx.ext.duration
|
|
||||||
~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Measure durations of Sphinx processing.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
from itertools import islice
|
from itertools import islice
|
||||||
|
@ -1,28 +1,20 @@
|
|||||||
"""
|
"""Extension to save typing and prevent hard-coding of base URLs in reST files.
|
||||||
sphinx.ext.extlinks
|
|
||||||
~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Extension to save typing and prevent hard-coding of base URLs in the reST
|
This adds a new config value called ``extlinks`` that is created like this::
|
||||||
files.
|
|
||||||
|
|
||||||
This adds a new config value called ``extlinks`` that is created like this::
|
extlinks = {'exmpl': ('https://example.invalid/%s.html', caption), ...}
|
||||||
|
|
||||||
extlinks = {'exmpl': ('https://example.invalid/%s.html', caption), ...}
|
Now you can use e.g. :exmpl:`foo` in your documents. This will create a
|
||||||
|
link to ``https://example.invalid/foo.html``. The link caption depends on
|
||||||
|
the *caption* value given:
|
||||||
|
|
||||||
Now you can use e.g. :exmpl:`foo` in your documents. This will create a
|
- If it is ``None``, the caption will be the full URL.
|
||||||
link to ``https://example.invalid/foo.html``. The link caption depends on
|
- If it is a string, it must contain ``%s`` exactly once. In this case the
|
||||||
the *caption* value given:
|
caption will be *caption* with the role content substituted for ``%s``.
|
||||||
|
|
||||||
- If it is ``None``, the caption will be the full URL.
|
You can also give an explicit caption, e.g. :exmpl:`Foo <foo>`.
|
||||||
- If it is a string, it must contain ``%s`` exactly once. In this case the
|
|
||||||
caption will be *caption* with the role content substituted for ``%s``.
|
|
||||||
|
|
||||||
You can also give an explicit caption, e.g. :exmpl:`Foo <foo>`.
|
Both, the url string and the caption string must escape ``%`` as ``%%``.
|
||||||
|
|
||||||
Both, the url string and the caption string must escape ``%`` as ``%%``.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import re
|
import re
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""To publish HTML docs at GitHub Pages, create .nojekyll file."""
|
||||||
sphinx.ext.githubpages
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
To publish HTML docs at GitHub Pages, create .nojekyll file.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import urllib
|
import urllib
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Allow graphviz-formatted graphs to be included inline in generated documents.
|
||||||
sphinx.ext.graphviz
|
|
||||||
~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Allow graphviz-formatted graphs to be included in Sphinx-generated
|
|
||||||
documents inline.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import posixpath
|
import posixpath
|
||||||
|
@ -1,22 +1,17 @@
|
|||||||
"""
|
"""Provides the ``ifconfig`` directive.
|
||||||
sphinx.ext.ifconfig
|
|
||||||
~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Provides the ``ifconfig`` directive that allows to write documentation
|
The ``ifconfig`` directive enables writing documentation
|
||||||
that is included depending on configuration variables.
|
that is included depending on configuration variables.
|
||||||
|
|
||||||
Usage::
|
Usage::
|
||||||
|
|
||||||
.. ifconfig:: releaselevel in ('alpha', 'beta', 'rc')
|
.. ifconfig:: releaselevel in ('alpha', 'beta', 'rc')
|
||||||
|
|
||||||
This stuff is only included in the built docs for unstable versions.
|
This stuff is only included in the built docs for unstable versions.
|
||||||
|
|
||||||
The argument for ``ifconfig`` is a plain Python expression, evaluated in the
|
The argument for ``ifconfig`` is a plain Python expression, evaluated in the
|
||||||
namespace of the project configuration (that is, all variables from
|
namespace of the project configuration (that is, all variables from
|
||||||
``conf.py`` are available.)
|
``conf.py`` are available.)
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from typing import Any, Dict, List
|
from typing import Any, Dict, List
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Image converter extension for Sphinx"""
|
||||||
sphinx.ext.imgconverter
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Image converter extension for Sphinx
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Render math in HTML via dvipng or dvisvgm."""
|
||||||
sphinx.ext.imgmath
|
|
||||||
~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Render math in HTML via dvipng or dvisvgm.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import posixpath
|
import posixpath
|
||||||
import re
|
import re
|
||||||
|
@ -1,38 +1,31 @@
|
|||||||
r"""
|
r"""Defines a docutils directive for inserting inheritance diagrams.
|
||||||
sphinx.ext.inheritance_diagram
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Defines a docutils directive for inserting inheritance diagrams.
|
Provide the directive with one or more classes or modules (separated
|
||||||
|
by whitespace). For modules, all of the classes in that module will
|
||||||
|
be used.
|
||||||
|
|
||||||
Provide the directive with one or more classes or modules (separated
|
Example::
|
||||||
by whitespace). For modules, all of the classes in that module will
|
|
||||||
be used.
|
|
||||||
|
|
||||||
Example::
|
Given the following classes:
|
||||||
|
|
||||||
Given the following classes:
|
class A: pass
|
||||||
|
class B(A): pass
|
||||||
|
class C(A): pass
|
||||||
|
class D(B, C): pass
|
||||||
|
class E(B): pass
|
||||||
|
|
||||||
class A: pass
|
.. inheritance-diagram: D E
|
||||||
class B(A): pass
|
|
||||||
class C(A): pass
|
|
||||||
class D(B, C): pass
|
|
||||||
class E(B): pass
|
|
||||||
|
|
||||||
.. inheritance-diagram: D E
|
Produces a graph like the following:
|
||||||
|
|
||||||
Produces a graph like the following:
|
A
|
||||||
|
/ \
|
||||||
|
B C
|
||||||
|
/ \ /
|
||||||
|
E D
|
||||||
|
|
||||||
A
|
The graph is inserted as a PNG+image map into HTML and a PDF in
|
||||||
/ \
|
LaTeX.
|
||||||
B C
|
|
||||||
/ \ /
|
|
||||||
E D
|
|
||||||
|
|
||||||
The graph is inserted as a PNG+image map into HTML and a PDF in
|
|
||||||
LaTeX.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import builtins
|
import builtins
|
||||||
|
@ -1,26 +1,19 @@
|
|||||||
"""
|
"""Insert links to objects documented in remote Sphinx documentation.
|
||||||
sphinx.ext.intersphinx
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Insert links to objects documented in remote Sphinx documentation.
|
This works as follows:
|
||||||
|
|
||||||
This works as follows:
|
* Each Sphinx HTML build creates a file named "objects.inv" that contains a
|
||||||
|
mapping from object names to URIs relative to the HTML set's root.
|
||||||
|
|
||||||
* Each Sphinx HTML build creates a file named "objects.inv" that contains a
|
* Projects using the Intersphinx extension can specify links to such mapping
|
||||||
mapping from object names to URIs relative to the HTML set's root.
|
files in the `intersphinx_mapping` config value. The mapping will then be
|
||||||
|
used to resolve otherwise missing references to objects into links to the
|
||||||
|
other documentation.
|
||||||
|
|
||||||
* Projects using the Intersphinx extension can specify links to such mapping
|
* By default, the mapping file is assumed to be at the same location as the
|
||||||
files in the `intersphinx_mapping` config value. The mapping will then be
|
rest of the documentation; however, the location of the mapping file can
|
||||||
used to resolve otherwise missing references to objects into links to the
|
also be specified individually, e.g. if the docs should be buildable
|
||||||
other documentation.
|
without Internet access.
|
||||||
|
|
||||||
* By default, the mapping file is assumed to be at the same location as the
|
|
||||||
rest of the documentation; however, the location of the mapping file can
|
|
||||||
also be specified individually, e.g. if the docs should be buildable
|
|
||||||
without Internet access.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import concurrent.futures
|
import concurrent.futures
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Add external links to module code in Python object descriptions."""
|
||||||
sphinx.ext.linkcode
|
|
||||||
~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Add external links to module code in Python object descriptions.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Any, Dict, Set
|
from typing import Any, Dict, Set
|
||||||
|
|
||||||
|
@ -1,13 +1,8 @@
|
|||||||
"""
|
"""Allow `MathJax`_ to be used to display math in Sphinx's HTML writer.
|
||||||
sphinx.ext.mathjax
|
|
||||||
~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Allow `MathJax <https://www.mathjax.org/>`_ to be used to display math in
|
This requires the MathJax JavaScript library on your webserver/computer.
|
||||||
Sphinx's HTML writer -- requires the MathJax JavaScript library on your
|
|
||||||
webserver/computer.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
.. _MathJax: https://www.mathjax.org/
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import json
|
import json
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Support for NumPy and Google style docstrings."""
|
||||||
sphinx.ext.napoleon
|
|
||||||
~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Support for NumPy and Google style docstrings.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Any, Dict, List
|
from typing import Any, Dict, List
|
||||||
|
|
||||||
|
@ -1,14 +1,4 @@
|
|||||||
"""
|
"""Classes for docstring parsing and formatting."""
|
||||||
sphinx.ext.napoleon.docstring
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
|
|
||||||
Classes for docstring parsing and formatting.
|
|
||||||
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import collections
|
import collections
|
||||||
import inspect
|
import inspect
|
||||||
|
@ -1,14 +1,4 @@
|
|||||||
"""
|
"""A collection of helpful iterators."""
|
||||||
sphinx.ext.napoleon.iterators
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
|
|
||||||
A collection of helpful iterators.
|
|
||||||
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import collections
|
import collections
|
||||||
from typing import Any, Iterable, Optional
|
from typing import Any, Iterable, Optional
|
||||||
|
@ -1,14 +1,8 @@
|
|||||||
"""
|
"""Allow todos to be inserted into your documentation.
|
||||||
sphinx.ext.todo
|
|
||||||
~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Allow todos to be inserted into your documentation. Inclusion of todos can
|
Inclusion of todos can be switched of by a configuration variable.
|
||||||
be switched of by a configuration variable. The todolist directive collects
|
The todolist directive collects all todos of your project and lists them along
|
||||||
all todos of your project and lists them along with a backlink to the
|
with a backlink to the original location.
|
||||||
original location.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from typing import Any, Dict, List, Tuple, cast
|
from typing import Any, Dict, List, Tuple, cast
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Add links to module code in Python object descriptions."""
|
||||||
sphinx.ext.viewcode
|
|
||||||
~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Add links to module code in Python object descriptions.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import posixpath
|
import posixpath
|
||||||
import traceback
|
import traceback
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Utilities for Sphinx extensions."""
|
||||||
sphinx.extension
|
|
||||||
~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Utilities for Sphinx extensions.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import TYPE_CHECKING, Any, Dict
|
from typing import TYPE_CHECKING, Any, Dict
|
||||||
|
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Highlight code blocks using Pygments."""
|
||||||
sphinx.highlighting
|
|
||||||
~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Highlight code blocks using Pygments.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from functools import partial
|
from functools import partial
|
||||||
from importlib import import_module
|
from importlib import import_module
|
||||||
|
10
sphinx/io.py
10
sphinx/io.py
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Input/Output files"""
|
||||||
sphinx.io
|
|
||||||
~~~~~~~~~
|
|
||||||
|
|
||||||
Input/Output files
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
import codecs
|
import codecs
|
||||||
from typing import TYPE_CHECKING, Any, List, Type
|
from typing import TYPE_CHECKING, Any, List, Type
|
||||||
|
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Glue code for the jinja2 templating engine."""
|
||||||
sphinx.jinja2glue
|
|
||||||
~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Glue code for the jinja2 templating engine.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from os import path
|
from os import path
|
||||||
from pprint import pformat
|
from pprint import pformat
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Locale utilities."""
|
||||||
sphinx.locale
|
|
||||||
~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Locale utilities.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import gettext
|
import gettext
|
||||||
import locale
|
import locale
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""A Base class for additional parsers."""
|
||||||
sphinx.parsers
|
|
||||||
~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
A Base class for additional parsers.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
from typing import TYPE_CHECKING, Any, Dict, List, Type, Union
|
from typing import TYPE_CHECKING, Any, Dict, List, Type, Union
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Utility function and classes for Sphinx projects."""
|
||||||
sphinx.project
|
|
||||||
~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Utility function and classes for Sphinx projects.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from glob import glob
|
from glob import glob
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
"""
|
"""Utilities parsing and analyzing Python code."""
|
||||||
sphinx.pycode
|
|
||||||
~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Utilities parsing and analyzing Python code.
|
|
||||||
|
|
||||||
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
|
|
||||||
:license: BSD, see LICENSE for details.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import tokenize
|
import tokenize
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user