Skip to content

Commit

Permalink
Merge pull request #10212 from AA-Turner/remove-module-docstring-titles
Browse files Browse the repository at this point in the history
Remove module docstring titles
  • Loading branch information
tk0miya committed Mar 13, 2022
2 parents 856b182 + f05a068 commit b12b39d
Show file tree
Hide file tree
Showing 285 changed files with 446 additions and 2,724 deletions.
3 changes: 3 additions & 0 deletions LICENSE
@@ -1,6 +1,9 @@
License for Sphinx
==================

Unless otherwise indicated, all code in the Sphinx project is licenced under the
two clause BSD licence below.

Copyright (c) 2007-2022 by the Sphinx team (see AUTHORS file).
All rights reserved.

Expand Down
6 changes: 0 additions & 6 deletions setup.cfg
Expand Up @@ -35,12 +35,6 @@ import-order-style = smarkets
per-file-ignores =
tests/*: E501

[flake8:local-plugins]
extension =
X101 = utils.checks:sphinx_has_header
paths =
.

[isort]
line_length = 95

Expand Down
10 changes: 1 addition & 9 deletions sphinx/__init__.py
@@ -1,12 +1,4 @@
"""
Sphinx
~~~~~~
The Sphinx documentation toolchain.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
"""The Sphinx documentation toolchain."""

# Keep this file executable as-is in Python 3!
# (Otherwise getting the version out of it from setup.py is impossible.)
Expand Down
10 changes: 1 addition & 9 deletions sphinx/__main__.py
@@ -1,12 +1,4 @@
"""
sphinx.__main__
~~~~~~~~~~~~~~~
The Sphinx documentation toolchain.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
"""The Sphinx documentation toolchain."""

import sys

Expand Down
10 changes: 1 addition & 9 deletions sphinx/addnodes.py
@@ -1,12 +1,4 @@
"""
sphinx.addnodes
~~~~~~~~~~~~~~~
Additional docutils nodes.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
"""Additional docutils nodes."""

from typing import TYPE_CHECKING, Any, Dict, List, Sequence

Expand Down
11 changes: 2 additions & 9 deletions sphinx/application.py
@@ -1,13 +1,6 @@
"""
sphinx.application
~~~~~~~~~~~~~~~~~~
Sphinx application class and extensibility interface.
Gracefully adapted from the TextPress system by Armin.
"""Sphinx application class and extensibility interface.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
Gracefully adapted from the TextPress system by Armin.
"""

import os
Expand Down
10 changes: 1 addition & 9 deletions sphinx/builders/__init__.py
@@ -1,12 +1,4 @@
"""
sphinx.builders
~~~~~~~~~~~~~~~
Builder superclass for all builders.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
"""Builder superclass for all builders."""

import pickle
import time
Expand Down
10 changes: 1 addition & 9 deletions sphinx/builders/_epub_base.py
@@ -1,12 +1,4 @@
"""
sphinx.builders._epub_base
~~~~~~~~~~~~~~~~~~~~~~~~~~
Base class of epub2/epub3 builders.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
"""Base class of epub2/epub3 builders."""

import html
import os
Expand Down
10 changes: 1 addition & 9 deletions sphinx/builders/changes.py
@@ -1,12 +1,4 @@
"""
sphinx.builders.changes
~~~~~~~~~~~~~~~~~~~~~~~
Changelog builder.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
"""Changelog builder."""

import html
from os import path
Expand Down
10 changes: 1 addition & 9 deletions sphinx/builders/dirhtml.py
@@ -1,12 +1,4 @@
"""
sphinx.builders.dirhtml
~~~~~~~~~~~~~~~~~~~~~~~
Directory HTML builders.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
"""Directory HTML builders."""

from os import path
from typing import Any, Dict
Expand Down
10 changes: 1 addition & 9 deletions sphinx/builders/dummy.py
@@ -1,12 +1,4 @@
"""
sphinx.builders.dummy
~~~~~~~~~~~~~~~~~~~~~
Do syntax checks, but no writing.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
"""Do syntax checks, but no writing."""

from typing import Any, Dict, Set

Expand Down
10 changes: 2 additions & 8 deletions sphinx/builders/epub3.py
@@ -1,12 +1,6 @@
"""
sphinx.builders.epub3
~~~~~~~~~~~~~~~~~~~~~
Build epub3 files.
Originally derived from epub.py.
"""Build epub3 files.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
Originally derived from epub.py.
"""

import html
Expand Down
10 changes: 1 addition & 9 deletions sphinx/builders/gettext.py
@@ -1,12 +1,4 @@
"""
sphinx.builders.gettext
~~~~~~~~~~~~~~~~~~~~~~~
The MessageCatalogBuilder class.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
"""The MessageCatalogBuilder class."""

from codecs import open
from collections import OrderedDict, defaultdict
Expand Down
10 changes: 1 addition & 9 deletions sphinx/builders/html/__init__.py
@@ -1,12 +1,4 @@
"""
sphinx.builders.html
~~~~~~~~~~~~~~~~~~~~
Several HTML builders.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
"""Several HTML builders."""

import html
import os
Expand Down
10 changes: 1 addition & 9 deletions sphinx/builders/html/transforms.py
@@ -1,12 +1,4 @@
"""
sphinx.builders.html.transforms
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Transforms for HTML builder.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
"""Transforms for HTML builder."""

import re
from typing import Any, Dict, List
Expand Down
10 changes: 1 addition & 9 deletions sphinx/builders/latex/__init__.py
@@ -1,12 +1,4 @@
"""
sphinx.builders.latex
~~~~~~~~~~~~~~~~~~~~~
LaTeX builder.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
"""LaTeX builder."""

import os
import warnings
Expand Down
10 changes: 1 addition & 9 deletions sphinx/builders/latex/constants.py
@@ -1,12 +1,4 @@
"""
sphinx.builders.latex.constants
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
consntants for LaTeX builder.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
"""consntants for LaTeX builder."""

from typing import Any, Dict

Expand Down
10 changes: 1 addition & 9 deletions sphinx/builders/latex/nodes.py
@@ -1,12 +1,4 @@
"""
sphinx.builders.latex.nodes
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Additional nodes for LaTeX writer.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
"""Additional nodes for LaTeX writer."""

from docutils import nodes

Expand Down
10 changes: 1 addition & 9 deletions sphinx/builders/latex/theming.py
@@ -1,12 +1,4 @@
"""
sphinx.builders.latex.theming
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Theming support for LaTeX builder.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
"""Theming support for LaTeX builder."""

import configparser
from os import path
Expand Down
10 changes: 1 addition & 9 deletions sphinx/builders/latex/transforms.py
@@ -1,12 +1,4 @@
"""
sphinx.builders.latex.transforms
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Transforms for LaTeX builder.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
"""Transforms for LaTeX builder."""

from typing import Any, Dict, List, Set, Tuple, cast

Expand Down
10 changes: 1 addition & 9 deletions sphinx/builders/latex/util.py
@@ -1,12 +1,4 @@
"""
sphinx.builders.latex.util
~~~~~~~~~~~~~~~~~~~~~~~~~~
Utilities for LaTeX builder.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
"""Utilities for LaTeX builder."""

from typing import Optional

Expand Down
10 changes: 1 addition & 9 deletions sphinx/builders/linkcheck.py
@@ -1,12 +1,4 @@
"""
sphinx.builders.linkcheck
~~~~~~~~~~~~~~~~~~~~~~~~~
The CheckExternalLinksBuilder class.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
"""The CheckExternalLinksBuilder class."""

import json
import re
Expand Down
10 changes: 1 addition & 9 deletions sphinx/builders/manpage.py
@@ -1,12 +1,4 @@
"""
sphinx.builders.manpage
~~~~~~~~~~~~~~~~~~~~~~~
Manual pages builder.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
"""Manual pages builder."""

from os import path
from typing import Any, Dict, List, Set, Tuple, Union
Expand Down
10 changes: 1 addition & 9 deletions sphinx/builders/singlehtml.py
@@ -1,12 +1,4 @@
"""
sphinx.builders.singlehtml
~~~~~~~~~~~~~~~~~~~~~~~~~~
Single HTML builders.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
"""Single HTML builders."""

from os import path
from typing import Any, Dict, List, Tuple, Union
Expand Down
10 changes: 1 addition & 9 deletions sphinx/builders/texinfo.py
@@ -1,12 +1,4 @@
"""
sphinx.builders.texinfo
~~~~~~~~~~~~~~~~~~~~~~~
Texinfo builder.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
"""Texinfo builder."""

import os
from os import path
Expand Down
10 changes: 1 addition & 9 deletions sphinx/builders/text.py
@@ -1,12 +1,4 @@
"""
sphinx.builders.text
~~~~~~~~~~~~~~~~~~~~
Plain-text Sphinx builder.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
"""Plain-text Sphinx builder."""

from os import path
from typing import Any, Dict, Iterator, Set, Tuple
Expand Down
10 changes: 1 addition & 9 deletions sphinx/builders/xml.py
@@ -1,12 +1,4 @@
"""
sphinx.builders.xml
~~~~~~~~~~~~~~~~~~~
Docutils-native XML and pseudo-XML builders.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
"""Docutils-native XML and pseudo-XML builders."""

from os import path
from typing import Any, Dict, Iterator, Set, Type, Union
Expand Down
10 changes: 1 addition & 9 deletions sphinx/cmd/__init__.py
@@ -1,9 +1 @@
"""
sphinx.cmd
~~~~~~~~~~
Modules for command line executables.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
"""Modules for command line executables."""

0 comments on commit b12b39d

Please sign in to comment.