1717
1818# -- Project information -----------------------------------------------------
1919
20- project = ' python-fluent'
20+ project = " python-fluent"
2121
2222
2323# -- General configuration ---------------------------------------------------
2626# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
2727# ones.
2828extensions = [
29- ' sphinx.ext.intersphinx' ,
30- ' sphinx.ext.viewcode' ,
31- ' sphinx.ext.autodoc' ,
29+ " sphinx.ext.intersphinx" ,
30+ " sphinx.ext.viewcode" ,
31+ " sphinx.ext.autodoc" ,
3232]
3333
3434# Add any paths that contain templates here, relative to this directory.
35- templates_path = ['_templates' ]
35+ templates_path = ["_templates" ]
36+
3637
3738# Add src_dir/docs/_templates in a hook as we only have the src_dir then.
3839def setup (app ):
39- app .connect ('config-inited' , add_templates )
40+ app .connect ("config-inited" , add_templates )
41+
4042
4143def add_templates (app , config ):
42- config .templates_path .insert (0 , f'{ app .srcdir } /_templates' )
44+ config .templates_path .insert (0 , f"{ app .srcdir } /_templates" )
45+
4346
4447# List of patterns, relative to source directory, that match files and
4548# directories to ignore when looking for source files.
4649# This pattern also affects html_static_path and html_extra_path.
47- exclude_patterns = [' _build' , ' Thumbs.db' , ' .DS_Store' ]
50+ exclude_patterns = [" _build" , " Thumbs.db" , " .DS_Store" ]
4851
4952
5053# -- Options for HTML output -------------------------------------------------
5154
5255# The theme to use for HTML and HTML Help pages. See the documentation for
5356# a list of builtin themes.
5457#
55- html_theme = ' nature'
58+ html_theme = " nature"
5659
5760# Add any paths that contain custom static files (such as style sheets) here,
5861# relative to this directory. They are copied after the builtin static files,
5962# so a file named "default.css" will overwrite the builtin "default.css".
60- html_static_path = [' _static' ]
61- html_css_files = [' project-fluent.css' ]
62- html_js_files = [' versions.js' ]
63+ html_static_path = [" _static" ]
64+ html_css_files = [" project-fluent.css" ]
65+ html_js_files = [" versions.js" ]
6366
6467html_sidebars = {
65- '**' : ['globaltoc.html' , 'versions.html' , 'searchbox.html' ],
66- }
67- html_theme_options = {
68+ "**" : ["globaltoc.html" , "versions.html" , "searchbox.html" ],
6869}
70+ html_theme_options = {}
6971
7072# -- Extension configuration -------------------------------------------------
7173
@@ -76,6 +78,6 @@ def add_templates(app, config):
7678
7779# -- Options for autodoc extension --------------------------------------------
7880autodoc_mock_imports = [
79- ' attr' ,
81+ " attr" ,
8082]
81- autodoc_member_order = ' bysource'
83+ autodoc_member_order = " bysource"
0 commit comments