Skip to content

Commit e111c8f

Browse files
Use logo, switch pygment style to default, strip sha from version
1 parent db2c3bf commit e111c8f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/doc_sources/conf.py.in

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ author = "Intel Corp."
2121

2222
version = dpctl.__version__.strip(".dirty")
2323
# The full version, including alpha/beta/rc tags
24-
release = dpctl.__version__.strip(".dirty")
24+
release, _ = dpctl.__version__.strip(".dirty").split("+")
2525

2626
# -- General configuration ---------------------------------------------------
2727
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
@@ -76,14 +76,17 @@ highlight_language = "Python"
7676
source_suffix = ".rst"
7777

7878
# The name of the Pygments (syntax highlighting) style to use.
79-
pygments_style = "sphinx"
79+
pygments_style = "default"
8080

8181
# -- Options for HTML output -------------------------------------------------
8282
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
8383

8484
html_theme = "furo"
8585
html_static_path = ["_static"]
8686

87+
html_logo = "_static/dpctl.svg"
88+
html_favicon = "_static/dpctl.svg"
89+
8790
html_theme_options = {
8891
# "canonical_url": "",
8992
# "analytics_id": "",

0 commit comments

Comments
 (0)