Remove copyright and licence fields

This commit is contained in:
Adam Turner
2022-02-20 02:59:02 +00:00
parent b691ebcc3e
commit 6bb7b891a1
279 changed files with 2 additions and 854 deletions

View File

@@ -1,7 +1,4 @@
"""The Sphinx documentation toolchain. """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!

View File

@@ -1,7 +1,4 @@
"""The Sphinx documentation toolchain. """The Sphinx documentation toolchain.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
""" """
import sys import sys

View File

@@ -1,7 +1,4 @@
"""Additional docutils nodes. """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

View File

@@ -1,9 +1,6 @@
"""Sphinx application class and extensibility interface. """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

View File

@@ -1,7 +1,4 @@
"""Builder superclass for all 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

View File

@@ -1,7 +1,4 @@
"""Base class of epub2/epub3 builders. """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

View File

@@ -1,7 +1,4 @@
"""Changelog builder. """Changelog builder.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
""" """
import html import html

View File

@@ -1,7 +1,4 @@
"""Directory HTML builders. """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

View File

@@ -1,7 +1,4 @@
"""Do syntax checks, but no writing. """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

View File

@@ -1,9 +1,6 @@
"""Build epub3 files. """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

View File

@@ -1,7 +1,4 @@
"""The MessageCatalogBuilder class. """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

View File

@@ -1,7 +1,4 @@
"""Several HTML builders. """Several HTML builders.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
""" """
import html import html

View File

@@ -1,7 +1,4 @@
"""Transforms for HTML builder. """Transforms for HTML builder.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
""" """
import re import re

View File

@@ -1,7 +1,4 @@
"""LaTeX builder. """LaTeX builder.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
""" """
import os import os

View File

@@ -1,7 +1,4 @@
"""consntants for LaTeX builder. """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

View File

@@ -1,7 +1,4 @@
"""Additional nodes for LaTeX writer. """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

View File

@@ -1,7 +1,4 @@
"""Theming support for LaTeX builder. """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

View File

@@ -1,7 +1,4 @@
"""Transforms for LaTeX builder. """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

View File

@@ -1,7 +1,4 @@
"""Utilities for LaTeX builder. """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

View File

@@ -1,7 +1,4 @@
"""The CheckExternalLinksBuilder class. """The CheckExternalLinksBuilder class.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
""" """
import json import json

View File

@@ -1,7 +1,4 @@
"""Manual pages builder. """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

View File

@@ -1,7 +1,4 @@
"""Single HTML builders. """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

View File

@@ -1,7 +1,4 @@
"""Texinfo builder. """Texinfo builder.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
""" """
import os import os

View File

@@ -1,7 +1,4 @@
"""Plain-text Sphinx builder. """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

View File

@@ -1,7 +1,4 @@
"""Docutils-native XML and pseudo-XML builders. """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

View File

@@ -1,5 +1,2 @@
"""Modules for command line executables. """Modules for command line executables.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
""" """

View File

@@ -1,7 +1,4 @@
"""Build documentation from a provided source. """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

View File

@@ -5,9 +5,6 @@ of Makefile / make.bat.
This is in its own module so that importing it is fast. It should not 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). 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

View File

@@ -1,7 +1,4 @@
"""Quickly setup documentation source to work with Sphinx. """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

View File

@@ -1,7 +1,4 @@
"""Build configuration file handling. """Build configuration file handling.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
""" """
import re import re

View File

@@ -1,7 +1,4 @@
"""Sphinx deprecation classes and utilities. """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

View File

@@ -1,7 +1,4 @@
"""Handlers for additional ReST 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

View File

@@ -1,8 +1,3 @@
"""
: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

View File

@@ -1,8 +1,3 @@
"""
: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

View File

@@ -1,8 +1,3 @@
"""
: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

View File

@@ -2,9 +2,6 @@
Domains 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

View File

@@ -1,7 +1,4 @@
"""The C language domain. """The C language domain.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
""" """
import re import re

View File

@@ -1,7 +1,4 @@
"""The changeset domain. """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

View File

@@ -1,7 +1,4 @@
"""The citation domain. """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

View File

@@ -1,7 +1,4 @@
"""The C++ language domain. """The C++ language domain.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
""" """
import re import re

View File

@@ -1,7 +1,4 @@
"""The index domain. """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

View File

@@ -1,7 +1,4 @@
"""The JavaScript domain. """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

View File

@@ -1,7 +1,4 @@
"""The math domain. """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

View File

@@ -1,7 +1,4 @@
"""The Python domain. """The Python domain.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
""" """
import builtins import builtins

View File

@@ -1,7 +1,4 @@
"""The reStructuredText domain. """The reStructuredText domain.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
""" """
import re import re

View File

@@ -1,7 +1,4 @@
"""The standard domain. """The standard domain.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
""" """
import re import re

View File

@@ -1,7 +1,4 @@
"""Global creation environment. """Global creation environment.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
""" """
import os import os

View File

@@ -1,5 +1,2 @@
"""Sphinx environment adapters """Sphinx environment adapters
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
""" """

View File

@@ -1,7 +1,4 @@
"""Assets adapter for sphinx.environment. """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

View File

@@ -1,7 +1,4 @@
"""Index entries adapters for sphinx.environment. """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

View File

@@ -1,7 +1,4 @@
"""Toctree adapter for sphinx.environment. """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

View File

@@ -1,7 +1,4 @@
"""The data collector components for sphinx.environment. """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

View File

@@ -1,7 +1,4 @@
"""The image collector for sphinx.environment. """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

View File

@@ -1,7 +1,4 @@
"""The dependencies collector components for sphinx.environment. """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

View File

@@ -1,7 +1,4 @@
"""The metadata collector components for sphinx.environment. """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

View File

@@ -1,7 +1,4 @@
"""The title collector components for sphinx.environment. """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

View File

@@ -1,7 +1,4 @@
"""Toctree collector for sphinx.environment. """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

View File

@@ -1,7 +1,4 @@
"""Contains SphinxError and a few subclasses. """Contains SphinxError and a few subclasses.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
""" """
from typing import Any from typing import Any

View File

@@ -1,9 +1,6 @@
"""Sphinx core 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

View File

@@ -1,5 +1,2 @@
"""Contains Sphinx features not activated by default. """Contains Sphinx features not activated by default.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
""" """

View File

@@ -7,9 +7,6 @@ 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

View File

@@ -3,9 +3,6 @@
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

View File

@@ -1,7 +1,4 @@
"""The deprecated Documenters for autodoc. """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

View File

@@ -1,8 +1,3 @@
"""
: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

View File

@@ -1,7 +1,4 @@
"""Importer utilities for autodoc """Importer utilities for autodoc
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
""" """
import importlib import importlib

View File

@@ -1,7 +1,4 @@
"""mock for autodoc """mock for autodoc
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
""" """
import contextlib import contextlib

View File

@@ -2,9 +2,6 @@
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

View File

@@ -1,7 +1,4 @@
"""Update annotations info of living objects using type_comments. """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

View File

@@ -1,7 +1,4 @@
"""Generating content for autodoc using 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

View File

@@ -1,7 +1,4 @@
"""Allow reference sections by :ref: role using its title. """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

View File

@@ -44,9 +44,6 @@ 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

View File

@@ -10,9 +10,6 @@ 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

View File

@@ -2,9 +2,6 @@
Mostly written by Josip Dzolonga for the Google Highly Open Participation Mostly written by Josip 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

View File

@@ -1,9 +1,6 @@
"""Mimic doctest in Sphinx. """Mimic doctest in Sphinx.
The extension automatically execute code snippets and checks their results. The extension automatically execute code snippets and checks their results.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
""" """
import doctest import doctest

View File

@@ -1,7 +1,4 @@
"""Measure durations of Sphinx processing. """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

View File

@@ -15,9 +15,6 @@ the *caption* value given:
You can also give an explicit caption, e.g. :exmpl:`Foo <foo>`. 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

View File

@@ -1,7 +1,4 @@
"""To publish HTML docs at GitHub Pages, create .nojekyll file. """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

View File

@@ -1,7 +1,4 @@
"""Allow graphviz-formatted graphs to be included inline in generated documents. """Allow graphviz-formatted graphs to be included inline in generated documents.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
""" """
import posixpath import posixpath

View File

@@ -12,9 +12,6 @@ Usage::
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

View File

@@ -1,7 +1,4 @@
"""Image converter extension for Sphinx """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

View File

@@ -1,7 +1,4 @@
"""Render math in HTML via dvipng or dvisvgm. """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

View File

@@ -26,9 +26,6 @@ Example::
The graph is inserted as a PNG+image map into HTML and a PDF in The graph is inserted as a PNG+image map into HTML and a PDF in
LaTeX. LaTeX.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
""" """
import builtins import builtins

View File

@@ -14,9 +14,6 @@ This works as follows:
rest of the documentation; however, the location of the mapping file can rest of the documentation; however, the location of the mapping file can
also be specified individually, e.g. if the docs should be buildable also be specified individually, e.g. if the docs should be buildable
without Internet access. 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

View File

@@ -1,7 +1,4 @@
"""Add external links to module code in Python object descriptions. """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

View File

@@ -3,9 +3,6 @@
This requires the MathJax JavaScript library on your webserver/computer. This requires the MathJax JavaScript library on your webserver/computer.
.. _MathJax: https://www.mathjax.org/ .. _MathJax: https://www.mathjax.org/
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
""" """
import json import json

View File

@@ -1,7 +1,4 @@
"""Support for NumPy and Google style docstrings. """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

View File

@@ -2,9 +2,6 @@
Classes for docstring parsing and formatting. 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

View File

@@ -2,9 +2,6 @@
A collection of helpful 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

View File

@@ -3,9 +3,6 @@
Inclusion of todos can be switched of by a configuration variable. Inclusion of todos can be switched of by a configuration variable.
The todolist directive collects all todos of your project and lists them along The todolist directive collects all todos of your project and lists them along
with a backlink to the original location. with a backlink to the 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

View File

@@ -1,7 +1,4 @@
"""Add links to module code in Python object descriptions. """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

View File

@@ -1,7 +1,4 @@
"""Utilities for Sphinx extensions. """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

View File

@@ -1,7 +1,4 @@
"""Highlight code blocks using Pygments. """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

View File

@@ -1,7 +1,4 @@
"""Input/Output files """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

View File

@@ -1,7 +1,4 @@
"""Glue code for the jinja2 templating engine. """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

View File

@@ -1,7 +1,4 @@
"""Locale utilities. """Locale utilities.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
""" """
import gettext import gettext

View File

@@ -1,7 +1,4 @@
"""A Base class for additional 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

View File

@@ -1,7 +1,4 @@
"""Utility function and classes for Sphinx projects. """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

View File

@@ -1,7 +1,4 @@
"""Utilities parsing and analyzing Python code. """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

View File

@@ -1,7 +1,4 @@
"""Helpers for AST (Abstract Syntax Tree). """Helpers for AST (Abstract Syntax Tree).
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
""" """
import sys import sys

View File

@@ -1,7 +1,4 @@
"""Utilities parsing and analyzing Python code. """Utilities parsing and analyzing Python code.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
""" """
import inspect import inspect
import itertools import itertools

Some files were not shown because too many files have changed in this diff Show More