Skip to content

armgit / camel

Public Imported from GitHub
0

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

Update docs with favicon and new left bar logo and title (#687)

Zecheng Zhangdd52688681aa
diff --git a/docs/conf.py b/docs/conf.py
index 8c44a0179..c0618f5ae 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -29,6 +29,10 @@ copyright = '2023, CAMEL-AI.org'
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
@@ -51,3 +55,11 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# 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",
+ }
+}