| 1 |
From: =?utf-8?q?H=C3=A5vard_Flaget_Aasen?= <[email protected]> |
| 2 |
Date: Sun, 27 Dec 2020 18:39:08 +0100 |
| 3 |
Subject: drop intersphinx |
| 4 |
|
| 5 |
Forwarded: not-needed |
| 6 |
--- |
| 7 |
docs/conf.py | 30 ++++++++++++++---------------- |
| 8 |
1 file changed, 14 insertions(+), 16 deletions(-) |
| 9 |
|
| 10 |
diff --git a/docs/conf.py b/docs/conf.py |
| 11 |
index a6deb89..71cdf48 100644 |
| 12 |
--- a/docs/conf.py |
| 13 |
+++ b/docs/conf.py |
| 14 |
@@ -38,13 +38,11 @@ extensions = [ |
| 15 |
'sphinx.ext.coverage', |
| 16 |
'sphinx.ext.doctest', |
| 17 |
'sphinx.ext.extlinks', |
| 18 |
- 'sphinx.ext.intersphinx', |
| 19 |
'sphinx.ext.viewcode', |
| 20 |
] |
| 21 |
if importlib.util.find_spec('sphinx_copybutton'): |
| 22 |
extensions.append('sphinx_copybutton') |
| 23 |
|
| 24 |
-intersphinx_mapping = {'python': ('https://docs.python.org/3', None)} |
| 25 |
|
| 26 |
# Add any paths that contain templates here, relative to this directory. |
| 27 |
# templates_path = ['_templates'] |
| 28 |
@@ -71,7 +69,7 @@ copyright = f'2009-2026 {author}' # ruff: ignore[builtin-variable-shadowing] # |
| 29 |
# The full version, including alpha/beta/rc tags. |
| 30 |
release = bidict_metadata['Version'] |
| 31 |
# The short X.Y version. |
| 32 |
-version = '.'.join(release.split('.')[:2]) |
| 33 |
+version = ".".join(release.split(".")[:2]) |
| 34 |
|
| 35 |
# The language for content autogenerated by Sphinx. Refer to documentation |
| 36 |
# for a list of supported languages. |
| 37 |
@@ -85,7 +83,7 @@ version = '.'.join(release.split('.')[:2]) |
| 38 |
|
| 39 |
# List of patterns, relative to source directory, that match files and |
| 40 |
# directories to ignore when looking for source files. |
| 41 |
-exclude_patterns = ['_build'] |
| 42 |
+exclude_patterns = ["_build"] |
| 43 |
|
| 44 |
# The reST default role (used for this markup: `text`) to use for all |
| 45 |
# documents. |
| 46 |
@@ -106,7 +104,7 @@ exclude_patterns = ['_build'] |
| 47 |
# pygments_style = 'colorful' |
| 48 |
|
| 49 |
# A list of ignored prefixes for module index sorting. |
| 50 |
-modindex_common_prefix = ['bidict.'] |
| 51 |
+modindex_common_prefix = ["bidict."] |
| 52 |
|
| 53 |
# If true, keep warnings as "system message" paragraphs in the built documents. |
| 54 |
# keep_warnings = False |
| 55 |
@@ -116,7 +114,7 @@ modindex_common_prefix = ['bidict.'] |
| 56 |
|
| 57 |
# The theme to use for HTML and HTML Help pages. See the documentation for |
| 58 |
# a list of builtin themes. |
| 59 |
-html_theme = 'furo' |
| 60 |
+html_theme = "furo" |
| 61 |
|
| 62 |
# Theme options are theme-specific and customize the look and feel of a theme |
| 63 |
# further. For a list of options available for each theme, see the |
| 64 |
@@ -130,7 +128,7 @@ html_theme = 'furo' |
| 65 |
|
| 66 |
# The name for this set of Sphinx documents. If None, it defaults to |
| 67 |
# "<project> v<release> documentation". |
| 68 |
-html_title = 'bidict' |
| 69 |
+html_title = "bidict" |
| 70 |
|
| 71 |
# A shorter title for the navigation bar. Default is the same as html_title. |
| 72 |
# html_short_title = 'bidict' |
| 73 |
@@ -142,12 +140,12 @@ html_title = 'bidict' |
| 74 |
# The name of an image file (within the static path) to use as favicon of the |
| 75 |
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 |
| 76 |
# pixels large. |
| 77 |
-html_favicon = '_static/favicon.ico' |
| 78 |
+html_favicon = "_static/favicon.ico" |
| 79 |
|
| 80 |
# Add any paths that contain custom static files (such as style sheets) here, |
| 81 |
# relative to this directory. They are copied after the builtin static files, |
| 82 |
# so a file named "default.css" will overwrite the builtin "default.css". |
| 83 |
-html_static_path = ['_static'] |
| 84 |
+html_static_path = ["_static"] |
| 85 |
|
| 86 |
# Add any extra paths that contain custom files (such as robots.txt or |
| 87 |
# .htaccess) here, relative to this directory. These files are copied |
| 88 |
@@ -159,7 +157,7 @@ html_static_path = ['_static'] |
| 89 |
|
| 90 |
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, |
| 91 |
# using the given strftime format. |
| 92 |
-html_last_updated_fmt = '%b %d, %Y' |
| 93 |
+html_last_updated_fmt = "%b %d, %Y" |
| 94 |
|
| 95 |
# If true, SmartyPants will be used to convert quotes and dashes to |
| 96 |
# typographically correct entities. |
| 97 |
@@ -168,12 +166,12 @@ html_last_updated_fmt = '%b %d, %Y' |
| 98 |
# Custom sidebar templates, maps document names to template names. |
| 99 |
# https://pradyunsg.me/furo/customisation/sidebar/#using-html-sidebars |
| 100 |
html_sidebars = { |
| 101 |
- '**': [ |
| 102 |
- 'sidebar/brand.html', |
| 103 |
- 'sidebar/search.html', |
| 104 |
- 'sidebar/scroll-start.html', |
| 105 |
- 'sidebar/navigation.html', |
| 106 |
- 'sidebar/scroll-end.html', |
| 107 |
+ "**": [ |
| 108 |
+ "sidebar/brand.html", |
| 109 |
+ "sidebar/search.html", |
| 110 |
+ "sidebar/scroll-start.html", |
| 111 |
+ "sidebar/navigation.html", |
| 112 |
+ "sidebar/scroll-end.html", |
| 113 |
], |
| 114 |
} |
| 115 |
|