3232# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
3333# ones.
3434extensions = [
35- ' myst_parser' ,
36- ' sphinx.ext.autodoc' ,
37- ' sphinx.ext.intersphinx' ,
38- ' sphinx.ext.napoleon' ,
39- ' sphinxcontrib_github_alt' ,
35+ " myst_parser" ,
36+ " sphinx.ext.autodoc" ,
37+ " sphinx.ext.intersphinx" ,
38+ " sphinx.ext.napoleon" ,
39+ " sphinxcontrib_github_alt" ,
4040 "sphinx_autodoc_typehints" ,
4141]
4242
@@ -60,23 +60,23 @@ def filter(self, record: pylogging.LogRecord) -> bool:
6060myst_enable_extensions = ["html_image" ]
6161
6262# Add any paths that contain templates here, relative to this directory.
63- templates_path = [' _templates' ]
63+ templates_path = [" _templates" ]
6464
6565# The suffix(es) of source filenames.
6666# You can specify multiple suffix as a list of string:
6767# source_suffix = ['.rst', '.md']
68- source_suffix = ' .rst'
68+ source_suffix = " .rst"
6969
7070# The encoding of source files.
7171# source_encoding = 'utf-8-sig'
7272
7373# The master toctree document.
74- master_doc = ' index'
74+ master_doc = " index"
7575
7676# General information about the project.
77- project = ' jupyter_client'
78- copyright = ' 2015, Jupyter Development Team'
79- author = ' Jupyter Development Team'
77+ project = " jupyter_client"
78+ copyright = " 2015, Jupyter Development Team"
79+ author = " Jupyter Development Team"
8080
8181github_project_url = "https://github.com/jupyter/jupyter_client"
8282
@@ -86,14 +86,14 @@ def filter(self, record: pylogging.LogRecord) -> bool:
8686#
8787version_ns : dict = {}
8888here = os .path .dirname (__file__ )
89- version_py = os .path .join (here , os .pardir , ' jupyter_client' , ' _version.py' )
89+ version_py = os .path .join (here , os .pardir , " jupyter_client" , " _version.py" )
9090with open (version_py ) as f :
91- exec (compile (f .read (), version_py , ' exec' ), version_ns ) # noqa
91+ exec (compile (f .read (), version_py , " exec" ), version_ns ) # noqa
9292
9393# The short X.Y version.
94- version = ' %i.%i' % version_ns [' version_info' ][:2 ]
94+ version = " %i.%i" % version_ns [" version_info" ][:2 ]
9595# The full version, including alpha/beta/rc tags.
96- release = version_ns [' __version__' ]
96+ release = version_ns [" __version__" ]
9797
9898# The language for content autogenerated by Sphinx. Refer to documentation
9999# for a list of supported languages.
@@ -110,7 +110,7 @@ def filter(self, record: pylogging.LogRecord) -> bool:
110110
111111# List of patterns, relative to source directory, that match files and
112112# directories to ignore when looking for source files.
113- exclude_patterns = [' _build' ]
113+ exclude_patterns = [" _build" ]
114114
115115# The reST default role (used for this markup: `text`) to use for all
116116# documents.
@@ -128,7 +128,7 @@ def filter(self, record: pylogging.LogRecord) -> bool:
128128# show_authors = False
129129
130130# The name of the Pygments (syntax highlighting) style to use.
131- pygments_style = ' sphinx'
131+ pygments_style = " sphinx"
132132
133133# A list of ignored prefixes for module index sorting.
134134# modindex_common_prefix = []
@@ -144,12 +144,12 @@ def filter(self, record: pylogging.LogRecord) -> bool:
144144
145145# The theme to use for HTML and HTML Help pages. See the documentation for
146146# a list of builtin themes.
147- html_theme = ' pydata_sphinx_theme'
147+ html_theme = " pydata_sphinx_theme"
148148
149149# Theme options are theme-specific and customize the look and feel of a theme
150150# further. For a list of options available for each theme, see the
151151# documentation.
152- # html_theme_options = {}
152+ html_theme_options = {"navigation_with_keys" : False }
153153
154154# Add any paths that contain custom themes here, relative to this directory.
155155# html_theme_path = []
@@ -236,7 +236,7 @@ def filter(self, record: pylogging.LogRecord) -> bool:
236236# html_search_scorer = 'scorer.js'
237237
238238# Output file base name for HTML help builder.
239- htmlhelp_basename = ' jupyter_clientdoc'
239+ htmlhelp_basename = " jupyter_clientdoc"
240240
241241# -- Options for LaTeX output ---------------------------------------------
242242
@@ -257,10 +257,10 @@ def filter(self, record: pylogging.LogRecord) -> bool:
257257latex_documents = [
258258 (
259259 master_doc ,
260- ' jupyter_client.tex' ,
261- ' jupyter\\ _client Documentation' ,
262- ' Jupyter Development Team' ,
263- ' manual' ,
260+ " jupyter_client.tex" ,
261+ " jupyter\\ _client Documentation" ,
262+ " Jupyter Development Team" ,
263+ " manual" ,
264264 ),
265265]
266266
@@ -289,7 +289,7 @@ def filter(self, record: pylogging.LogRecord) -> bool:
289289
290290# One entry per manual page. List of tuples
291291# (source start file, name, description, authors, manual section).
292- man_pages = [(master_doc , ' jupyter_client' , ' jupyter_client Documentation' , [author ], 1 )]
292+ man_pages = [(master_doc , " jupyter_client" , " jupyter_client Documentation" , [author ], 1 )]
293293
294294# If true, show URL addresses after external links.
295295# man_show_urls = False
@@ -303,12 +303,12 @@ def filter(self, record: pylogging.LogRecord) -> bool:
303303texinfo_documents = [
304304 (
305305 master_doc ,
306- ' jupyter_client' ,
307- ' jupyter_client Documentation' ,
306+ " jupyter_client" ,
307+ " jupyter_client Documentation" ,
308308 author ,
309- ' jupyter_client' ,
310- ' One line description of project.' ,
311- ' Miscellaneous' ,
309+ " jupyter_client" ,
310+ " One line description of project." ,
311+ " Miscellaneous" ,
312312 ),
313313]
314314
@@ -326,10 +326,10 @@ def filter(self, record: pylogging.LogRecord) -> bool:
326326
327327
328328# Example configuration for intersphinx: refer to the Python standard library.
329- intersphinx_mapping = {' ipython' : (' http://ipython.readthedocs.io/en/stable/' , None )}
329+ intersphinx_mapping = {" ipython" : (" http://ipython.readthedocs.io/en/stable/" , None )}
330330
331331
332332def setup (app : object ) -> None :
333333 HERE = osp .abspath (osp .dirname (__file__ ))
334- dest = osp .join (HERE , ' changelog.md' )
335- shutil .copy (osp .join (HERE , '..' , ' CHANGELOG.md' ), dest )
334+ dest = osp .join (HERE , " changelog.md" )
335+ shutil .copy (osp .join (HERE , ".." , " CHANGELOG.md" ), dest )
0 commit comments