mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Collapse single line docstrings
This commit is contained in:
parent
6bb7b891a1
commit
5775912455
@ -1,5 +1,4 @@
|
|||||||
"""The Sphinx documentation toolchain.
|
"""The Sphinx documentation toolchain."""
|
||||||
"""
|
|
||||||
|
|
||||||
# Keep this file executable as-is in Python 3!
|
# Keep this file executable as-is in Python 3!
|
||||||
# (Otherwise getting the version out of it from setup.py is impossible.)
|
# (Otherwise getting the version out of it from setup.py is impossible.)
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""The Sphinx documentation toolchain.
|
"""The Sphinx documentation toolchain."""
|
||||||
"""
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Additional docutils nodes.
|
"""Additional docutils nodes."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import TYPE_CHECKING, Any, Dict, List, Sequence
|
from typing import TYPE_CHECKING, Any, Dict, List, Sequence
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Builder superclass for all builders.
|
"""Builder superclass for all builders."""
|
||||||
"""
|
|
||||||
|
|
||||||
import pickle
|
import pickle
|
||||||
import time
|
import time
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Base class of epub2/epub3 builders.
|
"""Base class of epub2/epub3 builders."""
|
||||||
"""
|
|
||||||
|
|
||||||
import html
|
import html
|
||||||
import os
|
import os
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Changelog builder.
|
"""Changelog builder."""
|
||||||
"""
|
|
||||||
|
|
||||||
import html
|
import html
|
||||||
from os import path
|
from os import path
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Directory HTML builders.
|
"""Directory HTML builders."""
|
||||||
"""
|
|
||||||
|
|
||||||
from os import path
|
from os import path
|
||||||
from typing import Any, Dict
|
from typing import Any, Dict
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Do syntax checks, but no writing.
|
"""Do syntax checks, but no writing."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Any, Dict, Set
|
from typing import Any, Dict, Set
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""The MessageCatalogBuilder class.
|
"""The MessageCatalogBuilder class."""
|
||||||
"""
|
|
||||||
|
|
||||||
from codecs import open
|
from codecs import open
|
||||||
from collections import OrderedDict, defaultdict
|
from collections import OrderedDict, defaultdict
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Several HTML builders.
|
"""Several HTML builders."""
|
||||||
"""
|
|
||||||
|
|
||||||
import html
|
import html
|
||||||
import os
|
import os
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Transforms for HTML builder.
|
"""Transforms for HTML builder."""
|
||||||
"""
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
from typing import Any, Dict, List
|
from typing import Any, Dict, List
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""LaTeX builder.
|
"""LaTeX builder."""
|
||||||
"""
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import warnings
|
import warnings
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""consntants for LaTeX builder.
|
"""consntants for LaTeX builder."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Any, Dict
|
from typing import Any, Dict
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Additional nodes for LaTeX writer.
|
"""Additional nodes for LaTeX writer."""
|
||||||
"""
|
|
||||||
|
|
||||||
from docutils import nodes
|
from docutils import nodes
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Theming support for LaTeX builder.
|
"""Theming support for LaTeX builder."""
|
||||||
"""
|
|
||||||
|
|
||||||
import configparser
|
import configparser
|
||||||
from os import path
|
from os import path
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Transforms for LaTeX builder.
|
"""Transforms for LaTeX builder."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Any, Dict, List, Set, Tuple, cast
|
from typing import Any, Dict, List, Set, Tuple, cast
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Utilities for LaTeX builder.
|
"""Utilities for LaTeX builder."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""The CheckExternalLinksBuilder class.
|
"""The CheckExternalLinksBuilder class."""
|
||||||
"""
|
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import re
|
import re
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Manual pages builder.
|
"""Manual pages builder."""
|
||||||
"""
|
|
||||||
|
|
||||||
from os import path
|
from os import path
|
||||||
from typing import Any, Dict, List, Set, Tuple, Union
|
from typing import Any, Dict, List, Set, Tuple, Union
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Single HTML builders.
|
"""Single HTML builders."""
|
||||||
"""
|
|
||||||
|
|
||||||
from os import path
|
from os import path
|
||||||
from typing import Any, Dict, List, Tuple, Union
|
from typing import Any, Dict, List, Tuple, Union
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Texinfo builder.
|
"""Texinfo builder."""
|
||||||
"""
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from os import path
|
from os import path
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Plain-text Sphinx builder.
|
"""Plain-text Sphinx builder."""
|
||||||
"""
|
|
||||||
|
|
||||||
from os import path
|
from os import path
|
||||||
from typing import Any, Dict, Iterator, Set, Tuple
|
from typing import Any, Dict, Iterator, Set, Tuple
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Docutils-native XML and pseudo-XML builders.
|
"""Docutils-native XML and pseudo-XML builders."""
|
||||||
"""
|
|
||||||
|
|
||||||
from os import path
|
from os import path
|
||||||
from typing import Any, Dict, Iterator, Set, Type, Union
|
from typing import Any, Dict, Iterator, Set, Type, Union
|
||||||
|
@ -1,2 +1 @@
|
|||||||
"""Modules for command line executables.
|
"""Modules for command line executables."""
|
||||||
"""
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Build documentation from a provided source.
|
"""Build documentation from a provided source."""
|
||||||
"""
|
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import bdb
|
import bdb
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Quickly setup documentation source to work with Sphinx.
|
"""Quickly setup documentation source to work with Sphinx."""
|
||||||
"""
|
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import locale
|
import locale
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Build configuration file handling.
|
"""Build configuration file handling."""
|
||||||
"""
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import traceback
|
import traceback
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Sphinx deprecation classes and utilities.
|
"""Sphinx deprecation classes and utilities."""
|
||||||
"""
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import warnings
|
import warnings
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Handlers for additional ReST directives.
|
"""Handlers for additional ReST directives."""
|
||||||
"""
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
from typing import TYPE_CHECKING, Any, Dict, Generic, List, Tuple, TypeVar, cast
|
from typing import TYPE_CHECKING, Any, Dict, Generic, List, Tuple, TypeVar, cast
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""The C language domain.
|
"""The C language domain."""
|
||||||
"""
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
from typing import (Any, Callable, Dict, Generator, Iterator, List, Optional, Tuple, TypeVar,
|
from typing import (Any, Callable, Dict, Generator, Iterator, List, Optional, Tuple, TypeVar,
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""The changeset domain.
|
"""The changeset domain."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import TYPE_CHECKING, Any, Dict, List, NamedTuple, cast
|
from typing import TYPE_CHECKING, Any, Dict, List, NamedTuple, cast
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""The citation domain.
|
"""The citation domain."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import TYPE_CHECKING, Any, Dict, List, Optional, Set, Tuple, cast
|
from typing import TYPE_CHECKING, Any, Dict, List, Optional, Set, Tuple, cast
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""The C++ language domain.
|
"""The C++ language domain."""
|
||||||
"""
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
from typing import (Any, Callable, Dict, Generator, Iterator, List, Optional, Tuple, TypeVar,
|
from typing import (Any, Callable, Dict, Generator, Iterator, List, Optional, Tuple, TypeVar,
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""The index domain.
|
"""The index domain."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import TYPE_CHECKING, Any, Dict, Iterable, List, Tuple
|
from typing import TYPE_CHECKING, Any, Dict, Iterable, List, Tuple
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""The JavaScript domain.
|
"""The JavaScript domain."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Any, Dict, Iterator, List, Optional, Tuple, cast
|
from typing import Any, Dict, Iterator, List, Optional, Tuple, cast
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""The math domain.
|
"""The math domain."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import TYPE_CHECKING, Any, Dict, Iterable, List, Optional, Tuple
|
from typing import TYPE_CHECKING, Any, Dict, Iterable, List, Optional, Tuple
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""The Python domain.
|
"""The Python domain."""
|
||||||
"""
|
|
||||||
|
|
||||||
import builtins
|
import builtins
|
||||||
import inspect
|
import inspect
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""The reStructuredText domain.
|
"""The reStructuredText domain."""
|
||||||
"""
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
from typing import Any, Dict, Iterator, List, Optional, Tuple, cast
|
from typing import Any, Dict, Iterator, List, Optional, Tuple, cast
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""The standard domain.
|
"""The standard domain."""
|
||||||
"""
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import warnings
|
import warnings
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Global creation environment.
|
"""Global creation environment."""
|
||||||
"""
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import pickle
|
import pickle
|
||||||
|
@ -1,2 +1 @@
|
|||||||
"""Sphinx environment adapters
|
"""Sphinx environment adapters"""
|
||||||
"""
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Assets adapter for sphinx.environment.
|
"""Assets adapter for sphinx.environment."""
|
||||||
"""
|
|
||||||
|
|
||||||
from sphinx.environment import BuildEnvironment
|
from sphinx.environment import BuildEnvironment
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Index entries adapters for sphinx.environment.
|
"""Index entries adapters for sphinx.environment."""
|
||||||
"""
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import unicodedata
|
import unicodedata
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Toctree adapter for sphinx.environment.
|
"""Toctree adapter for sphinx.environment."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import TYPE_CHECKING, Any, Iterable, List, Optional, cast
|
from typing import TYPE_CHECKING, Any, Iterable, List, Optional, cast
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""The data collector components for sphinx.environment.
|
"""The data collector components for sphinx.environment."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import TYPE_CHECKING, Dict, List, Optional, Set
|
from typing import TYPE_CHECKING, Dict, List, Optional, Set
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""The image collector for sphinx.environment.
|
"""The image collector for sphinx.environment."""
|
||||||
"""
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from glob import glob
|
from glob import glob
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""The dependencies collector components for sphinx.environment.
|
"""The dependencies collector components for sphinx.environment."""
|
||||||
"""
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from os import path
|
from os import path
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""The metadata collector components for sphinx.environment.
|
"""The metadata collector components for sphinx.environment."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Any, Dict, List, Set, cast
|
from typing import Any, Dict, List, Set, cast
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""The title collector components for sphinx.environment.
|
"""The title collector components for sphinx.environment."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Any, Dict, Set
|
from typing import Any, Dict, Set
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Toctree collector for sphinx.environment.
|
"""Toctree collector for sphinx.environment."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Any, Dict, List, Set, Tuple, Type, TypeVar, cast
|
from typing import Any, Dict, List, Set, Tuple, Type, TypeVar, cast
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Contains SphinxError and a few subclasses.
|
"""Contains SphinxError and a few subclasses."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
|
@ -1,2 +1 @@
|
|||||||
"""Contains Sphinx features not activated by default.
|
"""Contains Sphinx features not activated by default."""
|
||||||
"""
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""The deprecated Documenters for autodoc.
|
"""The deprecated Documenters for autodoc."""
|
||||||
"""
|
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Importer utilities for autodoc
|
"""Importer utilities for autodoc"""
|
||||||
"""
|
|
||||||
|
|
||||||
import importlib
|
import importlib
|
||||||
import traceback
|
import traceback
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""mock for autodoc
|
"""mock for autodoc"""
|
||||||
"""
|
|
||||||
|
|
||||||
import contextlib
|
import contextlib
|
||||||
import os
|
import os
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Update annotations info of living objects using type_comments.
|
"""Update annotations info of living objects using type_comments."""
|
||||||
"""
|
|
||||||
|
|
||||||
from inspect import Parameter, Signature, getsource
|
from inspect import Parameter, Signature, getsource
|
||||||
from typing import Any, Dict, List, cast
|
from typing import Any, Dict, List, cast
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Generating content for autodoc using typehints
|
"""Generating content for autodoc using typehints"""
|
||||||
"""
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Allow reference sections by :ref: role using its title.
|
"""Allow reference sections by :ref: role using its title."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Any, Dict, cast
|
from typing import Any, Dict, cast
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Measure durations of Sphinx processing.
|
"""Measure durations of Sphinx processing."""
|
||||||
"""
|
|
||||||
|
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
from itertools import islice
|
from itertools import islice
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""To publish HTML docs at GitHub Pages, create .nojekyll file.
|
"""To publish HTML docs at GitHub Pages, create .nojekyll file."""
|
||||||
"""
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import urllib
|
import urllib
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Image converter extension for Sphinx
|
"""Image converter extension for Sphinx"""
|
||||||
"""
|
|
||||||
|
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Render math in HTML via dvipng or dvisvgm.
|
"""Render math in HTML via dvipng or dvisvgm."""
|
||||||
"""
|
|
||||||
|
|
||||||
import posixpath
|
import posixpath
|
||||||
import re
|
import re
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Add external links to module code in Python object descriptions.
|
"""Add external links to module code in Python object descriptions."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Any, Dict, Set
|
from typing import Any, Dict, Set
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Support for NumPy and Google style docstrings.
|
"""Support for NumPy and Google style docstrings."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Any, Dict, List
|
from typing import Any, Dict, List
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Add links to module code in Python object descriptions.
|
"""Add links to module code in Python object descriptions."""
|
||||||
"""
|
|
||||||
|
|
||||||
import posixpath
|
import posixpath
|
||||||
import traceback
|
import traceback
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Utilities for Sphinx extensions.
|
"""Utilities for Sphinx extensions."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import TYPE_CHECKING, Any, Dict
|
from typing import TYPE_CHECKING, Any, Dict
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Highlight code blocks using Pygments.
|
"""Highlight code blocks using Pygments."""
|
||||||
"""
|
|
||||||
|
|
||||||
from functools import partial
|
from functools import partial
|
||||||
from importlib import import_module
|
from importlib import import_module
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Input/Output files
|
"""Input/Output files"""
|
||||||
"""
|
|
||||||
import codecs
|
import codecs
|
||||||
from typing import TYPE_CHECKING, Any, List, Type
|
from typing import TYPE_CHECKING, Any, List, Type
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Glue code for the jinja2 templating engine.
|
"""Glue code for the jinja2 templating engine."""
|
||||||
"""
|
|
||||||
|
|
||||||
from os import path
|
from os import path
|
||||||
from pprint import pformat
|
from pprint import pformat
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Locale utilities.
|
"""Locale utilities."""
|
||||||
"""
|
|
||||||
|
|
||||||
import gettext
|
import gettext
|
||||||
import locale
|
import locale
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""A Base class for additional parsers.
|
"""A Base class for additional parsers."""
|
||||||
"""
|
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
from typing import TYPE_CHECKING, Any, Dict, List, Type, Union
|
from typing import TYPE_CHECKING, Any, Dict, List, Type, Union
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Utility function and classes for Sphinx projects.
|
"""Utility function and classes for Sphinx projects."""
|
||||||
"""
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from glob import glob
|
from glob import glob
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Utilities parsing and analyzing Python code.
|
"""Utilities parsing and analyzing Python code."""
|
||||||
"""
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import tokenize
|
import tokenize
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Helpers for AST (Abstract Syntax Tree).
|
"""Helpers for AST (Abstract Syntax Tree)."""
|
||||||
"""
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
from typing import Dict, List, Optional, Type, overload
|
from typing import Dict, List, Optional, Type, overload
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Utilities parsing and analyzing Python code.
|
"""Utilities parsing and analyzing Python code."""
|
||||||
"""
|
|
||||||
import inspect
|
import inspect
|
||||||
import itertools
|
import itertools
|
||||||
import re
|
import re
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Sphinx theme specific highlighting styles.
|
"""Sphinx theme specific highlighting styles."""
|
||||||
"""
|
|
||||||
|
|
||||||
from pygments.style import Style
|
from pygments.style import Style
|
||||||
from pygments.styles.friendly import FriendlyStyle
|
from pygments.styles.friendly import FriendlyStyle
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Sphinx component registry.
|
"""Sphinx component registry."""
|
||||||
"""
|
|
||||||
|
|
||||||
import traceback
|
import traceback
|
||||||
import warnings
|
import warnings
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Handlers for additional ReST roles.
|
"""Handlers for additional ReST roles."""
|
||||||
"""
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
from typing import TYPE_CHECKING, Any, Dict, List, Tuple, Type
|
from typing import TYPE_CHECKING, Any, Dict, List, Tuple, Type
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Create a full-text search index for offline search.
|
"""Create a full-text search index for offline search."""
|
||||||
"""
|
|
||||||
import html
|
import html
|
||||||
import pickle
|
import pickle
|
||||||
import re
|
import re
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Danish search language: includes the JS Danish stemmer.
|
"""Danish search language: includes the JS Danish stemmer."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""German search language: includes the JS German stemmer.
|
"""German search language: includes the JS German stemmer."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""English search language: includes the JS porter stemmer.
|
"""English search language: includes the JS porter stemmer."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Spanish search language: includes the JS Spanish stemmer.
|
"""Spanish search language: includes the JS Spanish stemmer."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Finnish search language: includes the JS Finnish stemmer.
|
"""Finnish search language: includes the JS Finnish stemmer."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""French search language: includes the JS French stemmer.
|
"""French search language: includes the JS French stemmer."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Hungarian search language: includes the JS Hungarian stemmer.
|
"""Hungarian search language: includes the JS Hungarian stemmer."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Italian search language: includes the JS Italian stemmer.
|
"""Italian search language: includes the JS Italian stemmer."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Japanese search language: includes routine to split words.
|
"""Japanese search language: includes routine to split words."""
|
||||||
"""
|
|
||||||
|
|
||||||
# Python Version of TinySegmenter
|
# Python Version of TinySegmenter
|
||||||
# (http://chasen.org/~taku/software/TinySegmenter/)
|
# (http://chasen.org/~taku/software/TinySegmenter/)
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Dutch search language: includes the JS porter stemmer.
|
"""Dutch search language: includes the JS porter stemmer."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Norwegian search language: includes the JS Norwegian stemmer.
|
"""Norwegian search language: includes the JS Norwegian stemmer."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Portuguese search language: includes the JS Portuguese stemmer.
|
"""Portuguese search language: includes the JS Portuguese stemmer."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Romanian search language: includes the JS Romanian stemmer.
|
"""Romanian search language: includes the JS Romanian stemmer."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Dict, Set
|
from typing import Dict, Set
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Russian search language: includes the JS Russian stemmer.
|
"""Russian search language: includes the JS Russian stemmer."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Swedish search language: includes the JS Swedish stemmer.
|
"""Swedish search language: includes the JS Swedish stemmer."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Turkish search language: includes the JS Turkish stemmer.
|
"""Turkish search language: includes the JS Turkish stemmer."""
|
||||||
"""
|
|
||||||
|
|
||||||
from typing import Dict, Set
|
from typing import Dict, Set
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Chinese search language: includes routine to split words.
|
"""Chinese search language: includes routine to split words."""
|
||||||
"""
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Sphinx test comparer for pytest
|
"""Sphinx test comparer for pytest"""
|
||||||
"""
|
|
||||||
import difflib
|
import difflib
|
||||||
import pathlib
|
import pathlib
|
||||||
from typing import Any, List, Union
|
from typing import Any, List, Union
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Sphinx test fixtures for pytest
|
"""Sphinx test fixtures for pytest"""
|
||||||
"""
|
|
||||||
|
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Sphinx test suite utilities
|
"""Sphinx test suite utilities"""
|
||||||
"""
|
|
||||||
import functools
|
import functools
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
"""Theming support for HTML builders.
|
"""Theming support for HTML builders."""
|
||||||
"""
|
|
||||||
|
|
||||||
import configparser
|
import configparser
|
||||||
import os
|
import os
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user