Skip to content

Commit

Permalink
custom doc color
Browse files Browse the repository at this point in the history
  • Loading branch information
WassimTenachi committed Jun 14, 2024
1 parent 6ecd6a1 commit 03b3dca
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
10 changes: 10 additions & 0 deletions docs/source/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
body {
--themecolor: #027581;
}

.wy-side-nav-search {
background-color: var(--themecolor);
}
.wy-nav-top {
background-color: var(--themecolor);
}
11 changes: 7 additions & 4 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,21 @@
}
intersphinx_disabled_domains = ['std']

templates_path = ['_templates']

source_suffix = {
'.rst': 'restructuredtext',
'.md': 'markdown',
}

# -- Options for HTML output

html_theme = 'sphinx_rtd_theme'
html_logo = '../assets/logo_doc.png'


# -- Options for EPUB output
epub_show_urls = 'footnote'
epub_show_urls = 'footnote'

# -- Customizing style
html_static_path = ['_static']
html_css_files = [
'css/custom.css',
]

0 comments on commit 03b3dca

Please sign in to comment.