summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sphinx/__init__.py3
-rw-r--r--sphinx/__main__.py3
-rw-r--r--sphinx/addnodes.py3
-rw-r--r--sphinx/application.py3
-rw-r--r--sphinx/builders/__init__.py3
-rw-r--r--sphinx/builders/_epub_base.py3
-rw-r--r--sphinx/builders/changes.py3
-rw-r--r--sphinx/builders/dirhtml.py3
-rw-r--r--sphinx/builders/dummy.py3
-rw-r--r--sphinx/builders/epub3.py3
-rw-r--r--sphinx/builders/gettext.py3
-rw-r--r--sphinx/builders/html/__init__.py3
-rw-r--r--sphinx/builders/html/transforms.py3
-rw-r--r--sphinx/builders/latex/__init__.py3
-rw-r--r--sphinx/builders/latex/constants.py3
-rw-r--r--sphinx/builders/latex/nodes.py3
-rw-r--r--sphinx/builders/latex/theming.py3
-rw-r--r--sphinx/builders/latex/transforms.py3
-rw-r--r--sphinx/builders/latex/util.py3
-rw-r--r--sphinx/builders/linkcheck.py3
-rw-r--r--sphinx/builders/manpage.py3
-rw-r--r--sphinx/builders/singlehtml.py3
-rw-r--r--sphinx/builders/texinfo.py3
-rw-r--r--sphinx/builders/text.py3
-rw-r--r--sphinx/builders/xml.py3
-rw-r--r--sphinx/cmd/__init__.py3
-rw-r--r--sphinx/cmd/build.py3
-rw-r--r--sphinx/cmd/make_mode.py3
-rw-r--r--sphinx/cmd/quickstart.py3
-rw-r--r--sphinx/config.py3
-rw-r--r--sphinx/deprecation.py3
-rw-r--r--sphinx/directives/__init__.py3
-rw-r--r--sphinx/directives/code.py5
-rw-r--r--sphinx/directives/other.py5
-rw-r--r--sphinx/directives/patches.py5
-rw-r--r--sphinx/domains/__init__.py3
-rw-r--r--sphinx/domains/c.py3
-rw-r--r--sphinx/domains/changeset.py3
-rw-r--r--sphinx/domains/citation.py3
-rw-r--r--sphinx/domains/cpp.py3
-rw-r--r--sphinx/domains/index.py3
-rw-r--r--sphinx/domains/javascript.py3
-rw-r--r--sphinx/domains/math.py3
-rw-r--r--sphinx/domains/python.py3
-rw-r--r--sphinx/domains/rst.py3
-rw-r--r--sphinx/domains/std.py3
-rw-r--r--sphinx/environment/__init__.py3
-rw-r--r--sphinx/environment/adapters/__init__.py3
-rw-r--r--sphinx/environment/adapters/asset.py3
-rw-r--r--sphinx/environment/adapters/indexentries.py3
-rw-r--r--sphinx/environment/adapters/toctree.py3
-rw-r--r--sphinx/environment/collectors/__init__.py3
-rw-r--r--sphinx/environment/collectors/asset.py3
-rw-r--r--sphinx/environment/collectors/dependencies.py3
-rw-r--r--sphinx/environment/collectors/metadata.py3
-rw-r--r--sphinx/environment/collectors/title.py3
-rw-r--r--sphinx/environment/collectors/toctree.py3
-rw-r--r--sphinx/errors.py3
-rw-r--r--sphinx/events.py3
-rw-r--r--sphinx/ext/__init__.py3
-rw-r--r--sphinx/ext/apidoc.py3
-rw-r--r--sphinx/ext/autodoc/__init__.py3
-rw-r--r--sphinx/ext/autodoc/deprecated.py3
-rw-r--r--sphinx/ext/autodoc/directive.py5
-rw-r--r--sphinx/ext/autodoc/importer.py3
-rw-r--r--sphinx/ext/autodoc/mock.py3
-rw-r--r--sphinx/ext/autodoc/preserve_defaults.py3
-rw-r--r--sphinx/ext/autodoc/type_comment.py3
-rw-r--r--sphinx/ext/autodoc/typehints.py3
-rw-r--r--sphinx/ext/autosectionlabel.py3
-rw-r--r--sphinx/ext/autosummary/__init__.py3
-rw-r--r--sphinx/ext/autosummary/generate.py3
-rw-r--r--sphinx/ext/coverage.py3
-rw-r--r--sphinx/ext/doctest.py3
-rw-r--r--sphinx/ext/duration.py3
-rw-r--r--sphinx/ext/extlinks.py3
-rw-r--r--sphinx/ext/githubpages.py3
-rw-r--r--sphinx/ext/graphviz.py3
-rw-r--r--sphinx/ext/ifconfig.py3
-rw-r--r--sphinx/ext/imgconverter.py3
-rw-r--r--sphinx/ext/imgmath.py3
-rw-r--r--sphinx/ext/inheritance_diagram.py3
-rw-r--r--sphinx/ext/intersphinx.py3
-rw-r--r--sphinx/ext/linkcode.py3
-rw-r--r--sphinx/ext/mathjax.py3
-rw-r--r--sphinx/ext/napoleon/__init__.py3
-rw-r--r--sphinx/ext/napoleon/docstring.py3
-rw-r--r--sphinx/ext/napoleon/iterators.py3
-rw-r--r--sphinx/ext/todo.py3
-rw-r--r--sphinx/ext/viewcode.py3
-rw-r--r--sphinx/extension.py3
-rw-r--r--sphinx/highlighting.py3
-rw-r--r--sphinx/io.py3
-rw-r--r--sphinx/jinja2glue.py3
-rw-r--r--sphinx/locale/__init__.py3
-rw-r--r--sphinx/parsers.py3
-rw-r--r--sphinx/project.py3
-rw-r--r--sphinx/pycode/__init__.py3
-rw-r--r--sphinx/pycode/ast.py3
-rw-r--r--sphinx/pycode/parser.py3
-rw-r--r--sphinx/pygments_styles.py3
-rw-r--r--sphinx/registry.py3
-rw-r--r--sphinx/roles.py3
-rw-r--r--sphinx/search/__init__.py3
-rw-r--r--sphinx/search/da.py3
-rw-r--r--sphinx/search/de.py3
-rw-r--r--sphinx/search/en.py3
-rw-r--r--sphinx/search/es.py3
-rw-r--r--sphinx/search/fi.py3
-rw-r--r--sphinx/search/fr.py3
-rw-r--r--sphinx/search/hu.py3
-rw-r--r--sphinx/search/it.py3
-rw-r--r--sphinx/search/ja.py3
-rw-r--r--sphinx/search/jssplitter.py3
-rw-r--r--sphinx/search/nl.py3
-rw-r--r--sphinx/search/no.py3
-rw-r--r--sphinx/search/pt.py3
-rw-r--r--sphinx/search/ro.py3
-rw-r--r--sphinx/search/ru.py3
-rw-r--r--sphinx/search/sv.py3
-rw-r--r--sphinx/search/tr.py3
-rw-r--r--sphinx/search/zh.py3
-rw-r--r--sphinx/setup_command.py5
-rw-r--r--sphinx/testing/__init__.py3
-rw-r--r--sphinx/testing/comparer.py3
-rw-r--r--sphinx/testing/fixtures.py3
-rw-r--r--sphinx/testing/path.py5
-rw-r--r--sphinx/testing/restructuredtext.py5
-rw-r--r--sphinx/testing/util.py3
-rw-r--r--sphinx/theming.py3
-rw-r--r--sphinx/transforms/__init__.py3
-rw-r--r--sphinx/transforms/compact_bullet_list.py3
-rw-r--r--sphinx/transforms/i18n.py3
-rw-r--r--sphinx/transforms/post_transforms/__init__.py3
-rw-r--r--sphinx/transforms/post_transforms/code.py3
-rw-r--r--sphinx/transforms/post_transforms/images.py3
-rw-r--r--sphinx/transforms/references.py3
-rw-r--r--sphinx/util/__init__.py3
-rw-r--r--sphinx/util/build_phase.py3
-rw-r--r--sphinx/util/cfamily.py3
-rw-r--r--sphinx/util/compat.py3
-rw-r--r--sphinx/util/console.py3
-rw-r--r--sphinx/util/docfields.py3
-rw-r--r--sphinx/util/docstrings.py3
-rw-r--r--sphinx/util/docutils.py3
-rw-r--r--sphinx/util/fileutil.py3
-rw-r--r--sphinx/util/i18n.py3
-rw-r--r--sphinx/util/images.py3
-rw-r--r--sphinx/util/inspect.py3
-rw-r--r--sphinx/util/inventory.py3
-rw-r--r--sphinx/util/jsdump.py3
-rw-r--r--sphinx/util/logging.py3
-rw-r--r--sphinx/util/matching.py3
-rw-r--r--sphinx/util/math.py3
-rw-r--r--sphinx/util/nodes.py3
-rw-r--r--sphinx/util/osutil.py3
-rw-r--r--sphinx/util/parallel.py3
-rw-r--r--sphinx/util/png.py3
-rw-r--r--sphinx/util/pycompat.py3
-rw-r--r--sphinx/util/requests.py3
-rw-r--r--sphinx/util/rst.py3
-rw-r--r--sphinx/util/stemmer/__init__.py3
-rw-r--r--sphinx/util/stemmer/porter.py2
-rw-r--r--sphinx/util/tags.py5
-rw-r--r--sphinx/util/template.py3
-rw-r--r--sphinx/util/texescape.py3
-rw-r--r--sphinx/util/typing.py3
-rw-r--r--sphinx/versioning.py3
-rw-r--r--sphinx/writers/__init__.py3
-rw-r--r--sphinx/writers/html.py3
-rw-r--r--sphinx/writers/html5.py3
-rw-r--r--sphinx/writers/latex.py3
-rw-r--r--sphinx/writers/manpage.py3
-rw-r--r--sphinx/writers/texinfo.py3
-rw-r--r--sphinx/writers/text.py3
-rw-r--r--sphinx/writers/xml.py3
-rw-r--r--tests/conftest.py5
-rw-r--r--tests/test_api_translator.py3
-rw-r--r--tests/test_application.py3
-rw-r--r--tests/test_build.py3
-rw-r--r--tests/test_build_changes.py3
-rw-r--r--tests/test_build_dirhtml.py3
-rw-r--r--tests/test_build_epub.py3
-rw-r--r--tests/test_build_gettext.py3
-rw-r--r--tests/test_build_html.py3
-rw-r--r--tests/test_build_latex.py3
-rw-r--r--tests/test_build_linkcheck.py3
-rw-r--r--tests/test_build_manpage.py3
-rw-r--r--tests/test_build_texinfo.py3
-rw-r--r--tests/test_build_text.py3
-rw-r--r--tests/test_builder.py3
-rw-r--r--tests/test_catalogs.py3
-rw-r--r--tests/test_config.py3
-rw-r--r--tests/test_correct_year.py3
-rw-r--r--tests/test_directive_code.py3
-rw-r--r--tests/test_directive_only.py3
-rw-r--r--tests/test_directive_other.py3
-rw-r--r--tests/test_directive_patch.py3
-rw-r--r--tests/test_docutilsconf.py3
-rw-r--r--tests/test_domain_c.py3
-rw-r--r--tests/test_domain_cpp.py3
-rw-r--r--tests/test_domain_js.py3
-rw-r--r--tests/test_domain_py.py3
-rw-r--r--tests/test_domain_rst.py3
-rw-r--r--tests/test_domain_std.py3
-rw-r--r--tests/test_environment.py3
-rw-r--r--tests/test_environment_indexentries.py3
-rw-r--r--tests/test_environment_toctree.py3
-rw-r--r--tests/test_events.py3
-rw-r--r--tests/test_ext_apidoc.py3
-rw-r--r--tests/test_ext_autodoc.py3
-rw-r--r--tests/test_ext_autodoc_autoattribute.py3
-rw-r--r--tests/test_ext_autodoc_autoclass.py3
-rw-r--r--tests/test_ext_autodoc_autodata.py3
-rw-r--r--tests/test_ext_autodoc_autofunction.py3
-rw-r--r--tests/test_ext_autodoc_automodule.py3
-rw-r--r--tests/test_ext_autodoc_autoproperty.py3
-rw-r--r--tests/test_ext_autodoc_configs.py3
-rw-r--r--tests/test_ext_autodoc_events.py3
-rw-r--r--tests/test_ext_autodoc_mock.py3
-rw-r--r--tests/test_ext_autodoc_preserve_defaults.py3
-rw-r--r--tests/test_ext_autodoc_private_members.py3
-rw-r--r--tests/test_ext_autosectionlabel.py3
-rw-r--r--tests/test_ext_autosummary.py3
-rw-r--r--tests/test_ext_coverage.py3
-rw-r--r--tests/test_ext_doctest.py3
-rw-r--r--tests/test_ext_duration.py3
-rw-r--r--tests/test_ext_githubpages.py3
-rw-r--r--tests/test_ext_graphviz.py3
-rw-r--r--tests/test_ext_ifconfig.py3
-rw-r--r--tests/test_ext_imgconverter.py3
-rw-r--r--tests/test_ext_inheritance_diagram.py3
-rw-r--r--tests/test_ext_intersphinx.py3
-rw-r--r--tests/test_ext_math.py3
-rw-r--r--tests/test_ext_napoleon.py3
-rw-r--r--tests/test_ext_napoleon_docstring.py3
-rw-r--r--tests/test_ext_napoleon_iterators.py3
-rw-r--r--tests/test_ext_todo.py3
-rw-r--r--tests/test_ext_viewcode.py3
-rw-r--r--tests/test_extension.py3
-rw-r--r--tests/test_highlighting.py3
-rw-r--r--tests/test_intl.py3
-rw-r--r--tests/test_locale.py3
-rw-r--r--tests/test_markup.py3
-rw-r--r--tests/test_metadata.py3
-rw-r--r--tests/test_parser.py3
-rw-r--r--tests/test_project.py3
-rw-r--r--tests/test_pycode.py3
-rw-r--r--tests/test_pycode_ast.py3
-rw-r--r--tests/test_pycode_parser.py3
-rw-r--r--tests/test_quickstart.py3
-rw-r--r--tests/test_roles.py3
-rw-r--r--tests/test_search.py3
-rw-r--r--tests/test_setup_command.py3
-rw-r--r--tests/test_smartquotes.py3
-rw-r--r--tests/test_templating.py3
-rw-r--r--tests/test_theming.py3
-rw-r--r--tests/test_toctree.py3
-rw-r--r--tests/test_transforms_post_transforms.py3
-rw-r--r--tests/test_transforms_post_transforms_code.py5
-rw-r--r--tests/test_util.py3
-rw-r--r--tests/test_util_docstrings.py3
-rw-r--r--tests/test_util_docutils.py3
-rw-r--r--tests/test_util_fileutil.py3
-rw-r--r--tests/test_util_i18n.py3
-rw-r--r--tests/test_util_images.py3
-rw-r--r--tests/test_util_inspect.py3
-rw-r--r--tests/test_util_inventory.py3
-rw-r--r--tests/test_util_logging.py3
-rw-r--r--tests/test_util_matching.py3
-rw-r--r--tests/test_util_nodes.py3
-rw-r--r--tests/test_util_rst.py3
-rw-r--r--tests/test_util_template.py3
-rw-r--r--tests/test_util_typing.py3
-rw-r--r--tests/test_versioning.py3
-rw-r--r--tests/test_writer_latex.py3
-rw-r--r--utils/checks.py3
-rw-r--r--utils/doclinter.py3
-rw-r--r--utils/jssplitter_generator.py3
279 files changed, 2 insertions, 854 deletions
diff --git a/sphinx/__init__.py b/sphinx/__init__.py
index d8612c478..a77d4b147 100644
--- a/sphinx/__init__.py
+++ b/sphinx/__init__.py
@@ -1,7 +1,4 @@
"""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!
diff --git a/sphinx/__main__.py b/sphinx/__main__.py
index adf352d83..5caff6510 100644
--- a/sphinx/__main__.py
+++ b/sphinx/__main__.py
@@ -1,7 +1,4 @@
"""The Sphinx documentation toolchain.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import sys
diff --git a/sphinx/addnodes.py b/sphinx/addnodes.py
index d089fd5e4..88545c820 100644
--- a/sphinx/addnodes.py
+++ b/sphinx/addnodes.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/application.py b/sphinx/application.py
index e6a743bd5..53bcc552a 100644
--- a/sphinx/application.py
+++ b/sphinx/application.py
@@ -1,9 +1,6 @@
"""Sphinx application class and extensibility interface.
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
diff --git a/sphinx/builders/__init__.py b/sphinx/builders/__init__.py
index f22524e1b..e99212dca 100644
--- a/sphinx/builders/__init__.py
+++ b/sphinx/builders/__init__.py
@@ -1,7 +1,4 @@
"""Builder superclass for all builders.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import pickle
diff --git a/sphinx/builders/_epub_base.py b/sphinx/builders/_epub_base.py
index ab8a8f42b..8dec8546f 100644
--- a/sphinx/builders/_epub_base.py
+++ b/sphinx/builders/_epub_base.py
@@ -1,7 +1,4 @@
"""Base class of epub2/epub3 builders.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import html
diff --git a/sphinx/builders/changes.py b/sphinx/builders/changes.py
index 0351d0283..5230f1a24 100644
--- a/sphinx/builders/changes.py
+++ b/sphinx/builders/changes.py
@@ -1,7 +1,4 @@
"""Changelog builder.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import html
diff --git a/sphinx/builders/dirhtml.py b/sphinx/builders/dirhtml.py
index e423d7f25..3397b9aaf 100644
--- a/sphinx/builders/dirhtml.py
+++ b/sphinx/builders/dirhtml.py
@@ -1,7 +1,4 @@
"""Directory HTML builders.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from os import path
diff --git a/sphinx/builders/dummy.py b/sphinx/builders/dummy.py
index cb9b51902..ae8bfa32a 100644
--- a/sphinx/builders/dummy.py
+++ b/sphinx/builders/dummy.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/builders/epub3.py b/sphinx/builders/epub3.py
index d172133ca..013955ed1 100644
--- a/sphinx/builders/epub3.py
+++ b/sphinx/builders/epub3.py
@@ -1,9 +1,6 @@
"""Build epub3 files.
Originally derived from epub.py.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import html
diff --git a/sphinx/builders/gettext.py b/sphinx/builders/gettext.py
index 20b61cdab..a8e9d25fd 100644
--- a/sphinx/builders/gettext.py
+++ b/sphinx/builders/gettext.py
@@ -1,7 +1,4 @@
"""The MessageCatalogBuilder class.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from codecs import open
diff --git a/sphinx/builders/html/__init__.py b/sphinx/builders/html/__init__.py
index 13ef56956..006f06505 100644
--- a/sphinx/builders/html/__init__.py
+++ b/sphinx/builders/html/__init__.py
@@ -1,7 +1,4 @@
"""Several HTML builders.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import html
diff --git a/sphinx/builders/html/transforms.py b/sphinx/builders/html/transforms.py
index b3670602d..74dd3c23d 100644
--- a/sphinx/builders/html/transforms.py
+++ b/sphinx/builders/html/transforms.py
@@ -1,7 +1,4 @@
"""Transforms for HTML builder.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/sphinx/builders/latex/__init__.py b/sphinx/builders/latex/__init__.py
index e8a50bd3d..4ee9279a2 100644
--- a/sphinx/builders/latex/__init__.py
+++ b/sphinx/builders/latex/__init__.py
@@ -1,7 +1,4 @@
"""LaTeX builder.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/sphinx/builders/latex/constants.py b/sphinx/builders/latex/constants.py
index a32778e46..d208f9a60 100644
--- a/sphinx/builders/latex/constants.py
+++ b/sphinx/builders/latex/constants.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/builders/latex/nodes.py b/sphinx/builders/latex/nodes.py
index 9432cfff9..adf0a0f63 100644
--- a/sphinx/builders/latex/nodes.py
+++ b/sphinx/builders/latex/nodes.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/builders/latex/theming.py b/sphinx/builders/latex/theming.py
index 3d0fa3b89..1f09ebd07 100644
--- a/sphinx/builders/latex/theming.py
+++ b/sphinx/builders/latex/theming.py
@@ -1,7 +1,4 @@
"""Theming support for LaTeX builder.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import configparser
diff --git a/sphinx/builders/latex/transforms.py b/sphinx/builders/latex/transforms.py
index f4ecf98b8..a4d6cc8e0 100644
--- a/sphinx/builders/latex/transforms.py
+++ b/sphinx/builders/latex/transforms.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/builders/latex/util.py b/sphinx/builders/latex/util.py
index 08f6b0fab..5419f2c1a 100644
--- a/sphinx/builders/latex/util.py
+++ b/sphinx/builders/latex/util.py
@@ -1,7 +1,4 @@
"""Utilities for LaTeX builder.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from typing import Optional
diff --git a/sphinx/builders/linkcheck.py b/sphinx/builders/linkcheck.py
index 23712122e..d9d0cb3d7 100644
--- a/sphinx/builders/linkcheck.py
+++ b/sphinx/builders/linkcheck.py
@@ -1,7 +1,4 @@
"""The CheckExternalLinksBuilder class.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import json
diff --git a/sphinx/builders/manpage.py b/sphinx/builders/manpage.py
index cbd24ae05..04c154dce 100644
--- a/sphinx/builders/manpage.py
+++ b/sphinx/builders/manpage.py
@@ -1,7 +1,4 @@
"""Manual pages builder.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from os import path
diff --git a/sphinx/builders/singlehtml.py b/sphinx/builders/singlehtml.py
index f65deab3f..1a9b6a7eb 100644
--- a/sphinx/builders/singlehtml.py
+++ b/sphinx/builders/singlehtml.py
@@ -1,7 +1,4 @@
"""Single HTML builders.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from os import path
diff --git a/sphinx/builders/texinfo.py b/sphinx/builders/texinfo.py
index a28939a93..6b42c4635 100644
--- a/sphinx/builders/texinfo.py
+++ b/sphinx/builders/texinfo.py
@@ -1,7 +1,4 @@
"""Texinfo builder.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/sphinx/builders/text.py b/sphinx/builders/text.py
index b6dd4c343..8da91d462 100644
--- a/sphinx/builders/text.py
+++ b/sphinx/builders/text.py
@@ -1,7 +1,4 @@
"""Plain-text Sphinx builder.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from os import path
diff --git a/sphinx/builders/xml.py b/sphinx/builders/xml.py
index a466fa917..e16bbe36a 100644
--- a/sphinx/builders/xml.py
+++ b/sphinx/builders/xml.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/cmd/__init__.py b/sphinx/cmd/__init__.py
index 7b22052c3..7b9ded4d3 100644
--- a/sphinx/cmd/__init__.py
+++ b/sphinx/cmd/__init__.py
@@ -1,5 +1,2 @@
"""Modules for command line executables.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
diff --git a/sphinx/cmd/build.py b/sphinx/cmd/build.py
index 8605bfd7e..2df308b9e 100644
--- a/sphinx/cmd/build.py
+++ b/sphinx/cmd/build.py
@@ -1,7 +1,4 @@
"""Build documentation from a provided source.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import argparse
diff --git a/sphinx/cmd/make_mode.py b/sphinx/cmd/make_mode.py
index 05945fb39..b8f3d33e1 100644
--- a/sphinx/cmd/make_mode.py
+++ b/sphinx/cmd/make_mode.py
@@ -5,9 +5,6 @@ of Makefile / make.bat.
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
diff --git a/sphinx/cmd/quickstart.py b/sphinx/cmd/quickstart.py
index 28b4d1618..6accb75d0 100644
--- a/sphinx/cmd/quickstart.py
+++ b/sphinx/cmd/quickstart.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/config.py b/sphinx/config.py
index 3b9eb61ba..ecbf7fa43 100644
--- a/sphinx/config.py
+++ b/sphinx/config.py
@@ -1,7 +1,4 @@
"""Build configuration file handling.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/sphinx/deprecation.py b/sphinx/deprecation.py
index f443b49d2..f08465d40 100644
--- a/sphinx/deprecation.py
+++ b/sphinx/deprecation.py
@@ -1,7 +1,4 @@
"""Sphinx deprecation classes and utilities.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import sys
diff --git a/sphinx/directives/__init__.py b/sphinx/directives/__init__.py
index 58230841e..a74717377 100644
--- a/sphinx/directives/__init__.py
+++ b/sphinx/directives/__init__.py
@@ -1,7 +1,4 @@
"""Handlers for additional ReST directives.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/sphinx/directives/code.py b/sphinx/directives/code.py
index da5873711..dc44ed314 100644
--- a/sphinx/directives/code.py
+++ b/sphinx/directives/code.py
@@ -1,8 +1,3 @@
-"""
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
-"""
-
import sys
import textwrap
from difflib import unified_diff
diff --git a/sphinx/directives/other.py b/sphinx/directives/other.py
index b2249719c..83cbb6707 100644
--- a/sphinx/directives/other.py
+++ b/sphinx/directives/other.py
@@ -1,8 +1,3 @@
-"""
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
-"""
-
import re
from typing import TYPE_CHECKING, Any, Dict, List, cast
diff --git a/sphinx/directives/patches.py b/sphinx/directives/patches.py
index 5502028d0..a01d78332 100644
--- a/sphinx/directives/patches.py
+++ b/sphinx/directives/patches.py
@@ -1,8 +1,3 @@
-"""
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
-"""
-
import os
import warnings
from os import path
diff --git a/sphinx/domains/__init__.py b/sphinx/domains/__init__.py
index ef41a53fb..f422b8b74 100644
--- a/sphinx/domains/__init__.py
+++ b/sphinx/domains/__init__.py
@@ -2,9 +2,6 @@
Domains are groupings of description directives
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
diff --git a/sphinx/domains/c.py b/sphinx/domains/c.py
index e0ab20cb1..ade5c4a6f 100644
--- a/sphinx/domains/c.py
+++ b/sphinx/domains/c.py
@@ -1,7 +1,4 @@
"""The C language domain.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/sphinx/domains/changeset.py b/sphinx/domains/changeset.py
index 6f9f9383d..e9891d480 100644
--- a/sphinx/domains/changeset.py
+++ b/sphinx/domains/changeset.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/domains/citation.py b/sphinx/domains/citation.py
index 53d56b205..e6043cc32 100644
--- a/sphinx/domains/citation.py
+++ b/sphinx/domains/citation.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/domains/cpp.py b/sphinx/domains/cpp.py
index 1918b3b6e..d504dc5bf 100644
--- a/sphinx/domains/cpp.py
+++ b/sphinx/domains/cpp.py
@@ -1,7 +1,4 @@
"""The C++ language domain.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/sphinx/domains/index.py b/sphinx/domains/index.py
index a82d27a69..81ffe36f5 100644
--- a/sphinx/domains/index.py
+++ b/sphinx/domains/index.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/domains/javascript.py b/sphinx/domains/javascript.py
index 40502456f..79dc3674f 100644
--- a/sphinx/domains/javascript.py
+++ b/sphinx/domains/javascript.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/domains/math.py b/sphinx/domains/math.py
index 0caecc858..ffece1f5d 100644
--- a/sphinx/domains/math.py
+++ b/sphinx/domains/math.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/domains/python.py b/sphinx/domains/python.py
index ea7964417..28e61ff46 100644
--- a/sphinx/domains/python.py
+++ b/sphinx/domains/python.py
@@ -1,7 +1,4 @@
"""The Python domain.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import builtins
diff --git a/sphinx/domains/rst.py b/sphinx/domains/rst.py
index f7265e3c6..9d5d82de9 100644
--- a/sphinx/domains/rst.py
+++ b/sphinx/domains/rst.py
@@ -1,7 +1,4 @@
"""The reStructuredText domain.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/sphinx/domains/std.py b/sphinx/domains/std.py
index 2f84ec7ce..50c872511 100644
--- a/sphinx/domains/std.py
+++ b/sphinx/domains/std.py
@@ -1,7 +1,4 @@
"""The standard domain.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/sphinx/environment/__init__.py b/sphinx/environment/__init__.py
index 64d4b92db..ef7bcae15 100644
--- a/sphinx/environment/__init__.py
+++ b/sphinx/environment/__init__.py
@@ -1,7 +1,4 @@
"""Global creation environment.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/sphinx/environment/adapters/__init__.py b/sphinx/environment/adapters/__init__.py
index 886b0c35a..03b8bde74 100644
--- a/sphinx/environment/adapters/__init__.py
+++ b/sphinx/environment/adapters/__init__.py
@@ -1,5 +1,2 @@
"""Sphinx environment adapters
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
diff --git a/sphinx/environment/adapters/asset.py b/sphinx/environment/adapters/asset.py
index 4a952eca7..29188b484 100644
--- a/sphinx/environment/adapters/asset.py
+++ b/sphinx/environment/adapters/asset.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/environment/adapters/indexentries.py b/sphinx/environment/adapters/indexentries.py
index af7f7b4b1..27a5f42b5 100644
--- a/sphinx/environment/adapters/indexentries.py
+++ b/sphinx/environment/adapters/indexentries.py
@@ -1,7 +1,4 @@
"""Index entries adapters for sphinx.environment.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/sphinx/environment/adapters/toctree.py b/sphinx/environment/adapters/toctree.py
index ec766d491..72ce7e295 100644
--- a/sphinx/environment/adapters/toctree.py
+++ b/sphinx/environment/adapters/toctree.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/environment/collectors/__init__.py b/sphinx/environment/collectors/__init__.py
index db8c45c1b..1da2c9807 100644
--- a/sphinx/environment/collectors/__init__.py
+++ b/sphinx/environment/collectors/__init__.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/environment/collectors/asset.py b/sphinx/environment/collectors/asset.py
index 0c296900d..2cb78adf6 100644
--- a/sphinx/environment/collectors/asset.py
+++ b/sphinx/environment/collectors/asset.py
@@ -1,7 +1,4 @@
"""The image collector for sphinx.environment.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/sphinx/environment/collectors/dependencies.py b/sphinx/environment/collectors/dependencies.py
index 7014600b4..6052ede5c 100644
--- a/sphinx/environment/collectors/dependencies.py
+++ b/sphinx/environment/collectors/dependencies.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/environment/collectors/metadata.py b/sphinx/environment/collectors/metadata.py
index feb2e48dc..4075e8bc7 100644
--- a/sphinx/environment/collectors/metadata.py
+++ b/sphinx/environment/collectors/metadata.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/environment/collectors/title.py b/sphinx/environment/collectors/title.py
index 01385bda5..46e6e5937 100644
--- a/sphinx/environment/collectors/title.py
+++ b/sphinx/environment/collectors/title.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/environment/collectors/toctree.py b/sphinx/environment/collectors/toctree.py
index 2df4267e3..6656f3937 100644
--- a/sphinx/environment/collectors/toctree.py
+++ b/sphinx/environment/collectors/toctree.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/errors.py b/sphinx/errors.py
index 7ac997d3a..c5f8ea2fe 100644
--- a/sphinx/errors.py
+++ b/sphinx/errors.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/events.py b/sphinx/events.py
index 29d238964..5302cd005 100644
--- a/sphinx/events.py
+++ b/sphinx/events.py
@@ -1,9 +1,6 @@
"""Sphinx core events.
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
diff --git a/sphinx/ext/__init__.py b/sphinx/ext/__init__.py
index e17fe0dbd..635c4be59 100644
--- a/sphinx/ext/__init__.py
+++ b/sphinx/ext/__init__.py
@@ -1,5 +1,2 @@
"""Contains Sphinx features not activated by default.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
diff --git a/sphinx/ext/apidoc.py b/sphinx/ext/apidoc.py
index 378eca221..68afc83b8 100644
--- a/sphinx/ext/apidoc.py
+++ b/sphinx/ext/apidoc.py
@@ -7,9 +7,6 @@ creates a modules index (named modules.<suffix>).
This is derived from the "sphinx-autopackage" script, which is:
Copyright 2008 Société des arts technologiques (SAT),
https://sat.qc.ca/
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import argparse
diff --git a/sphinx/ext/autodoc/__init__.py b/sphinx/ext/autodoc/__init__.py
index 0b794bbb9..9bea15866 100644
--- a/sphinx/ext/autodoc/__init__.py
+++ b/sphinx/ext/autodoc/__init__.py
@@ -3,9 +3,6 @@
Automatically insert docstrings for functions, classes or whole modules into
the doctree, thus avoiding duplication between docstrings and documentation
for those who like elaborate docstrings.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/sphinx/ext/autodoc/deprecated.py b/sphinx/ext/autodoc/deprecated.py
index d4399c2c9..c20de236c 100644
--- a/sphinx/ext/autodoc/deprecated.py
+++ b/sphinx/ext/autodoc/deprecated.py
@@ -1,7 +1,4 @@
"""The deprecated Documenters for autodoc.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import warnings
diff --git a/sphinx/ext/autodoc/directive.py b/sphinx/ext/autodoc/directive.py
index 3eeeba94f..2eb25536d 100644
--- a/sphinx/ext/autodoc/directive.py
+++ b/sphinx/ext/autodoc/directive.py
@@ -1,8 +1,3 @@
-"""
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
-"""
-
import warnings
from typing import Any, Callable, Dict, List, Set, Type
diff --git a/sphinx/ext/autodoc/importer.py b/sphinx/ext/autodoc/importer.py
index df5dd1b66..5d03c3f01 100644
--- a/sphinx/ext/autodoc/importer.py
+++ b/sphinx/ext/autodoc/importer.py
@@ -1,7 +1,4 @@
"""Importer utilities for autodoc
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import importlib
diff --git a/sphinx/ext/autodoc/mock.py b/sphinx/ext/autodoc/mock.py
index aa135e7b4..ae49b30f0 100644
--- a/sphinx/ext/autodoc/mock.py
+++ b/sphinx/ext/autodoc/mock.py
@@ -1,7 +1,4 @@
"""mock for autodoc
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import contextlib
diff --git a/sphinx/ext/autodoc/preserve_defaults.py b/sphinx/ext/autodoc/preserve_defaults.py
index 5526ada6d..313fe5501 100644
--- a/sphinx/ext/autodoc/preserve_defaults.py
+++ b/sphinx/ext/autodoc/preserve_defaults.py
@@ -2,9 +2,6 @@
Preserve the default argument values of function signatures in source code
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
diff --git a/sphinx/ext/autodoc/type_comment.py b/sphinx/ext/autodoc/type_comment.py
index 192e3c0c3..8578f282d 100644
--- a/sphinx/ext/autodoc/type_comment.py
+++ b/sphinx/ext/autodoc/type_comment.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/ext/autodoc/typehints.py b/sphinx/ext/autodoc/typehints.py
index 5532ade22..c9099198c 100644
--- a/sphinx/ext/autodoc/typehints.py
+++ b/sphinx/ext/autodoc/typehints.py
@@ -1,7 +1,4 @@
"""Generating content for autodoc using typehints
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/sphinx/ext/autosectionlabel.py b/sphinx/ext/autosectionlabel.py
index cfd976437..315a4d24b 100644
--- a/sphinx/ext/autosectionlabel.py
+++ b/sphinx/ext/autosectionlabel.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/ext/autosummary/__init__.py b/sphinx/ext/autosummary/__init__.py
index 5765300df..293803125 100644
--- a/sphinx/ext/autosummary/__init__.py
+++ b/sphinx/ext/autosummary/__init__.py
@@ -44,9 +44,6 @@ autolink role
The autolink role functions as ``:obj:`` when the name referred can be
resolved to a Python object, and otherwise it becomes simple emphasis.
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
diff --git a/sphinx/ext/autosummary/generate.py b/sphinx/ext/autosummary/generate.py
index 092efd13b..798c91e4c 100644
--- a/sphinx/ext/autosummary/generate.py
+++ b/sphinx/ext/autosummary/generate.py
@@ -10,9 +10,6 @@ Example Makefile rule::
generate:
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
diff --git a/sphinx/ext/coverage.py b/sphinx/ext/coverage.py
index 0cdbe80df..3ebd095c2 100644
--- a/sphinx/ext/coverage.py
+++ b/sphinx/ext/coverage.py
@@ -2,9 +2,6 @@
Mostly written by Josip Dzolonga for the Google Highly Open Participation
contest.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import glob
diff --git a/sphinx/ext/doctest.py b/sphinx/ext/doctest.py
index 8a7b94a93..0c02547e9 100644
--- a/sphinx/ext/doctest.py
+++ b/sphinx/ext/doctest.py
@@ -1,9 +1,6 @@
"""Mimic doctest in Sphinx.
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
diff --git a/sphinx/ext/duration.py b/sphinx/ext/duration.py
index eed1362f4..9be5d4d01 100644
--- a/sphinx/ext/duration.py
+++ b/sphinx/ext/duration.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/ext/extlinks.py b/sphinx/ext/extlinks.py
index 452c85034..4b476ec0a 100644
--- a/sphinx/ext/extlinks.py
+++ b/sphinx/ext/extlinks.py
@@ -15,9 +15,6 @@ the *caption* value given:
You can also give an explicit caption, e.g. :exmpl:`Foo <foo>`.
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
diff --git a/sphinx/ext/githubpages.py b/sphinx/ext/githubpages.py
index e30756124..0f6f53cc3 100644
--- a/sphinx/ext/githubpages.py
+++ b/sphinx/ext/githubpages.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/ext/graphviz.py b/sphinx/ext/graphviz.py
index 0cb85a2b9..b4a69a0f2 100644
--- a/sphinx/ext/graphviz.py
+++ b/sphinx/ext/graphviz.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/ext/ifconfig.py b/sphinx/ext/ifconfig.py
index 0d97a1189..bffaa49ff 100644
--- a/sphinx/ext/ifconfig.py
+++ b/sphinx/ext/ifconfig.py
@@ -12,9 +12,6 @@ Usage::
The argument for ``ifconfig`` is a plain Python expression, evaluated in the
namespace of the project configuration (that is, all variables from
``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
diff --git a/sphinx/ext/imgconverter.py b/sphinx/ext/imgconverter.py
index 40e3c2c18..47782c06c 100644
--- a/sphinx/ext/imgconverter.py
+++ b/sphinx/ext/imgconverter.py
@@ -1,7 +1,4 @@
"""Image converter extension for Sphinx
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import subprocess
diff --git a/sphinx/ext/imgmath.py b/sphinx/ext/imgmath.py
index b95f3c71d..29e69f45c 100644
--- a/sphinx/ext/imgmath.py
+++ b/sphinx/ext/imgmath.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/ext/inheritance_diagram.py b/sphinx/ext/inheritance_diagram.py
index 802f91b76..c8a3dc763 100644
--- a/sphinx/ext/inheritance_diagram.py
+++ b/sphinx/ext/inheritance_diagram.py
@@ -26,9 +26,6 @@ Example::
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
diff --git a/sphinx/ext/intersphinx.py b/sphinx/ext/intersphinx.py
index 57802442a..64e296c39 100644
--- a/sphinx/ext/intersphinx.py
+++ b/sphinx/ext/intersphinx.py
@@ -14,9 +14,6 @@ This works as follows:
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
diff --git a/sphinx/ext/linkcode.py b/sphinx/ext/linkcode.py
index e6f3d24e4..38320ea7e 100644
--- a/sphinx/ext/linkcode.py
+++ b/sphinx/ext/linkcode.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/ext/mathjax.py b/sphinx/ext/mathjax.py
index 6b4a2db13..d0d360e2e 100644
--- a/sphinx/ext/mathjax.py
+++ b/sphinx/ext/mathjax.py
@@ -3,9 +3,6 @@
This requires the MathJax JavaScript library on your webserver/computer.
.. _MathJax: https://www.mathjax.org/
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import json
diff --git a/sphinx/ext/napoleon/__init__.py b/sphinx/ext/napoleon/__init__.py
index 7f939a559..273e3a2dd 100644
--- a/sphinx/ext/napoleon/__init__.py
+++ b/sphinx/ext/napoleon/__init__.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/ext/napoleon/docstring.py b/sphinx/ext/napoleon/docstring.py
index 52256f5e9..c80baecba 100644
--- a/sphinx/ext/napoleon/docstring.py
+++ b/sphinx/ext/napoleon/docstring.py
@@ -2,9 +2,6 @@
Classes for docstring parsing and formatting.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import collections
diff --git a/sphinx/ext/napoleon/iterators.py b/sphinx/ext/napoleon/iterators.py
index 5a94fafd4..bebd56518 100644
--- a/sphinx/ext/napoleon/iterators.py
+++ b/sphinx/ext/napoleon/iterators.py
@@ -2,9 +2,6 @@
A collection of helpful iterators.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import collections
diff --git a/sphinx/ext/todo.py b/sphinx/ext/todo.py
index 3f27c6850..c0d034087 100644
--- a/sphinx/ext/todo.py
+++ b/sphinx/ext/todo.py
@@ -3,9 +3,6 @@
Inclusion of todos can be switched of by a configuration variable.
The todolist directive collects all todos of your project and lists them along
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
diff --git a/sphinx/ext/viewcode.py b/sphinx/ext/viewcode.py
index 2c2dc6a39..4a96e9562 100644
--- a/sphinx/ext/viewcode.py
+++ b/sphinx/ext/viewcode.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/extension.py b/sphinx/extension.py
index 0aeed6893..e11d75f8f 100644
--- a/sphinx/extension.py
+++ b/sphinx/extension.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/highlighting.py b/sphinx/highlighting.py
index a729f7997..52fe098dc 100644
--- a/sphinx/highlighting.py
+++ b/sphinx/highlighting.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/io.py b/sphinx/io.py
index 5c0acb158..3d4be299f 100644
--- a/sphinx/io.py
+++ b/sphinx/io.py
@@ -1,7 +1,4 @@
"""Input/Output files
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import codecs
from typing import TYPE_CHECKING, Any, List, Type
diff --git a/sphinx/jinja2glue.py b/sphinx/jinja2glue.py
index e9a66105a..a38338d24 100644
--- a/sphinx/jinja2glue.py
+++ b/sphinx/jinja2glue.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/locale/__init__.py b/sphinx/locale/__init__.py
index 19c4c9d3a..03f91b1f3 100644
--- a/sphinx/locale/__init__.py
+++ b/sphinx/locale/__init__.py
@@ -1,7 +1,4 @@
"""Locale utilities.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import gettext
diff --git a/sphinx/parsers.py b/sphinx/parsers.py
index b5aa03f7b..2665d1265 100644
--- a/sphinx/parsers.py
+++ b/sphinx/parsers.py
@@ -1,7 +1,4 @@
"""A Base class for additional parsers.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import warnings
diff --git a/sphinx/project.py b/sphinx/project.py
index a0956d07b..63d5819fd 100644
--- a/sphinx/project.py
+++ b/sphinx/project.py
@@ -1,7 +1,4 @@
"""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
diff --git a/sphinx/pycode/__init__.py b/sphinx/pycode/__init__.py
index 6e7e5b751..96fba91a1 100644
--- a/sphinx/pycode/__init__.py
+++ b/sphinx/pycode/__init__.py
@@ -1,7 +1,4 @@
"""Utilities parsing and analyzing Python code.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/sphinx/pycode/ast.py b/sphinx/pycode/ast.py
index a8ac68c42..7f5e40d4d 100644
--- a/sphinx/pycode/ast.py
+++ b/sphinx/pycode/ast.py
@@ -1,7 +1,4 @@
"""Helpers for AST (Abstract Syntax Tree).
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import sys
diff --git a/sphinx/pycode/parser.py b/sphinx/pycode/parser.py
index 4edab750a..303d7ae27 100644
--- a/sphinx/pycode/parser.py
+++ b/sphinx/pycode/parser.py
@@ -1,7 +1,4 @@
"""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 itertools
diff --git a/sphinx/pygments_styles.py b/sphinx/pygments_styles.py
index 73ee9d853..2d5e23c67 100644
--- a/sphinx/pygments_styles.py
+++ b/sphinx/pygments_styles.py
@@ -1,7 +1,4 @@
"""Sphinx theme specific highlighting styles.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from pygments.style import Style
diff --git a/sphinx/registry.py b/sphinx/registry.py
index 3979a02eb..b51d07d3a 100644
--- a/sphinx/registry.py
+++ b/sphinx/registry.py
@@ -1,7 +1,4 @@
"""Sphinx component registry.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import traceback
diff --git a/sphinx/roles.py b/sphinx/roles.py
index 2327cfee5..73d7feb0e 100644
--- a/sphinx/roles.py
+++ b/sphinx/roles.py
@@ -1,7 +1,4 @@
"""Handlers for additional ReST roles.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/sphinx/search/__init__.py b/sphinx/search/__init__.py
index a4712f7d0..00e209603 100644
--- a/sphinx/search/__init__.py
+++ b/sphinx/search/__init__.py
@@ -1,7 +1,4 @@
"""Create a full-text search index for offline search.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import html
import pickle
diff --git a/sphinx/search/da.py b/sphinx/search/da.py
index 5aebf7790..5c3d138dd 100644
--- a/sphinx/search/da.py
+++ b/sphinx/search/da.py
@@ -1,7 +1,4 @@
"""Danish search language: includes the JS Danish stemmer.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from typing import Dict
diff --git a/sphinx/search/de.py b/sphinx/search/de.py
index 3c02669bf..8223f11f1 100644
--- a/sphinx/search/de.py
+++ b/sphinx/search/de.py
@@ -1,7 +1,4 @@
"""German search language: includes the JS German stemmer.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from typing import Dict
diff --git a/sphinx/search/en.py b/sphinx/search/en.py
index 49efabcd6..2f2f157e8 100644
--- a/sphinx/search/en.py
+++ b/sphinx/search/en.py
@@ -1,7 +1,4 @@
"""English search language: includes the JS porter stemmer.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from typing import Dict
diff --git a/sphinx/search/es.py b/sphinx/search/es.py
index f58c57f78..79e7e76d3 100644
--- a/sphinx/search/es.py
+++ b/sphinx/search/es.py
@@ -1,7 +1,4 @@
"""Spanish search language: includes the JS Spanish stemmer.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from typing import Dict
diff --git a/sphinx/search/fi.py b/sphinx/search/fi.py
index e2685e672..9ca7f9d05 100644
--- a/sphinx/search/fi.py
+++ b/sphinx/search/fi.py
@@ -1,7 +1,4 @@
"""Finnish search language: includes the JS Finnish stemmer.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from typing import Dict
diff --git a/sphinx/search/fr.py b/sphinx/search/fr.py
index 29bd71288..ad1ac547a 100644
--- a/sphinx/search/fr.py
+++ b/sphinx/search/fr.py
@@ -1,7 +1,4 @@
"""French search language: includes the JS French stemmer.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from typing import Dict
diff --git a/sphinx/search/hu.py b/sphinx/search/hu.py
index 99f461077..46e8eae09 100644
--- a/sphinx/search/hu.py
+++ b/sphinx/search/hu.py
@@ -1,7 +1,4 @@
"""Hungarian search language: includes the JS Hungarian stemmer.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from typing import Dict
diff --git a/sphinx/search/it.py b/sphinx/search/it.py
index c5781cd48..c42e0ae54 100644
--- a/sphinx/search/it.py
+++ b/sphinx/search/it.py
@@ -1,7 +1,4 @@
"""Italian search language: includes the JS Italian stemmer.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from typing import Dict
diff --git a/sphinx/search/ja.py b/sphinx/search/ja.py
index a9093dbd1..5d18b702a 100644
--- a/sphinx/search/ja.py
+++ b/sphinx/search/ja.py
@@ -1,7 +1,4 @@
"""Japanese search language: includes routine to split words.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
# Python Version of TinySegmenter
diff --git a/sphinx/search/jssplitter.py b/sphinx/search/jssplitter.py
index 82bb3951b..babdb8e47 100644
--- a/sphinx/search/jssplitter.py
+++ b/sphinx/search/jssplitter.py
@@ -1,9 +1,6 @@
"""Provides Python compatible word splitter to JavaScript
DO NOT EDIT. This is generated by utils/jssplitter_generator.py
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
splitter_code = """
diff --git a/sphinx/search/nl.py b/sphinx/search/nl.py
index dff5740fa..abb958fb9 100644
--- a/sphinx/search/nl.py
+++ b/sphinx/search/nl.py
@@ -1,7 +1,4 @@
"""Dutch search language: includes the JS porter stemmer.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from typing import Dict
diff --git a/sphinx/search/no.py b/sphinx/search/no.py
index 588d7b02d..67c338675 100644
--- a/sphinx/search/no.py
+++ b/sphinx/search/no.py
@@ -1,7 +1,4 @@
"""Norwegian search language: includes the JS Norwegian stemmer.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from typing import Dict
diff --git a/sphinx/search/pt.py b/sphinx/search/pt.py
index d6bd43067..84408e795 100644
--- a/sphinx/search/pt.py
+++ b/sphinx/search/pt.py
@@ -1,7 +1,4 @@
"""Portuguese search language: includes the JS Portuguese stemmer.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from typing import Dict
diff --git a/sphinx/search/ro.py b/sphinx/search/ro.py
index caa32236e..46426f25e 100644
--- a/sphinx/search/ro.py
+++ b/sphinx/search/ro.py
@@ -1,7 +1,4 @@
"""Romanian search language: includes the JS Romanian stemmer.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from typing import Dict, Set
diff --git a/sphinx/search/ru.py b/sphinx/search/ru.py
index 37234928a..778f18da6 100644
--- a/sphinx/search/ru.py
+++ b/sphinx/search/ru.py
@@ -1,7 +1,4 @@
"""Russian search language: includes the JS Russian stemmer.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from typing import Dict
diff --git a/sphinx/search/sv.py b/sphinx/search/sv.py
index f352b30dd..b74d8980f 100644
--- a/sphinx/search/sv.py
+++ b/sphinx/search/sv.py
@@ -1,7 +1,4 @@
"""Swedish search language: includes the JS Swedish stemmer.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from typing import Dict
diff --git a/sphinx/search/tr.py b/sphinx/search/tr.py
index d9b251308..1338c7116 100644
--- a/sphinx/search/tr.py
+++ b/sphinx/search/tr.py
@@ -1,7 +1,4 @@
"""Turkish search language: includes the JS Turkish stemmer.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from typing import Dict, Set
diff --git a/sphinx/search/zh.py b/sphinx/search/zh.py
index 3ebf2317a..46f486bd3 100644
--- a/sphinx/search/zh.py
+++ b/sphinx/search/zh.py
@@ -1,7 +1,4 @@
"""Chinese search language: includes routine to split words.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/sphinx/setup_command.py b/sphinx/setup_command.py
index d69a96011..19f2375c8 100644
--- a/sphinx/setup_command.py
+++ b/sphinx/setup_command.py
@@ -1,9 +1,6 @@
"""Setuptools/distutils commands to assist the building of sphinx documentation.
-:author: Sebastian Wiesner
-:contact: basti.wiesner@gmx.net
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
+:author: Sebastian Wiesner <basti.wiesner@gmx.net>
"""
import os
diff --git a/sphinx/testing/__init__.py b/sphinx/testing/__init__.py
index e219d2c3f..1cf074ff1 100644
--- a/sphinx/testing/__init__.py
+++ b/sphinx/testing/__init__.py
@@ -4,7 +4,4 @@ You can require sphinx.testing pytest fixtures in a test module or a conftest
file like this:
pytest_plugins = 'sphinx.testing.fixtures'
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
diff --git a/sphinx/testing/comparer.py b/sphinx/testing/comparer.py
index c6ee44bfb..370bd264d 100644
--- a/sphinx/testing/comparer.py
+++ b/sphinx/testing/comparer.py
@@ -1,7 +1,4 @@
"""Sphinx test comparer for pytest
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import difflib
import pathlib
diff --git a/sphinx/testing/fixtures.py b/sphinx/testing/fixtures.py
index c65986ba1..2f00ca974 100644
--- a/sphinx/testing/fixtures.py
+++ b/sphinx/testing/fixtures.py
@@ -1,7 +1,4 @@
"""Sphinx test fixtures for pytest
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import subprocess
diff --git a/sphinx/testing/path.py b/sphinx/testing/path.py
index 021fb0425..404213ecc 100644
--- a/sphinx/testing/path.py
+++ b/sphinx/testing/path.py
@@ -1,8 +1,3 @@
-"""
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
-"""
-
import builtins
import os
import shutil
diff --git a/sphinx/testing/restructuredtext.py b/sphinx/testing/restructuredtext.py
index 87b875a59..9deabb74a 100644
--- a/sphinx/testing/restructuredtext.py
+++ b/sphinx/testing/restructuredtext.py
@@ -1,8 +1,3 @@
-"""
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
-"""
-
from os import path
from docutils import nodes
diff --git a/sphinx/testing/util.py b/sphinx/testing/util.py
index 904fdd221..bea449257 100644
--- a/sphinx/testing/util.py
+++ b/sphinx/testing/util.py
@@ -1,7 +1,4 @@
"""Sphinx test suite utilities
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import functools
import os
diff --git a/sphinx/theming.py b/sphinx/theming.py
index d77f4ff9c..3b662dd00 100644
--- a/sphinx/theming.py
+++ b/sphinx/theming.py
@@ -1,7 +1,4 @@
"""Theming support for HTML builders.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import configparser
diff --git a/sphinx/transforms/__init__.py b/sphinx/transforms/__init__.py
index f3cb13a70..3fa74c45b 100644
--- a/sphinx/transforms/__init__.py
+++ b/sphinx/transforms/__init__.py
@@ -1,7 +1,4 @@
"""Docutils transforms used by Sphinx when reading documents.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/sphinx/transforms/compact_bullet_list.py b/sphinx/transforms/compact_bullet_list.py
index ebbd303d4..b35df3cb1 100644
--- a/sphinx/transforms/compact_bullet_list.py
+++ b/sphinx/transforms/compact_bullet_list.py
@@ -1,7 +1,4 @@
"""Docutils transforms used by Sphinx when reading documents.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from typing import Any, Dict, List, cast
diff --git a/sphinx/transforms/i18n.py b/sphinx/transforms/i18n.py
index cc6250bf7..a45ec02d1 100644
--- a/sphinx/transforms/i18n.py
+++ b/sphinx/transforms/i18n.py
@@ -1,7 +1,4 @@
"""Docutils transforms used by Sphinx when reading documents.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from os import path
diff --git a/sphinx/transforms/post_transforms/__init__.py b/sphinx/transforms/post_transforms/__init__.py
index 63d3a7b1c..9b3c84edf 100644
--- a/sphinx/transforms/post_transforms/__init__.py
+++ b/sphinx/transforms/post_transforms/__init__.py
@@ -1,7 +1,4 @@
"""Docutils transforms used by Sphinx.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/sphinx/transforms/post_transforms/code.py b/sphinx/transforms/post_transforms/code.py
index 68be138dc..a47555bd1 100644
--- a/sphinx/transforms/post_transforms/code.py
+++ b/sphinx/transforms/post_transforms/code.py
@@ -1,7 +1,4 @@
"""transforms for code-blocks.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import sys
diff --git a/sphinx/transforms/post_transforms/images.py b/sphinx/transforms/post_transforms/images.py
index 24d25f5b9..3f2c99b0f 100644
--- a/sphinx/transforms/post_transforms/images.py
+++ b/sphinx/transforms/post_transforms/images.py
@@ -1,7 +1,4 @@
"""Docutils transforms used by Sphinx.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/sphinx/transforms/references.py b/sphinx/transforms/references.py
index 9b13c46df..da899f952 100644
--- a/sphinx/transforms/references.py
+++ b/sphinx/transforms/references.py
@@ -1,7 +1,4 @@
"""Docutils transforms used by Sphinx.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from typing import TYPE_CHECKING, Any, Dict
diff --git a/sphinx/util/__init__.py b/sphinx/util/__init__.py
index 517d79369..9dd30289a 100644
--- a/sphinx/util/__init__.py
+++ b/sphinx/util/__init__.py
@@ -1,7 +1,4 @@
"""Utility functions for Sphinx.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import functools
diff --git a/sphinx/util/build_phase.py b/sphinx/util/build_phase.py
index ec30f7987..8a45eabb2 100644
--- a/sphinx/util/build_phase.py
+++ b/sphinx/util/build_phase.py
@@ -1,7 +1,4 @@
"""Build phase of Sphinx application.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from enum import IntEnum
diff --git a/sphinx/util/cfamily.py b/sphinx/util/cfamily.py
index cfdcc7bec..c382a5634 100644
--- a/sphinx/util/cfamily.py
+++ b/sphinx/util/cfamily.py
@@ -1,7 +1,4 @@
"""Utility functions common to the C and C++ domains.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/sphinx/util/compat.py b/sphinx/util/compat.py
index 1432d117e..58ca9e1b0 100644
--- a/sphinx/util/compat.py
+++ b/sphinx/util/compat.py
@@ -1,7 +1,4 @@
"""modules for backward compatibility
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import sys
diff --git a/sphinx/util/console.py b/sphinx/util/console.py
index d844f21ee..22bb01514 100644
--- a/sphinx/util/console.py
+++ b/sphinx/util/console.py
@@ -1,7 +1,4 @@
"""Format colored console output.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/sphinx/util/docfields.py b/sphinx/util/docfields.py
index 6617465da..7a2f802c5 100644
--- a/sphinx/util/docfields.py
+++ b/sphinx/util/docfields.py
@@ -2,9 +2,6 @@
"Doc fields" are reST field lists in object descriptions that will
be domain-specifically transformed to a more appealing presentation.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from typing import TYPE_CHECKING, Any, Dict, List, Tuple, Type, Union, cast
diff --git a/sphinx/util/docstrings.py b/sphinx/util/docstrings.py
index 5112b7949..d952fa11b 100644
--- a/sphinx/util/docstrings.py
+++ b/sphinx/util/docstrings.py
@@ -1,7 +1,4 @@
"""Utilities for docstring processing.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/sphinx/util/docutils.py b/sphinx/util/docutils.py
index bb6029376..07a17be79 100644
--- a/sphinx/util/docutils.py
+++ b/sphinx/util/docutils.py
@@ -1,7 +1,4 @@
"""Utility functions for docutils.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/sphinx/util/fileutil.py b/sphinx/util/fileutil.py
index e023e3871..c3ce9633c 100644
--- a/sphinx/util/fileutil.py
+++ b/sphinx/util/fileutil.py
@@ -1,7 +1,4 @@
"""File utility functions for Sphinx.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/sphinx/util/i18n.py b/sphinx/util/i18n.py
index 1ce5e562f..a7706e899 100644
--- a/sphinx/util/i18n.py
+++ b/sphinx/util/i18n.py
@@ -1,7 +1,4 @@
"""Builder superclass for all builders.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/sphinx/util/images.py b/sphinx/util/images.py
index 838c61b64..a6d0918a0 100644
--- a/sphinx/util/images.py
+++ b/sphinx/util/images.py
@@ -1,7 +1,4 @@
"""Image utility functions for Sphinx.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import base64
diff --git a/sphinx/util/inspect.py b/sphinx/util/inspect.py
index aa5cb7bba..c9a4eb725 100644
--- a/sphinx/util/inspect.py
+++ b/sphinx/util/inspect.py
@@ -1,7 +1,4 @@
"""Helpers for inspecting Python modules.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import builtins
diff --git a/sphinx/util/inventory.py b/sphinx/util/inventory.py
index 08025cc80..d46a0916d 100644
--- a/sphinx/util/inventory.py
+++ b/sphinx/util/inventory.py
@@ -1,7 +1,4 @@
"""Inventory utility functions for Sphinx.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
import re
diff --git a/sphinx/util/jsdump.py b/sphinx/util/jsdump.py
index 0a685a0ea..ed5aea4ba 100644
--- a/sphinx/util/jsdump.py
+++ b/sphinx/util/jsdump.py
@@ -1,9 +1,6 @@
"""This module implements a simple JavaScript serializer.
Uses the basestring encode function from simplejson by Bob Ippolito.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/sphinx/util/logging.py b/sphinx/util/logging.py
index 38d06021b..3e1dad784 100644
--- a/sphinx/util/logging.py
+++ b/sphinx/util/logging.py
@@ -1,7 +1,4 @@
"""Logging utility functions for Sphinx.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import logging
diff --git a/sphinx/util/matching.py b/sphinx/util/matching.py
index 14988a200..4aede2763 100644
--- a/sphinx/util/matching.py
+++ b/sphinx/util/matching.py
@@ -1,7 +1,4 @@
"""Pattern-matching utility functions for Sphinx.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/sphinx/util/math.py b/sphinx/util/math.py
index d16051502..56523e10f 100644
--- a/sphinx/util/math.py
+++ b/sphinx/util/math.py
@@ -1,7 +1,4 @@
"""Utility functions for math.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from docutils import nodes
diff --git a/sphinx/util/nodes.py b/sphinx/util/nodes.py
index 71888db1b..aff3d1875 100644
--- a/sphinx/util/nodes.py
+++ b/sphinx/util/nodes.py
@@ -1,7 +1,4 @@
"""Docutils node-related utility functions for Sphinx.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/sphinx/util/osutil.py b/sphinx/util/osutil.py
index f3b78448e..7ce114aa0 100644
--- a/sphinx/util/osutil.py
+++ b/sphinx/util/osutil.py
@@ -1,7 +1,4 @@
"""Operating system-related utility functions for Sphinx.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import contextlib
diff --git a/sphinx/util/parallel.py b/sphinx/util/parallel.py
index 4c093bb6f..39a5c741c 100644
--- a/sphinx/util/parallel.py
+++ b/sphinx/util/parallel.py
@@ -1,7 +1,4 @@
"""Parallel building utilities.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/sphinx/util/png.py b/sphinx/util/png.py
index 20d13b0d8..0234ab9fd 100644
--- a/sphinx/util/png.py
+++ b/sphinx/util/png.py
@@ -1,7 +1,4 @@
"""PNG image manipulation helpers.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import binascii
diff --git a/sphinx/util/pycompat.py b/sphinx/util/pycompat.py
index 431d5bb20..51f5af90d 100644
--- a/sphinx/util/pycompat.py
+++ b/sphinx/util/pycompat.py
@@ -1,7 +1,4 @@
"""Stuff for Python version compatibility.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import warnings
diff --git a/sphinx/util/requests.py b/sphinx/util/requests.py
index c625109fe..834274df2 100644
--- a/sphinx/util/requests.py
+++ b/sphinx/util/requests.py
@@ -1,7 +1,4 @@
"""Simple requests package loader
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import sys
diff --git a/sphinx/util/rst.py b/sphinx/util/rst.py
index 2b94b933a..aa9b335bc 100644
--- a/sphinx/util/rst.py
+++ b/sphinx/util/rst.py
@@ -1,7 +1,4 @@
"""reST helper functions.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/sphinx/util/stemmer/__init__.py b/sphinx/util/stemmer/__init__.py
index 4f38d81b7..16a8d7ac8 100644
--- a/sphinx/util/stemmer/__init__.py
+++ b/sphinx/util/stemmer/__init__.py
@@ -1,7 +1,4 @@
"""Word stemming utilities for Sphinx.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from sphinx.util.stemmer.porter import PorterStemmer
diff --git a/sphinx/util/stemmer/porter.py b/sphinx/util/stemmer/porter.py
index 46983cbac..c4f89eb95 100644
--- a/sphinx/util/stemmer/porter.py
+++ b/sphinx/util/stemmer/porter.py
@@ -19,7 +19,7 @@ as exact as this version, even with the points of DEPARTURE!
Release 1: January 2001
-:copyright: Copyright 2001 by Vivake Gupta <v@nano.com>.
+:author: Vivake Gupta <v@nano.com>.
:license: Public Domain ("can be used free of charge for any purpose").
"""
diff --git a/sphinx/util/tags.py b/sphinx/util/tags.py
index 5cbe5989a..89276732d 100644
--- a/sphinx/util/tags.py
+++ b/sphinx/util/tags.py
@@ -1,8 +1,3 @@
-"""
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
-"""
-
from typing import Iterator, List
from jinja2 import nodes
diff --git a/sphinx/util/template.py b/sphinx/util/template.py
index 8406aaecf..803fd4bad 100644
--- a/sphinx/util/template.py
+++ b/sphinx/util/template.py
@@ -1,7 +1,4 @@
"""Templates utility functions for Sphinx.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/sphinx/util/texescape.py b/sphinx/util/texescape.py
index 758926df4..b25cb62c3 100644
--- a/sphinx/util/texescape.py
+++ b/sphinx/util/texescape.py
@@ -1,7 +1,4 @@
"""TeX escaping helper.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/sphinx/util/typing.py b/sphinx/util/typing.py
index 8935f4aa5..203205990 100644
--- a/sphinx/util/typing.py
+++ b/sphinx/util/typing.py
@@ -1,7 +1,4 @@
"""The composite types for Sphinx.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import sys
diff --git a/sphinx/versioning.py b/sphinx/versioning.py
index b09590ffc..d34cf4df3 100644
--- a/sphinx/versioning.py
+++ b/sphinx/versioning.py
@@ -1,7 +1,4 @@
"""Implements the low-level algorithms Sphinx uses for versioning doctrees.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import pickle
from itertools import product, zip_longest
diff --git a/sphinx/writers/__init__.py b/sphinx/writers/__init__.py
index 3914bf67e..30487d18e 100644
--- a/sphinx/writers/__init__.py
+++ b/sphinx/writers/__init__.py
@@ -1,5 +1,2 @@
"""Custom docutils writers.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
diff --git a/sphinx/writers/html.py b/sphinx/writers/html.py
index 123846609..d5b1ad30a 100644
--- a/sphinx/writers/html.py
+++ b/sphinx/writers/html.py
@@ -1,7 +1,4 @@
"""docutils writers handling Sphinx' custom nodes.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/sphinx/writers/html5.py b/sphinx/writers/html5.py
index 752a2ef6b..bff8fcd09 100644
--- a/sphinx/writers/html5.py
+++ b/sphinx/writers/html5.py
@@ -1,7 +1,4 @@
"""Experimental docutils writers for HTML5 handling Sphinx's custom nodes.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/sphinx/writers/latex.py b/sphinx/writers/latex.py
index fdf279418..1800a8bd3 100644
--- a/sphinx/writers/latex.py
+++ b/sphinx/writers/latex.py
@@ -2,9 +2,6 @@
Much of this code is adapted from Dave Kuhlman's "docpy" writer from his
docutils sandbox.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/sphinx/writers/manpage.py b/sphinx/writers/manpage.py
index 9e484983a..7f97c52d3 100644
--- a/sphinx/writers/manpage.py
+++ b/sphinx/writers/manpage.py
@@ -1,7 +1,4 @@
"""Manual page writer, extended for Sphinx custom nodes.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from typing import Any, Dict, Iterable, cast
diff --git a/sphinx/writers/texinfo.py b/sphinx/writers/texinfo.py
index 5410d024a..5a14cab45 100644
--- a/sphinx/writers/texinfo.py
+++ b/sphinx/writers/texinfo.py
@@ -1,7 +1,4 @@
"""Custom docutils writer for Texinfo.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/sphinx/writers/text.py b/sphinx/writers/text.py
index e2c49591e..7dc199354 100644
--- a/sphinx/writers/text.py
+++ b/sphinx/writers/text.py
@@ -1,7 +1,4 @@
"""Custom docutils writer for plain text.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import math
import os
diff --git a/sphinx/writers/xml.py b/sphinx/writers/xml.py
index 29731d853..b3cd19edc 100644
--- a/sphinx/writers/xml.py
+++ b/sphinx/writers/xml.py
@@ -1,7 +1,4 @@
"""Docutils-native XML and pseudo-XML writers.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from typing import Any
diff --git a/tests/conftest.py b/tests/conftest.py
index 4a60dfc42..ebbc9e2c7 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -1,8 +1,3 @@
-"""
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
-"""
-
import os
import shutil
diff --git a/tests/test_api_translator.py b/tests/test_api_translator.py
index 9fc97abd7..d18d1eee2 100644
--- a/tests/test_api_translator.py
+++ b/tests/test_api_translator.py
@@ -1,7 +1,4 @@
"""Test the Sphinx API for translator.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import sys
diff --git a/tests/test_application.py b/tests/test_application.py
index de9593824..82dc88d74 100644
--- a/tests/test_application.py
+++ b/tests/test_application.py
@@ -1,7 +1,4 @@
"""Test the Sphinx class.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from unittest.mock import Mock
diff --git a/tests/test_build.py b/tests/test_build.py
index 97898871a..8cb4da0e4 100644
--- a/tests/test_build.py
+++ b/tests/test_build.py
@@ -1,7 +1,4 @@
"""Test all builders.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import sys
diff --git a/tests/test_build_changes.py b/tests/test_build_changes.py
index 6312be1a2..d3ef56c5b 100644
--- a/tests/test_build_changes.py
+++ b/tests/test_build_changes.py
@@ -1,7 +1,4 @@
"""Test the ChangesBuilder class.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import pytest
diff --git a/tests/test_build_dirhtml.py b/tests/test_build_dirhtml.py
index d24ca68f2..ce16299a6 100644
--- a/tests/test_build_dirhtml.py
+++ b/tests/test_build_dirhtml.py
@@ -1,7 +1,4 @@
"""Test dirhtml builder.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import posixpath
diff --git a/tests/test_build_epub.py b/tests/test_build_epub.py
index a0ecdeafd..820ac9727 100644
--- a/tests/test_build_epub.py
+++ b/tests/test_build_epub.py
@@ -1,7 +1,4 @@
"""Test the HTML builder and check output against XPath.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/tests/test_build_gettext.py b/tests/test_build_gettext.py
index 1c753bd38..370efa777 100644
--- a/tests/test_build_gettext.py
+++ b/tests/test_build_gettext.py
@@ -1,7 +1,4 @@
"""Test the build process with gettext builder with the test root.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import gettext
diff --git a/tests/test_build_html.py b/tests/test_build_html.py
index 732ee994e..660d7f7ec 100644
--- a/tests/test_build_html.py
+++ b/tests/test_build_html.py
@@ -1,7 +1,4 @@
"""Test the HTML builder and check output against XPath.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/tests/test_build_latex.py b/tests/test_build_latex.py
index a180be72b..7ac9bdcbb 100644
--- a/tests/test_build_latex.py
+++ b/tests/test_build_latex.py
@@ -1,7 +1,4 @@
"""Test the build process with LaTeX builder with the test root.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/tests/test_build_linkcheck.py b/tests/test_build_linkcheck.py
index 7170d244a..2c8d8f3eb 100644
--- a/tests/test_build_linkcheck.py
+++ b/tests/test_build_linkcheck.py
@@ -1,7 +1,4 @@
"""Test the build process with manpage builder with the test root.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import http.server
diff --git a/tests/test_build_manpage.py b/tests/test_build_manpage.py
index cd28957ed..c890b4734 100644
--- a/tests/test_build_manpage.py
+++ b/tests/test_build_manpage.py
@@ -1,7 +1,4 @@
"""Test the build process with manpage builder with the test root.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import pytest
diff --git a/tests/test_build_texinfo.py b/tests/test_build_texinfo.py
index 840bba0bd..3dfb43c11 100644
--- a/tests/test_build_texinfo.py
+++ b/tests/test_build_texinfo.py
@@ -1,7 +1,4 @@
"""Test the build process with Texinfo builder with the test root.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/tests/test_build_text.py b/tests/test_build_text.py
index 6d1365d0d..a8420d79e 100644
--- a/tests/test_build_text.py
+++ b/tests/test_build_text.py
@@ -1,7 +1,4 @@
"""Test the build process with Text builder with the test root.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import pytest
diff --git a/tests/test_builder.py b/tests/test_builder.py
index cd321f5ee..c51e1203f 100644
--- a/tests/test_builder.py
+++ b/tests/test_builder.py
@@ -1,7 +1,4 @@
"""Test the Builder class.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import pytest
diff --git a/tests/test_catalogs.py b/tests/test_catalogs.py
index 5d2a06088..4e21bf0cb 100644
--- a/tests/test_catalogs.py
+++ b/tests/test_catalogs.py
@@ -1,7 +1,4 @@
"""Test the base build process.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import shutil
diff --git a/tests/test_config.py b/tests/test_config.py
index 48b941b94..83aca3ae1 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -1,7 +1,4 @@
"""Test the sphinx.config.Config class.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from unittest import mock
diff --git a/tests/test_correct_year.py b/tests/test_correct_year.py
index 9d66f934f..a672049b3 100644
--- a/tests/test_correct_year.py
+++ b/tests/test_correct_year.py
@@ -1,7 +1,4 @@
"""Test copyright year adjustment
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import pytest
diff --git a/tests/test_directive_code.py b/tests/test_directive_code.py
index 371b3a6d6..824c304ff 100644
--- a/tests/test_directive_code.py
+++ b/tests/test_directive_code.py
@@ -1,7 +1,4 @@
"""Test the code-block directive.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/tests/test_directive_only.py b/tests/test_directive_only.py
index 86a8afe04..e35fba580 100644
--- a/tests/test_directive_only.py
+++ b/tests/test_directive_only.py
@@ -1,7 +1,4 @@
"""Test the only directive with the test root.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/tests/test_directive_other.py b/tests/test_directive_other.py
index b654f0356..e9bb147ed 100644
--- a/tests/test_directive_other.py
+++ b/tests/test_directive_other.py
@@ -1,7 +1,4 @@
"""Test the other directives.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import pytest
diff --git a/tests/test_directive_patch.py b/tests/test_directive_patch.py
index 5e078829e..23877ae13 100644
--- a/tests/test_directive_patch.py
+++ b/tests/test_directive_patch.py
@@ -1,7 +1,4 @@
"""Test the patched directives.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import pytest
diff --git a/tests/test_docutilsconf.py b/tests/test_docutilsconf.py
index 8adb0dbd6..a18eb7043 100644
--- a/tests/test_docutilsconf.py
+++ b/tests/test_docutilsconf.py
@@ -1,7 +1,4 @@
"""Test docutils.conf support for several writers.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import pytest
diff --git a/tests/test_domain_c.py b/tests/test_domain_c.py
index 90d1122a4..c3d14b239 100644
--- a/tests/test_domain_c.py
+++ b/tests/test_domain_c.py
@@ -1,7 +1,4 @@
"""Tests the C Domain
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import itertools
diff --git a/tests/test_domain_cpp.py b/tests/test_domain_cpp.py
index 565e91e23..f3b641414 100644
--- a/tests/test_domain_cpp.py
+++ b/tests/test_domain_cpp.py
@@ -1,7 +1,4 @@
"""Tests the C++ Domain
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import itertools
diff --git a/tests/test_domain_js.py b/tests/test_domain_js.py
index baa8b31fa..773db4bb8 100644
--- a/tests/test_domain_js.py
+++ b/tests/test_domain_js.py
@@ -1,7 +1,4 @@
"""Tests the JavaScript Domain
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from unittest.mock import Mock
diff --git a/tests/test_domain_py.py b/tests/test_domain_py.py
index f45fdc914..75d46a46f 100644
--- a/tests/test_domain_py.py
+++ b/tests/test_domain_py.py
@@ -1,7 +1,4 @@
"""Tests the Python Domain
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/tests/test_domain_rst.py b/tests/test_domain_rst.py
index ed6dec79f..afe7ae8b8 100644
--- a/tests/test_domain_rst.py
+++ b/tests/test_domain_rst.py
@@ -1,7 +1,4 @@
"""Tests the reStructuredText domain.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from sphinx import addnodes
diff --git a/tests/test_domain_std.py b/tests/test_domain_std.py
index fa56e7fde..42c0e0ce0 100644
--- a/tests/test_domain_std.py
+++ b/tests/test_domain_std.py
@@ -1,7 +1,4 @@
"""Tests the std domain
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from unittest import mock
diff --git a/tests/test_environment.py b/tests/test_environment.py
index 2d289781a..e244d3841 100644
--- a/tests/test_environment.py
+++ b/tests/test_environment.py
@@ -1,7 +1,4 @@
"""Test the BuildEnvironment class.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
import shutil
diff --git a/tests/test_environment_indexentries.py b/tests/test_environment_indexentries.py
index a50506b9b..38fc3021e 100644
--- a/tests/test_environment_indexentries.py
+++ b/tests/test_environment_indexentries.py
@@ -1,7 +1,4 @@
"""Test the sphinx.environment.managers.indexentries.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import pytest
diff --git a/tests/test_environment_toctree.py b/tests/test_environment_toctree.py
index ca9f5e3b1..803519261 100644
--- a/tests/test_environment_toctree.py
+++ b/tests/test_environment_toctree.py
@@ -1,7 +1,4 @@
"""Test the sphinx.environment.managers.toctree.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import pytest
diff --git a/tests/test_events.py b/tests/test_events.py
index 7cd6bccd0..44d80f1c0 100644
--- a/tests/test_events.py
+++ b/tests/test_events.py
@@ -1,7 +1,4 @@
"""Test the EventManager class.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import pytest
diff --git a/tests/test_ext_apidoc.py b/tests/test_ext_apidoc.py
index b31f64dc7..c58882c6e 100644
--- a/tests/test_ext_apidoc.py
+++ b/tests/test_ext_apidoc.py
@@ -1,7 +1,4 @@
"""Test the sphinx.apidoc module.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from collections import namedtuple
diff --git a/tests/test_ext_autodoc.py b/tests/test_ext_autodoc.py
index 60eb3b925..3cbfe2eea 100644
--- a/tests/test_ext_autodoc.py
+++ b/tests/test_ext_autodoc.py
@@ -2,9 +2,6 @@
This tests mainly the Documenters; the auto directives are tested in a test
source file translated by test_build.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import sys
diff --git a/tests/test_ext_autodoc_autoattribute.py b/tests/test_ext_autodoc_autoattribute.py
index 692f06f6d..ec48f08b3 100644
--- a/tests/test_ext_autodoc_autoattribute.py
+++ b/tests/test_ext_autodoc_autoattribute.py
@@ -2,9 +2,6 @@
This tests mainly the Documenters; the auto directives are tested in a test
source file translated by test_build.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import sys
diff --git a/tests/test_ext_autodoc_autoclass.py b/tests/test_ext_autodoc_autoclass.py
index 064f8136f..508e63782 100644
--- a/tests/test_ext_autodoc_autoclass.py
+++ b/tests/test_ext_autodoc_autoclass.py
@@ -2,9 +2,6 @@
This tests mainly the Documenters; the auto directives are tested in a test
source file translated by test_build.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import sys
diff --git a/tests/test_ext_autodoc_autodata.py b/tests/test_ext_autodoc_autodata.py
index 709797ff7..e8c14d27a 100644
--- a/tests/test_ext_autodoc_autodata.py
+++ b/tests/test_ext_autodoc_autodata.py
@@ -2,9 +2,6 @@
This tests mainly the Documenters; the auto directives are tested in a test
source file translated by test_build.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import sys
diff --git a/tests/test_ext_autodoc_autofunction.py b/tests/test_ext_autodoc_autofunction.py
index 60b8bf89c..55a308300 100644
--- a/tests/test_ext_autodoc_autofunction.py
+++ b/tests/test_ext_autodoc_autofunction.py
@@ -2,9 +2,6 @@
This tests mainly the Documenters; the auto directives are tested in a test
source file translated by test_build.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import pytest
diff --git a/tests/test_ext_autodoc_automodule.py b/tests/test_ext_autodoc_automodule.py
index 6333ba5c0..6b356e584 100644
--- a/tests/test_ext_autodoc_automodule.py
+++ b/tests/test_ext_autodoc_automodule.py
@@ -2,9 +2,6 @@
This tests mainly the Documenters; the auto directives are tested in a test
source file translated by test_build.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import sys
diff --git a/tests/test_ext_autodoc_autoproperty.py b/tests/test_ext_autodoc_autoproperty.py
index 765ba30ac..3d50020b3 100644
--- a/tests/test_ext_autodoc_autoproperty.py
+++ b/tests/test_ext_autodoc_autoproperty.py
@@ -2,9 +2,6 @@
This tests mainly the Documenters; the auto directives are tested in a test
source file translated by test_build.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import sys
diff --git a/tests/test_ext_autodoc_configs.py b/tests/test_ext_autodoc_configs.py
index 46bd9e767..3ed2fc38b 100644
--- a/tests/test_ext_autodoc_configs.py
+++ b/tests/test_ext_autodoc_configs.py
@@ -1,7 +1,4 @@
"""Test the autodoc extension. This tests mainly for config variables
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import platform
diff --git a/tests/test_ext_autodoc_events.py b/tests/test_ext_autodoc_events.py
index d7c69c258..bde25cd37 100644
--- a/tests/test_ext_autodoc_events.py
+++ b/tests/test_ext_autodoc_events.py
@@ -1,7 +1,4 @@
"""Test the autodoc extension. This tests mainly for autodoc events
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import pytest
diff --git a/tests/test_ext_autodoc_mock.py b/tests/test_ext_autodoc_mock.py
index 51c8bedda..43493959f 100644
--- a/tests/test_ext_autodoc_mock.py
+++ b/tests/test_ext_autodoc_mock.py
@@ -1,7 +1,4 @@
"""Test the autodoc extension.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import abc
diff --git a/tests/test_ext_autodoc_preserve_defaults.py b/tests/test_ext_autodoc_preserve_defaults.py
index 56bea8fbc..bb239a2bb 100644
--- a/tests/test_ext_autodoc_preserve_defaults.py
+++ b/tests/test_ext_autodoc_preserve_defaults.py
@@ -1,7 +1,4 @@
"""Test the autodoc extension.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import sys
diff --git a/tests/test_ext_autodoc_private_members.py b/tests/test_ext_autodoc_private_members.py
index beb0ec373..bdb947821 100644
--- a/tests/test_ext_autodoc_private_members.py
+++ b/tests/test_ext_autodoc_private_members.py
@@ -1,7 +1,4 @@
"""Test the autodoc extension. This tests mainly for private-members option.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import pytest
diff --git a/tests/test_ext_autosectionlabel.py b/tests/test_ext_autosectionlabel.py
index f81031d4b..4aaf010bb 100644
--- a/tests/test_ext_autosectionlabel.py
+++ b/tests/test_ext_autosectionlabel.py
@@ -1,7 +1,4 @@
"""Test sphinx.ext.autosectionlabel extension.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/tests/test_ext_autosummary.py b/tests/test_ext_autosummary.py
index 53aaf95ef..26909080d 100644
--- a/tests/test_ext_autosummary.py
+++ b/tests/test_ext_autosummary.py
@@ -1,7 +1,4 @@
"""Test the autosummary extension.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import sys
diff --git a/tests/test_ext_coverage.py b/tests/test_ext_coverage.py
index 0597b12d7..803e234e2 100644
--- a/tests/test_ext_coverage.py
+++ b/tests/test_ext_coverage.py
@@ -1,7 +1,4 @@
"""Test the coverage builder.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import pickle
diff --git a/tests/test_ext_doctest.py b/tests/test_ext_doctest.py
index 1bd86919a..6cfff441f 100644
--- a/tests/test_ext_doctest.py
+++ b/tests/test_ext_doctest.py
@@ -1,7 +1,4 @@
"""Test the doctest extension.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
from collections import Counter
diff --git a/tests/test_ext_duration.py b/tests/test_ext_duration.py
index 5b459fbec..05f3ef422 100644
--- a/tests/test_ext_duration.py
+++ b/tests/test_ext_duration.py
@@ -1,7 +1,4 @@
"""Test sphinx.ext.duration extension.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/tests/test_ext_githubpages.py b/tests/test_ext_githubpages.py
index 8067a5b98..7f60d7492 100644
--- a/tests/test_ext_githubpages.py
+++ b/tests/test_ext_githubpages.py
@@ -1,7 +1,4 @@
"""Test sphinx.ext.githubpages extension.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import pytest
diff --git a/tests/test_ext_graphviz.py b/tests/test_ext_graphviz.py
index 0d6f1de6d..c6a688bb5 100644
--- a/tests/test_ext_graphviz.py
+++ b/tests/test_ext_graphviz.py
@@ -1,7 +1,4 @@
"""Test sphinx.ext.graphviz extension.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/tests/test_ext_ifconfig.py b/tests/test_ext_ifconfig.py
index 3de09e367..1a6625026 100644
--- a/tests/test_ext_ifconfig.py
+++ b/tests/test_ext_ifconfig.py
@@ -1,7 +1,4 @@
"""Test sphinx.ext.ifconfig extension.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import pytest
diff --git a/tests/test_ext_imgconverter.py b/tests/test_ext_imgconverter.py
index d8a152e8b..8fee95746 100644
--- a/tests/test_ext_imgconverter.py
+++ b/tests/test_ext_imgconverter.py
@@ -1,7 +1,4 @@
"""Test sphinx.ext.imgconverter extension.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/tests/test_ext_inheritance_diagram.py b/tests/test_ext_inheritance_diagram.py
index 5b8ccdaff..db7944218 100644
--- a/tests/test_ext_inheritance_diagram.py
+++ b/tests/test_ext_inheritance_diagram.py
@@ -1,7 +1,4 @@
"""Test sphinx.ext.inheritance_diagram extension.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/tests/test_ext_intersphinx.py b/tests/test_ext_intersphinx.py
index 08525d889..8e45890aa 100644
--- a/tests/test_ext_intersphinx.py
+++ b/tests/test_ext_intersphinx.py
@@ -1,7 +1,4 @@
"""Test the intersphinx extension.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import http.server
diff --git a/tests/test_ext_math.py b/tests/test_ext_math.py
index b293ca98e..b251e41d2 100644
--- a/tests/test_ext_math.py
+++ b/tests/test_ext_math.py
@@ -1,7 +1,4 @@
"""Test math extensions.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/tests/test_ext_napoleon.py b/tests/test_ext_napoleon.py
index 9f51ccfd5..bcc0d6d23 100644
--- a/tests/test_ext_napoleon.py
+++ b/tests/test_ext_napoleon.py
@@ -1,8 +1,5 @@
"""Tests for :mod:`sphinx.ext.napoleon.__init__` module.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import sys
diff --git a/tests/test_ext_napoleon_docstring.py b/tests/test_ext_napoleon_docstring.py
index 314c12dec..514276061 100644
--- a/tests/test_ext_napoleon_docstring.py
+++ b/tests/test_ext_napoleon_docstring.py
@@ -1,8 +1,5 @@
"""Tests for :mod:`sphinx.ext.napoleon.docstring` module.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/tests/test_ext_napoleon_iterators.py b/tests/test_ext_napoleon_iterators.py
index c3b07895c..e9684521e 100644
--- a/tests/test_ext_napoleon_iterators.py
+++ b/tests/test_ext_napoleon_iterators.py
@@ -1,8 +1,5 @@
"""Tests for :mod:`sphinx.ext.napoleon.iterators` module.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from unittest import TestCase
diff --git a/tests/test_ext_todo.py b/tests/test_ext_todo.py
index f16fddd55..15ecc1bed 100644
--- a/tests/test_ext_todo.py
+++ b/tests/test_ext_todo.py
@@ -1,7 +1,4 @@
"""Test sphinx.ext.todo extension.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/tests/test_ext_viewcode.py b/tests/test_ext_viewcode.py
index 44c2efbf3..11aacfc43 100644
--- a/tests/test_ext_viewcode.py
+++ b/tests/test_ext_viewcode.py
@@ -1,7 +1,4 @@
"""Test sphinx.ext.viewcode extension.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/tests/test_extension.py b/tests/test_extension.py
index 1a6993fc5..d2cd37567 100644
--- a/tests/test_extension.py
+++ b/tests/test_extension.py
@@ -1,7 +1,4 @@
"""Test sphinx.extension module.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import pytest
diff --git a/tests/test_highlighting.py b/tests/test_highlighting.py
index 59a38f4fe..dc23116a7 100644
--- a/tests/test_highlighting.py
+++ b/tests/test_highlighting.py
@@ -1,7 +1,4 @@
"""Test the Pygments highlighting bridge.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from unittest import mock
diff --git a/tests/test_intl.py b/tests/test_intl.py
index b125a0d17..44740f67d 100644
--- a/tests/test_intl.py
+++ b/tests/test_intl.py
@@ -1,9 +1,6 @@
"""Test message patching for internationalization purposes.
Runs the text builder in the test root.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/tests/test_locale.py b/tests/test_locale.py
index 909ce3480..99a335cff 100644
--- a/tests/test_locale.py
+++ b/tests/test_locale.py
@@ -1,7 +1,4 @@
"""Test locale.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import pytest
diff --git a/tests/test_markup.py b/tests/test_markup.py
index a0e6e4d59..030323e90 100644
--- a/tests/test_markup.py
+++ b/tests/test_markup.py
@@ -1,7 +1,4 @@
"""Test various Sphinx-specific markup extensions.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/tests/test_metadata.py b/tests/test_metadata.py
index df77c0320..7cc0aa3c7 100644
--- a/tests/test_metadata.py
+++ b/tests/test_metadata.py
@@ -1,7 +1,4 @@
"""Test our handling of metadata in files with bibliographic metadata.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
# adapted from an example of bibliographic metadata at
diff --git a/tests/test_parser.py b/tests/test_parser.py
index 473048ce6..2c9462936 100644
--- a/tests/test_parser.py
+++ b/tests/test_parser.py
@@ -1,7 +1,4 @@
"""Tests parsers module.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from unittest.mock import Mock, patch
diff --git a/tests/test_project.py b/tests/test_project.py
index 0d962e84a..1f4c4709f 100644
--- a/tests/test_project.py
+++ b/tests/test_project.py
@@ -1,7 +1,4 @@
"""Tests project module.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from collections import OrderedDict
diff --git a/tests/test_pycode.py b/tests/test_pycode.py
index 3c132aaee..560dbc8a2 100644
--- a/tests/test_pycode.py
+++ b/tests/test_pycode.py
@@ -1,7 +1,4 @@
"""Test pycode.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/tests/test_pycode_ast.py b/tests/test_pycode_ast.py
index 68c03dc2f..c3e256338 100644
--- a/tests/test_pycode_ast.py
+++ b/tests/test_pycode_ast.py
@@ -1,7 +1,4 @@
"""Test pycode.ast
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import sys
diff --git a/tests/test_pycode_parser.py b/tests/test_pycode_parser.py
index 3ad1486da..cebcb97a3 100644
--- a/tests/test_pycode_parser.py
+++ b/tests/test_pycode_parser.py
@@ -1,7 +1,4 @@
"""Test pycode.parser.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from sphinx.pycode.parser import Parser
diff --git a/tests/test_quickstart.py b/tests/test_quickstart.py
index e2c5af3aa..4b79ee131 100644
--- a/tests/test_quickstart.py
+++ b/tests/test_quickstart.py
@@ -1,7 +1,4 @@
"""Test the sphinx.quickstart module.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import time
diff --git a/tests/test_roles.py b/tests/test_roles.py
index e29df9e7f..70762f48e 100644
--- a/tests/test_roles.py
+++ b/tests/test_roles.py
@@ -1,7 +1,4 @@
"""Test sphinx.roles
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from unittest.mock import Mock
diff --git a/tests/test_search.py b/tests/test_search.py
index 7957a2b11..0568afa8f 100644
--- a/tests/test_search.py
+++ b/tests/test_search.py
@@ -1,7 +1,4 @@
"""Test the search index builder.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from collections import namedtuple
diff --git a/tests/test_setup_command.py b/tests/test_setup_command.py
index 18a2ae368..95c4ae201 100644
--- a/tests/test_setup_command.py
+++ b/tests/test_setup_command.py
@@ -1,7 +1,4 @@
"""Test setup_command for distutils.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/tests/test_smartquotes.py b/tests/test_smartquotes.py
index eb70c4058..6233a38e4 100644
--- a/tests/test_smartquotes.py
+++ b/tests/test_smartquotes.py
@@ -1,7 +1,4 @@
"""Test smart quotes.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import pytest
diff --git a/tests/test_templating.py b/tests/test_templating.py
index 5be71e07b..4f1ef64ee 100644
--- a/tests/test_templating.py
+++ b/tests/test_templating.py
@@ -1,7 +1,4 @@
"""Test templating.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import pytest
diff --git a/tests/test_theming.py b/tests/test_theming.py
index 557ea0a93..11173fd9b 100644
--- a/tests/test_theming.py
+++ b/tests/test_theming.py
@@ -1,7 +1,4 @@
"""Test the Theme class.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/tests/test_toctree.py b/tests/test_toctree.py
index 60c343547..e4d77051f 100644
--- a/tests/test_toctree.py
+++ b/tests/test_toctree.py
@@ -1,7 +1,4 @@
"""Test the HTML builder and check output against XPath.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import re
diff --git a/tests/test_transforms_post_transforms.py b/tests/test_transforms_post_transforms.py
index fa5c063e7..6534dd9b4 100644
--- a/tests/test_transforms_post_transforms.py
+++ b/tests/test_transforms_post_transforms.py
@@ -1,7 +1,4 @@
"""Tests the post_transforms
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import pytest
diff --git a/tests/test_transforms_post_transforms_code.py b/tests/test_transforms_post_transforms_code.py
index 0029fbead..2715eb5a5 100644
--- a/tests/test_transforms_post_transforms_code.py
+++ b/tests/test_transforms_post_transforms_code.py
@@ -1,8 +1,3 @@
-"""
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
-"""
-
import pytest
diff --git a/tests/test_util.py b/tests/test_util.py
index 470f365d8..c676113f8 100644
--- a/tests/test_util.py
+++ b/tests/test_util.py
@@ -1,7 +1,4 @@
"""Tests util functions.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/tests/test_util_docstrings.py b/tests/test_util_docstrings.py
index af09a8cbe..05e7b7523 100644
--- a/tests/test_util_docstrings.py
+++ b/tests/test_util_docstrings.py
@@ -1,7 +1,4 @@
"""Test sphinx.util.docstrings.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from sphinx.util.docstrings import prepare_commentdoc, prepare_docstring, separate_metadata
diff --git a/tests/test_util_docutils.py b/tests/test_util_docutils.py
index 2d9c805b7..d6f97909d 100644
--- a/tests/test_util_docutils.py
+++ b/tests/test_util_docutils.py
@@ -1,7 +1,4 @@
"""Tests util.utils functions.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/tests/test_util_fileutil.py b/tests/test_util_fileutil.py
index 52f189bfe..11a5a8557 100644
--- a/tests/test_util_fileutil.py
+++ b/tests/test_util_fileutil.py
@@ -1,7 +1,4 @@
"""Tests sphinx.util.fileutil functions.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from unittest import mock
diff --git a/tests/test_util_i18n.py b/tests/test_util_i18n.py
index bf5913dbd..ee9a640ef 100644
--- a/tests/test_util_i18n.py
+++ b/tests/test_util_i18n.py
@@ -1,7 +1,4 @@
"""Test i18n util.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import datetime
diff --git a/tests/test_util_images.py b/tests/test_util_images.py
index 43a2e2597..dd0648a83 100644
--- a/tests/test_util_images.py
+++ b/tests/test_util_images.py
@@ -1,7 +1,4 @@
"""Test images util.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import pytest
diff --git a/tests/test_util_inspect.py b/tests/test_util_inspect.py
index 8eaaba38f..3987beb24 100644
--- a/tests/test_util_inspect.py
+++ b/tests/test_util_inspect.py
@@ -1,7 +1,4 @@
"""Tests util.inspect functions.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import ast
diff --git a/tests/test_util_inventory.py b/tests/test_util_inventory.py
index 9189485a2..ce96085e3 100644
--- a/tests/test_util_inventory.py
+++ b/tests/test_util_inventory.py
@@ -1,7 +1,4 @@
"""Test inventory util functions.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import posixpath
diff --git a/tests/test_util_logging.py b/tests/test_util_logging.py
index 4a1366bc0..0c2b914b0 100644
--- a/tests/test_util_logging.py
+++ b/tests/test_util_logging.py
@@ -1,7 +1,4 @@
"""Test logging util.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import codecs
diff --git a/tests/test_util_matching.py b/tests/test_util_matching.py
index bb5896fa0..559fa7aff 100644
--- a/tests/test_util_matching.py
+++ b/tests/test_util_matching.py
@@ -1,7 +1,4 @@
"""Tests sphinx.util.matching functions.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from sphinx.util.matching import Matcher, compile_matchers
diff --git a/tests/test_util_nodes.py b/tests/test_util_nodes.py
index 4f404fb4c..d73929b9c 100644
--- a/tests/test_util_nodes.py
+++ b/tests/test_util_nodes.py
@@ -1,7 +1,4 @@
"""Tests uti.nodes functions.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from textwrap import dedent
from typing import Any
diff --git a/tests/test_util_rst.py b/tests/test_util_rst.py
index e2c87cf2e..61012e0af 100644
--- a/tests/test_util_rst.py
+++ b/tests/test_util_rst.py
@@ -1,7 +1,4 @@
"""Tests sphinx.util.rst functions.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from docutils.statemachine import StringList
diff --git a/tests/test_util_template.py b/tests/test_util_template.py
index b49d44dfd..c2f896968 100644
--- a/tests/test_util_template.py
+++ b/tests/test_util_template.py
@@ -1,7 +1,4 @@
"""Tests sphinx.util.template functions.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
from sphinx.util.template import ReSTRenderer
diff --git a/tests/test_util_typing.py b/tests/test_util_typing.py
index 1a7bbb054..cf6ef0ebf 100644
--- a/tests/test_util_typing.py
+++ b/tests/test_util_typing.py
@@ -1,7 +1,4 @@
"""Tests util.typing functions.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import sys
diff --git a/tests/test_versioning.py b/tests/test_versioning.py
index b41a3f07b..e32290aad 100644
--- a/tests/test_versioning.py
+++ b/tests/test_versioning.py
@@ -1,7 +1,4 @@
"""Test the versioning implementation.
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import pickle
diff --git a/tests/test_writer_latex.py b/tests/test_writer_latex.py
index cd2052719..f68694e4e 100644
--- a/tests/test_writer_latex.py
+++ b/tests/test_writer_latex.py
@@ -1,7 +1,4 @@
"""Test the LaTeX writer
-
-:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import pytest
diff --git a/utils/checks.py b/utils/checks.py
index 952ab8afd..aa1f2f206 100644
--- a/utils/checks.py
+++ b/utils/checks.py
@@ -1,7 +1,4 @@
"""Custom, Sphinx-only flake8 plugins.
-
-:copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/utils/doclinter.py b/utils/doclinter.py
index 7b3c2f91d..544f9952b 100644
--- a/utils/doclinter.py
+++ b/utils/doclinter.py
@@ -1,7 +1,4 @@
"""A linter for Sphinx docs
-
-:copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
import os
diff --git a/utils/jssplitter_generator.py b/utils/jssplitter_generator.py
index 0f2f3759a..f0918ec3f 100644
--- a/utils/jssplitter_generator.py
+++ b/utils/jssplitter_generator.py
@@ -115,9 +115,6 @@ python_src = '''\
"""Provides Python compatible word splitter to JavaScript
DO NOT EDIT. This is generated by utils/jssplitter_generator.py
-
-:copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
-:license: BSD, see LICENSE for details.
"""
splitter_code = """