Skip to content

docs: marimo glance#10282

Merged
mscolnick merged 9 commits into
mainfrom
aka/marimo-glance
Jul 23, 2026
Merged

docs: marimo glance#10282
mscolnick merged 9 commits into
mainfrom
aka/marimo-glance

Conversation

@akshayka

Copy link
Copy Markdown
Contributor

Document marimo glance for how to preview notebooks on GitHub. Also
touch up related files, including automatic snapshotting of ipynb and
configuration.

This PR also adds dead-link detection for anchor links, and fixes one dead link.

akshayka added 2 commits July 22, 2026 15:12
Document marimo glance for how to preview notebooks on GitHub. Also
touch up related files, including automatic snapshotting of ipynb and
configuration.
Copilot AI review requested due to automatic review settings July 22, 2026 22:34
@vercel

vercel Bot commented Jul 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
marimo-docs Ready Ready Preview, Comment Jul 23, 2026 5:59pm

Request Review

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jul 22, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands the documentation around previewing marimo notebooks on GitHub (including the new “marimo glance” extension), clarifies related snapshotting/configuration guidance, and adds MkDocs anchor-link validation to help catch dead links during docs builds.

Changes:

  • Enable MkDocs anchor link validation (warn on missing anchors).
  • Document marimo glance GitHub/GitLab live previews and refine molab/GitHub publishing guidance.
  • Update configuration docs terminology and fix/adjust internal links (including one dead link) plus add a GitHub preview FAQ entry.

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
mkdocs.yml Enable anchor-link validation warnings during docs builds.
docs/guides/working_with_data/dataframes.md Fix formatting and update configuration anchor link.
docs/guides/publishing/github.md Add marimo glance extension documentation and related preview notes.
docs/guides/molab.md Clarify preview modes (static/WASM/server) and embedding guidance.
docs/guides/configuration/index.md Rename/clarify “user settings” vs “notebook settings” and update guidance text.
docs/guides/coming_from/jupyter.md Add GitHub preview guidance (ipynb + extension) and heading tweaks.
docs/faq.md Add “preview notebooks on GitHub” FAQ entry.
Comments suppressed due to low confidence (2)

docs/guides/configuration/index.md:34

  • Wording/grammar: "in the bottom" should be "at the bottom", and the sentence is missing an article before "configuration UI".
recommend using the marimo UI for a more user-friendly experience. Click the
"User settings" button in the bottom of the notebook settings menu to open
configuration UI, or hit `Cmd/Ctrl + k` to open the command palette and type
`"User settings"`.

docs/guides/coming_from/jupyter.md:153

  • Spelling/capitalization: browser name should be "Firefox".
or [FireFox](https://addons.mozilla.org/en-US/firefox/addon/marimo-glance/)

Comment thread docs/guides/configuration/index.md Outdated
Comment thread docs/guides/coming_from/jupyter.md Outdated
Comment thread docs/faq.md Outdated
Comment on lines +566 to +570
2. Install the marimo glance browser extension for
[Chrome](https://chromewebstore.google.com/detail/marimo-glance/emnkplkdlpojjembfbkdagibhmippjfg) or
[Firefox](https://addons.mozilla.org/en-US/firefox/addon/marimo-glance/), which
lets you replace a notebook's raw Python source on GitHub or GitLab with an
interactive notebook in one click.
Comment thread docs/guides/publishing/github.md Outdated

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 8 files

Architecture diagram
sequenceDiagram
    participant User as GitHub/GitLab User
    participant Browser as Browser (Extension/User)
    participant MGE as marimo glance Extension
    participant MServer as marimo Server (molab/editor)
    participant WASM as Pyodide WASM Runtime
    participant GH as GitHub/GitLab API

    Note over User,GH: NEW: marimo glance browser extension flow

    User->>Browser: Browse notebook source file on GitHub/GitLab
    Browser->>MGE: Detect marimo notebook (.py)
    MGE->>MGE: Look for ipynb session output in repo
    alt Session file exists
        GH->>WASM: Serve ipynb outputs (static preview)
    else No session file
        GH-->>WASM: No pre-rendered outputs
    end
    MGE->>Browser: Inject "Preview" button UI
    User->>MGE: Click preview button
    MGE->>GH: Fetch raw notebook source (.py)
    GH-->>MGE: Notebook source code
    MGE->>WASM: NEW: Pack source into URL fragment (hash)
    Note over MGE,WASM: Source never sent to external servers (private repos safe)
    WASM->>WASM: Execute notebook via Pyodide
    alt Notebook compatible
        WASM-->>Browser: Render interactive notebook UI
        User->>WASM: Interact with notebook
    else Incompatible notebook
        WASM-->>Browser: Display error/no render
        MGE->>MServer: alt: "Open in molab" click
        MServer->>GH: Fetch notebook source
        MServer-->>Browser: Server-hosted interactive notebook
    end

    Note over User,GH: CHANGED: GitHub static preview (ipynb commit)

    User->>GH: Commit ipynb session files to repo
    GH-->>User: ipynb visible in GitHub UI
    User->>GH: View notebook on GitHub
    GH->>Browser: Render ipynb (with cell outputs if committed)
    Browser-->>User: Static preview with outputs

    Note over User,MServer: CHANGED: molab preview options

    User->>MServer: Open notebook via molab
    alt Static preview
        MServer-->>Browser: Static preview (no runtime)
    else WebAssembly preview
        User->>MServer: Append /wasm or select Preview > WebAssembly
        MServer->>WASM: Load notebook for client-side execution
        WASM-->>Browser: Live, no-login, executable notebook
        User->>MServer: Copy embed iframe link
        MServer-->>User: iframe snippet for third-party embedding
    else Server-backed preview
        User->>MServer: Start ephemeral server
        MServer-->>Browser: Full server notebook runtime
    end
Loading

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread docs/guides/molab.md
Comment thread docs/guides/configuration/index.md Outdated
Comment thread docs/guides/coming_from/jupyter.md Outdated
Comment thread docs/guides/publishing/github.md Outdated
Comment thread docs/guides/coming_from/jupyter.md Outdated
akshayka and others added 5 commits July 22, 2026 15:48
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Akshay Agrawal <akshaykagrawal7@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Akshay Agrawal <akshaykagrawal7@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Akshay Agrawal <akshaykagrawal7@gmail.com>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Signed-off-by: Akshay Agrawal <akshaykagrawal7@gmail.com>
kirangadhave
kirangadhave previously approved these changes Jul 23, 2026

@kirangadhave kirangadhave left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Comment thread docs/faq.md
@mscolnick
mscolnick merged commit 86f90f0 into main Jul 23, 2026
30 checks passed
@mscolnick
mscolnick deleted the aka/marimo-glance branch July 23, 2026 18:10
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.23.15-dev73

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants