|
5 | 5 | sys.path.insert(0, os.path.abspath("..")) |
6 | 6 |
|
7 | 7 | # General options |
8 | | -needs_sphinx = '7.2' |
| 8 | +needs_sphinx = "7.2" |
9 | 9 | add_function_parentheses = True |
10 | 10 |
|
11 | | -extensions = ['myst_parser', 'sphinx.ext.autodoc', 'sphinx.ext.autosectionlabel', 'sphinx.ext.extlinks', 'sphinx_substitution_extensions', 'sphinx_inline_tabs', 'pygments.sphinxext', ] |
| 11 | +extensions = [ |
| 12 | + "myst_parser", |
| 13 | + "sphinx.ext.autodoc", |
| 14 | + "sphinx.ext.autosectionlabel", |
| 15 | + "sphinx.ext.extlinks", |
| 16 | + "sphinx_substitution_extensions", |
| 17 | + "sphinx_inline_tabs", |
| 18 | + "pygments.sphinxext", |
| 19 | +] |
12 | 20 |
|
13 | | -issues_github_path = "JSQLParser/JSqlParser" |
14 | 21 |
|
15 | | -source_encoding = 'utf-8-sig' |
16 | | -#pygments_style = 'friendly' |
| 22 | +source_encoding = "utf-8-sig" |
| 23 | +# pygments_style = 'friendly' |
17 | 24 | show_sphinx = False |
18 | | -master_doc = 'index' |
19 | | -exclude_patterns = ['_themes', '_static/css'] |
| 25 | +master_doc = "index" |
| 26 | +exclude_patterns = ["_themes", "_static/css"] |
20 | 27 | logo_only = True |
21 | 28 |
|
22 | 29 | # HTML options |
23 | 30 | html_theme = "manticore_sphinx_theme" |
24 | 31 | html_short_title = "JSQLParser" |
25 | | -htmlhelp_basename = "JSQLParser" + '-doc' |
| 32 | +htmlhelp_basename = "JSQLParser" + "-doc" |
26 | 33 | html_use_index = True |
27 | 34 | html_show_sourcelink = False |
28 | | -html_static_path = ['_static'] |
29 | | -html_logo = '_images/logo-no-background.svg' |
30 | | -html_favicon = '_images/favicon.svg' |
31 | | -html_css_files = ['svg.css'] |
| 35 | +html_static_path = ["_static"] |
| 36 | +html_logo = "_images/logo-no-background.svg" |
| 37 | +html_favicon = "_images/favicon.svg" |
| 38 | +html_css_files = ["svg.css"] |
32 | 39 |
|
33 | 40 | html_theme_options = { |
34 | | - 'path_to_docs': 'site/sphinx', |
35 | | - 'repository_url': 'https://github.com/JSQLParser/JSqlParser', |
36 | | - 'repository_branch': 'master', |
37 | | - 'use_issues_button': True, |
38 | | - 'use_download_button': True, |
39 | | - 'use_fullscreen_button': True, |
40 | | - 'use_repository_button': True, |
| 41 | + "logo": "_images/logo-no-background.svg", |
| 42 | + "logo_alt": "JSQL Parser", |
| 43 | + "favicon": "_images/favicon.svg", |
| 44 | + "color_primary": "#0063db", |
| 45 | + "color_accent": "#d90000", |
| 46 | + "color_sidebar_bg": "#f5f6fa", |
| 47 | + "color_sidebar_text": "#2d2d48", |
| 48 | + "navigation_depth": 2, |
| 49 | + "show_breadcrumbs": True, |
| 50 | + "footer_text": "All rights reserved.", |
| 51 | + "show_powered_by": True, |
| 52 | + "repo_url": "https://github.com/JSQLParser/JSqlParse", |
| 53 | + "repo_name": "GitHub", |
| 54 | + "landing_page": "index", |
| 55 | + "collapse_navigation": True, |
41 | 56 | } |
42 | | - |
43 | | - |
|
0 commit comments