docs: customize sphinx doc theme (#192)

* feature: adding a feature for customizing color theme of sphinx docs

* fix: adding changelog and comments

* Adding css for changing colors of sidebar

* fix: removing changelog description
This commit is contained in:
sparkbrains 2023-02-06 23:00:55 +05:30 committed by GitHub
parent 782b4352ec
commit 2b88890210
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,9 @@
/* Css to change color scheme of side navigation search bar */
.wy-side-nav-search {
background-color: #122540;
}
/* For changing the color of sidebar */
.wy-nav-side {
background: #122540;
}

View File

@ -52,3 +52,6 @@ html_theme = "sphinx_rtd_theme"
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]
# Adding a custom css file in order to add custom css file and can change the necessary elements.
html_css_files = ["unstructured.css"]