Skip to content

Commit

Permalink
Update docs with favicon and new left bar logo and title (camel-ai#687)
Browse files Browse the repository at this point in the history
  • Loading branch information
zechengz authored Jun 28, 2024
1 parent 5fe7c90 commit dd52688
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
author = 'CAMEL-AI.org'
release = '0.1.5.4'

html_favicon = (
'https://raw.githubusercontent.com/camel-ai/camel/master/misc/favicon.png'
)

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

Expand All @@ -51,3 +55,11 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = 'sphinx_book_theme'

html_theme_options = {
"logo": {
"text": f"CAMEL {release}",
"image_light": "https://raw.githubusercontent.com/camel-ai/camel/master/misc/primary_logo.png",
"image_dark": "https://raw.githubusercontent.com/camel-ai/camel/master/misc/primary_logo.png",
}
}

0 comments on commit dd52688

Please sign in to comment.