44# https://www.sphinx-doc.org/en/master/usage/configuration.html
55
66# -- Project information -----------------------------------------------------
7- # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
8-
97project = 'LLAMATOR'
10- copyright = '2024, LLaMasters '
11- author = 'Neronov Roman, Nizamov Timur, Fazlyev Albert, Ivanov Nikita, Iogan Maksim '
8+ copyright = '2025, Neronov Roman, Nizamov Timur, Ivanov Nikita '
9+ author = 'Neronov Roman, Nizamov Timur, Ivanov Nikita'
1210
1311# -- General configuration ---------------------------------------------------
14- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
15-
1612extensions = [
17- "sphinx.ext.napoleon" ,# support for google style docstrings
18- "sphinx.ext.autodoc" , # auto* are for automatic code docs generation
19- "sphinx.ext.autosummary" , # as above
20- "sphinx.ext.intersphinx" , # allows to cross reference other sphinx documentations
13+ "sphinx.ext.napoleon" , # support for google style docstrings
14+ "sphinx.ext.autodoc" , # auto* are for automatic code docs generation
15+ "sphinx.ext.autosummary" , # as above
16+ "sphinx.ext.intersphinx" , # allows to cross reference other sphinx documentations
2117 "sphinx.ext.autosectionlabel" , # each doc section gets automatic reference generated
22- "myst_parser" , # adds support for Markdown
18+ "myst_parser" , # adds support for Markdown
2319 "sphinx.ext.extlinks" ,
2420 "sphinx.ext.mathjax" ,
2521 "sphinx.ext.todo" ,
3026exclude_patterns = ['_build' , 'Thumbs.db' , '.DS_Store' ]
3127
3228# -- Options for TODOs -------------------------------------------------------
33- #
34-
3529todo_include_todos = False
3630
3731# -- Options for Markdown files ----------------------------------------------
38- #
39-
4032myst_enable_extensions = [
4133 "colon_fence" ,
4234 "deflist" ,
4335]
4436myst_heading_anchors = 3
4537
4638# -- Options for HTML output -------------------------------------------------
47- # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
48-
4939html_theme = "furo"
5040html_static_path = ["_static" ]
51- # Set link name generated in the top bar.
41+
42+ html_logo = "../assets/LLAMATOR.svg"
43+
5244html_title = "LLAMATOR"
5345
5446html_theme_options = {
5547 "light_css_variables" : {
56- # Primary background colors
5748 "color-background-primary" : "#f8f5fa" , # Very light pinkish purple background
5849 "color-background-secondary" : "#f0ebf3" , # Slightly darker pinkish purple
59- # Text colors
6050 "color-foreground-primary" : "#2d1b36" , # Very dark purple for primary text
6151 "color-foreground-secondary" : "#432952" , # Dark purple for secondary text
62- # Brand colors
6352 "color-brand-primary" : "#2d1b36" , # Very dark purple
6453 "color-brand-content" : "#432952" , # Dark purple
65- # Links
6654 "color-link" : "#614378" , # Purple for links
6755 "color-link-hover" : "#7b5696" , # Lighter purple on hover
68- # Admonitions
6956 "color-admonition-background" : "#fff9fc" , # Very light pink background for notes
7057 "color-admonition-title-background" : "#2d1b36" , # Very dark purple for the title
7158 "color-admonition-title" : "#ffffff" , # White text on dark background
7259 "color-admonition-border" : "#2d1b36" , # Very dark purple for the border
73- # Code
7460 "color-code-background" : "#f5f0f7" , # Light pinkish purple background for code
7561 "color-code-foreground" : "#2d1b36" , # Very dark purple code text
76- # Sidebar
7762 "color-sidebar-background" : "#f5f0f7" , # Light pinkish purple sidebar background
7863 "color-sidebar-item-background--hover" : "#ebe4ef" , # On menu item hover
7964 "color-sidebar-item-expander-background--hover" : "#e0d7e6" , # On hover over a drop-down element
8065 "color-sidebar-search-background" : "#fff9fc" , # Very light pink search background
8166 "color-sidebar-search-background--focus" : "#fff9fc" , # Same on focus
8267 },
8368 "dark_css_variables" : {
84- # [Leave the dark theme unchanged]
8569 "color-background-primary" : "#1a1b24" ,
8670 "color-background-secondary" : "#44475a" ,
8771 "color-foreground-primary" : "#f8f8f2" ,
10286 "color-sidebar-search-background" : "#44475a" ,
10387 "color-sidebar-search-background--focus" : "#44475a" ,
10488 },
105- # [The rest of the settings remain unchanged.]
106- "sidebar_hide_name" : False ,
89+ "sidebar_hide_name" : True ,
10790 "footer_icons" : [
10891 {
10992 "name" : "GitHub" ,
123106
124107autosectionlabel_prefix_document = True
125108
126- # Mapping to link other documentations
127109intersphinx_mapping = {
128110 'python' : ('https://docs.python.org/3' , None ),
129111 "scipy" : ("https://docs.scipy.org/doc/scipy/reference/" , None ),
130112 "numpy" : ("https://numpy.org/doc/stable" , None ),
131113}
132114
133-
134115# Configuration for Napoleon extension
135116napoleon_google_docstring = True
136117napoleon_numpy_docstring = True
157138}
158139
159140pygments_style = "dracula"
160- pygments_dark_style = "dracula"
161-
162- # workaround for sphinx material issue with empty left sidebar
163- # See: https://github.com/bashtage/sphinx-material/issues/30
164- # uncomment below lines if you use: html_theme = "sphinx_material"
165- # html_sidebars = {
166- # "**": ["logo-text.html", "globaltoc.html", "localtoc.html", "searchbox.html"]
167- # }
141+ pygments_dark_style = "dracula"
0 commit comments