Skip to content

Commit 1d73084

Browse files
committed
Updated navbar color
1 parent 075bcc8 commit 1d73084

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

docs/source/conf.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,16 @@ def copy_tutorials(app):
2121

2222
def setup(app):
2323
app.connect("builder-inited", copy_tutorials)
24+
# app.add_stylesheet("my-styles.css")
25+
app.add_css_file("custom.css")
2426

2527

2628
# -- Project information -----------------------------------------------------
2729
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
2830

2931
project = "python-template"
30-
copyright = "2025, Max Lindqvist"
31-
author = "Max Lindqvist"
32+
copyright = "2025, Max"
33+
author = "Max"
3234

3335
# -- General configuration ---------------------------------------------------
3436
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
@@ -40,7 +42,6 @@ def setup(app):
4042
"myst_parser", # enable Markdown support
4143
]
4244

43-
templates_path = ["_templates"]
4445
exclude_patterns = []
4546

4647
# Recognize both .rst and .md
@@ -112,7 +113,7 @@ def setup(app):
112113

113114
# HTML navbar class (Default: "navbar") to attach to <div> element.
114115
# For black navbar, do "navbar navbar-inverse"
115-
'navbar_class': "navbar navbar-inverse",
116+
'navbar_class': "navbar inverse",
116117

117118
# Fix navigation bar to top of page?
118119
# Values: "true" (default) or "false"
@@ -133,15 +134,17 @@ def setup(app):
133134
# Currently, the supported themes are:
134135
# - Bootstrap 2: https://bootswatch.com/2
135136
# - Bootstrap 3: https://bootswatch.com/3
136-
'bootswatch_theme': "united",
137+
'bootswatch_theme': "flatly",
137138

138139
# Choose Bootstrap version.
139140
# Values: "3" (default) or "2" (in quotes)
140141
'bootstrap_version': "3",
141142
}
142143

143144
html_static_path = ["_static"]
145+
templates_path = ['_templates']
146+
144147

145148
html_sidebars = {
146149
'**': []
147-
}
150+
}

0 commit comments

Comments
 (0)