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: overview page on sharing notebooks from github (#3422)

Akshay Agrawal18a70bb3c93c
diff --git a/docs/guides/publishing/embedding.md b/docs/guides/publishing/embedding.md
index 1b12e0f3b0..d4cac6693d 100644
--- a/docs/guides/publishing/embedding.md
+++ b/docs/guides/publishing/embedding.md
@@ -6,7 +6,7 @@ are two ways:
* Host on [GitHub Pages](github_pages.md) or [self-host WASM HTML](self_host_wasm.md),
and `<iframe>` the published notebook.
-* `<iframe>` a playground notebook, and [customize the embedding](playground.md#embedding-in-other-web-pages) with query params.
+* `<iframe>` a [playground](playground.md) notebook, and [customize the embedding](playground.md#embedding-in-other-web-pages) with query params.
(This is what we do throughout docs.marimo.io.)
We plan to provide more turn-key solutions for static site generation with
diff --git a/docs/guides/publishing/from_github.md b/docs/guides/publishing/from_github.md
new file mode 100644
index 0000000000..0728f63c39
--- /dev/null
+++ b/docs/guides/publishing/from_github.md
@@ -0,0 +1,12 @@
+# From GitHub
+
+marimo makes it very easy to share links to executable notebooks from notebooks
+hosted on GitHub. Unlike Google Colab, marimo also automatically synchronizes
+data stored in your GitHub repo to the notebook's filesystem, making it
+easy to bundle data with your notebooks.
+
+
+- Publish notebooks to [GitHub Pages](github_pages.md)
+- Edit notebooks on the [marimo playground](playground.md), with public link-based sharing
+ (no login required!)
+- Synchronize to our [Community Cloud](community_cloud/index.md) for email-based sharing
diff --git a/docs/guides/publishing/index.md b/docs/guides/publishing/index.md
index 147549fc06..5f8ba57afe 100644
--- a/docs/guides/publishing/index.md
+++ b/docs/guides/publishing/index.md
@@ -13,6 +13,7 @@ This guide provides an overview of the various ways to publish marimo notebooks.
| Guide | Description |
| ----------------------------------------------------- | ------------------------------------------------------------ |
| [Embedding](embedding.md) | An overview of embedding notebooks in other sites |
+| [From GitHub](from_github.md) | How to share links to executable notebooks hosted on GitHUb |
| [GitHub Pages](github_pages.md) | Publishing interactive notebooks on GitHub Pages |
| [Online playground](playground.md) | Sharing notebook links using our online playground |
| [Community Cloud](community_cloud/index.md) | Save notebooks to our free Community Cloud |
diff --git a/mkdocs.yml b/mkdocs.yml
index 7d2956dd1b..8442419ace 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -103,6 +103,7 @@ nav:
- Publish to the web:
- Publish to the web: guides/publishing/index.md
- Embedding: guides/publishing/embedding.md
+ - From GitHub: guides/publishing/from_github.md
- GitHub Pages: guides/publishing/github_pages.md
- Online playground: guides/publishing/playground.md
- Community Cloud: guides/publishing/community_cloud/index.md