From: =?utf-8?q?H=C3=A5vard_Flaget_Aasen?= Date: Sun, 27 Dec 2020 18:39:08 +0100 Subject: drop intersphinx Forwarded: not-needed --- docs/conf.py | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index a6deb89..71cdf48 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -38,13 +38,11 @@ extensions = [ 'sphinx.ext.coverage', 'sphinx.ext.doctest', 'sphinx.ext.extlinks', - 'sphinx.ext.intersphinx', 'sphinx.ext.viewcode', ] if importlib.util.find_spec('sphinx_copybutton'): extensions.append('sphinx_copybutton') -intersphinx_mapping = {'python': ('https://docs.python.org/3', None)} # Add any paths that contain templates here, relative to this directory. # templates_path = ['_templates'] @@ -71,7 +69,7 @@ copyright = f'2009-2026 {author}' # ruff: ignore[builtin-variable-shadowing] # # The full version, including alpha/beta/rc tags. release = bidict_metadata['Version'] # The short X.Y version. -version = '.'.join(release.split('.')[:2]) +version = ".".join(release.split(".")[:2]) # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -85,7 +83,7 @@ version = '.'.join(release.split('.')[:2]) # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. -exclude_patterns = ['_build'] +exclude_patterns = ["_build"] # The reST default role (used for this markup: `text`) to use for all # documents. @@ -106,7 +104,7 @@ exclude_patterns = ['_build'] # pygments_style = 'colorful' # A list of ignored prefixes for module index sorting. -modindex_common_prefix = ['bidict.'] +modindex_common_prefix = ["bidict."] # If true, keep warnings as "system message" paragraphs in the built documents. # keep_warnings = False @@ -116,7 +114,7 @@ modindex_common_prefix = ['bidict.'] # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'furo' +html_theme = "furo" # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the @@ -130,7 +128,7 @@ html_theme = 'furo' # The name for this set of Sphinx documents. If None, it defaults to # " v documentation". -html_title = 'bidict' +html_title = "bidict" # A shorter title for the navigation bar. Default is the same as html_title. # html_short_title = 'bidict' @@ -142,12 +140,12 @@ html_title = 'bidict' # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 # pixels large. -html_favicon = '_static/favicon.ico' +html_favicon = "_static/favicon.ico" # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] +html_static_path = ["_static"] # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied @@ -159,7 +157,7 @@ html_static_path = ['_static'] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. -html_last_updated_fmt = '%b %d, %Y' +html_last_updated_fmt = "%b %d, %Y" # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. @@ -168,12 +166,12 @@ html_last_updated_fmt = '%b %d, %Y' # Custom sidebar templates, maps document names to template names. # https://pradyunsg.me/furo/customisation/sidebar/#using-html-sidebars html_sidebars = { - '**': [ - 'sidebar/brand.html', - 'sidebar/search.html', - 'sidebar/scroll-start.html', - 'sidebar/navigation.html', - 'sidebar/scroll-end.html', + "**": [ + "sidebar/brand.html", + "sidebar/search.html", + "sidebar/scroll-start.html", + "sidebar/navigation.html", + "sidebar/scroll-end.html", ], }