diff --git a/debian/changelog b/debian/changelog index 28217b4..aed559b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +pytest (7.2.1-ok2) yangtze; urgency=medium + + * Apply patchs. + + -- sufang Wed, 15 Feb 2023 10:03:38 +0800 + pytest (7.2.1-ok1) yangtze; urgency=medium * Build for openkylin. diff --git a/doc/en/conf.py b/doc/en/conf.py index 5184ee7..ff0049d 100644 --- a/doc/en/conf.py +++ b/doc/en/conf.py @@ -67,15 +67,12 @@ latex_elements = { # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = [ "pallets_sphinx_themes", - "pygments_pytest", "sphinx.ext.autodoc", "sphinx.ext.autosummary", "sphinx.ext.extlinks", "sphinx.ext.intersphinx", "sphinx.ext.todo", "sphinx.ext.viewcode", - "sphinx_removed_in", - "sphinxcontrib_trio", ] # Building PDF docs on readthedocs requires inkscape for svg to pdf @@ -395,6 +392,22 @@ intersphinx_mapping = { "setuptools": ("https://setuptools.pypa.io/en/stable", None), "packaging": ("https://packaging.python.org/en/latest", None), } +def check_object_path(key, url, path): + if os.path.isfile(path): + return {key: (url, path)} + return {} + +intersphinx_mapping = {} +intersphinx_mapping.update( + check_object_path('python', + 'http://docs.python.org/', + '/usr/share/doc/python%d.%d/html/objects.inv' % \ + sys.version_info[:2])) +# The Debian packaging for pluggy does not yet generate the documentation +intersphinx_mapping.update( + check_object_path('pluggy', + 'https://pluggy.readthedocs.io/en/latest', + '/usr/share/doc/python3-pluggy/html/objects.inv')) def configure_logging(app: "sphinx.application.Sphinx") -> None: