Update doc styles (#651)

This commit is contained in:
Matthew Tancik authored and GitHub committed 2022-10-04 10:57:37 -07:00
1 parent 8fb0a5eec3
commit 30a927622a
3 files changed
+119 -11

No files matched your search

+6 -5
View File
@@ -15,6 +15,7 @@ import os
import sys
sys.path.insert(0, os.path.abspath(".."))
sys.path.append(os.path.abspath("./_pygments"))
import nerfstudio.configs.base_config
# -- Project information -----------------------------------------------------
@@ -78,18 +79,18 @@ myst_enable_extensions = ["amsmath", "colon_fence", "deflist", "dollarmath", "ht
# a list of builtin themes.
#
html_theme = "furo"
html_title = ""
html_title = "nerfstudio"
autosectionlabel_prefix_document = True
html_theme_options = {
"light_css_variables": {
"color-brand-primary": "#ba3e00",
"color-brand-primary": "#d34600",
"color-brand-content": "#ff6f00",
},
"dark_css_variables": {
"color-brand-primary": "#fdd06c",
"color-brand-content": "#ff903b",
"color-brand-content": "##fea96a",
},
"light_logo": "imgs/logo.png",
"dark_logo": "imgs/logo-dark.png",
@@ -97,8 +98,8 @@ html_theme_options = {
# -- Code block theme --------------------------------------------------------
pygments_style = "one-dark"
pygments_dark_style = "one-dark"
pygments_style = "style.NerfstudioStyleLight"
pygments_dark_style = "style.NerfstudioStyleDark"
# -- Napoleon settings -------------------------------------------------------