Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

Update mkdocs theme, small fixes for `mkdocs.yml` (#522)

Charles Packer89013567fabc
diff --git a/docs/assets/favicon-16x16.png b/docs/assets/favicon-16x16.png
new file mode 100644
index 000000000..e3b3e677c
Binary files /dev/null and b/docs/assets/favicon-16x16.png differ
diff --git a/docs/assets/favicon-32x32.png b/docs/assets/favicon-32x32.png
new file mode 100644
index 000000000..38207612d
Binary files /dev/null and b/docs/assets/favicon-32x32.png differ
diff --git a/docs/assets/favicon.ico b/docs/assets/favicon.ico
new file mode 100644
index 000000000..2dec03fd0
Binary files /dev/null and b/docs/assets/favicon.ico differ
diff --git a/docs/assets/memgpt_logo_circle.png b/docs/assets/memgpt_logo_circle.png
new file mode 100644
index 000000000..096f8e945
Binary files /dev/null and b/docs/assets/memgpt_logo_circle.png differ
diff --git a/docs/requirements.txt b/docs/requirements.txt
index 58fa1dbb9..c987ad498 100644
--- a/docs/requirements.txt
+++ b/docs/requirements.txt
@@ -2,3 +2,4 @@ docutils>=0.18
furo
myst-parser
mkdocs
+mkdocs-material
diff --git a/mkdocs.yml b/mkdocs.yml
index 24776b9bd..89a47a77a 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -1,6 +1,9 @@
site_name: MemGPT
site_url: https://memgpt.ai/
+repo_name: cpacker/MemGPT
repo_url: https://github.com/cpacker/MemGPT
+# https://github.com/mkdocs/mkdocs/issues/2416
+edit_uri: ./edit/main/docs
site_description: MemGPT documentation
nav:
- Home: index.md
@@ -32,8 +35,64 @@ nav:
- 'Configuring storage backends': storage.md
- 'Adding support for new LLMs': adding_wrappers.md
- 'Contributing to the codebase': contributing.md
-theme: readthedocs
+theme:
+ name: material
+ features:
+ - announce.dismiss
+ - content.action.edit
+ - content.action.view
+ - content.code.annotate
+ - content.code.copy
+ # - content.code.select
+ # - content.tabs.link
+ - content.tooltips
+ # - header.autohide
+ # - navigation.expand
+ - navigation.footer
+ - navigation.indexes
+ # - navigation.instant
+ # - navigation.instant.prefetch
+ # - navigation.instant.progress
+ # - navigation.prune
+ - navigation.sections
+ # - navigation.path
+ # - navigation.expansion
+ # - navigation.tabs
+ # - navigation.tabs.sticky
+ # - navigation.top
+ - navigation.tracking
+ - search.highlight
+ # - search.share
+ # - search.suggest
+ # - toc.follow
+ - toc.integrate
+ palette:
+ - scheme: default
+ primary: indigo
+ accent: indigo
+ toggle:
+ icon: material/brightness-7
+ name: Switch to dark mode
+ - scheme: slate
+ primary: black
+ accent: indigo
+ toggle:
+ icon: material/brightness-4
+ name: Switch to light mode
+ font:
+ text: Roboto
+ code: Roboto Mono
+ favicon: assets/favicon.ico
+ logo: assets/memgpt_logo_circle.png
+ # icon:
markdown_extensions:
- admonition
+ - pymdownx.highlight:
+ anchor_linenums: true
+ line_spans: __span
+ pygments_lang_class: true
+ - pymdownx.inlinehilite
+ - pymdownx.snippets
+ - pymdownx.superfences
plugins:
- search