Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

docs: add sitemap (#180)

Myles Scolnick1f214d57adcb
diff --git a/docs/conf.py b/docs/conf.py
index d05cf4911f..cba8612ab7 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -42,6 +42,7 @@ extensions = [
"sphinx.ext.autosummary",
"sphinx_copybutton",
"sphinx_new_tab_link",
+ "sphinx_sitemap",
# To generate tables of inherited members
"autoclasstoc",
]
@@ -65,6 +66,7 @@ exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
html_theme = "furo"
html_static_path = ["_static"]
html_favicon = "_static/favicon-32x32.png"
+html_baseurl = "https://docs.marimo.io/"
html_css_files = [
# Font Awesome
"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/fontawesome.min.css",
diff --git a/pyproject.toml b/pyproject.toml
index 062c4d40b0..0fdb449122 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -65,6 +65,7 @@ dev = [
"sphinx==7.0.1",
"sphinx-copybutton~=0.5.2",
"sphinx-new-tab-link~=0.1.1",
+ "sphinx-sitemap~=2.5.1",
"myst_parser~=2.0.0",
"furo==2023.5.20"
]