Skip to content

GRO-835 Serve/hot-reload local metabase files - #1307

Open
bpander wants to merge 12 commits into
masterfrom
gro-835-hot-reload-local-metabase
Open

GRO-835 Serve/hot-reload local metabase files#1307
bpander wants to merge 12 commits into
masterfrom
gro-835-hot-reload-local-metabase

Conversation

@bpander

@bpander bpander commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

GRO-835

Description

Adds METABASE_REPO_PATH environment variable to optionally view local mb repo files.

Also adds README.

How to test

  1. cp .env-dist .env
  2. Point METABASE_REPO_PATH at your local metabase repo
  3. bun dev
  4. Navigate to http://localhost:4321/docs/latest
  5. Make changes to metabase repo docs md files, images, etc
  6. Verify changes are reflected on dev server
  7. Unset METABASE_REPO_PATH (comment it out or something) and restart dev server
  8. Verify dev server serves what's in _docs and looks the same as before

Would also be good to test update-docs-base-bun.yml won't act funky with these changes, e.g. script/update_docs_for_branchname.clj calls script/docs which uses constructDocMetadata and reformatMarkdownUrls which were moved and changed to TS.

PR env: https://gro-835-hot-reload-local-metabase.dkkh35gceu2po.amplifyapp.com/docs/latest/

Demo

demo-short.mov

bpander added 11 commits August 27, 2026 13:52
…enormous amount of computation in dev builds
…significantly simplifies things and increases performance. Also updates docsHtmlLoader to handle local mb files using that same simplification method.
…ow and it's not supposed to generate pages or be in the sitemap)
…cture and so the same code is used in astro and script/docs
…o) but sets the stage to make it so all src files are raw and processed the same way
@bpander bpander self-assigned this Aug 27, 2026
@linear

linear Bot commented Aug 27, 2026

Copy link
Copy Markdown

GRO-835

@bpander
bpander force-pushed the gro-835-hot-reload-local-metabase branch 2 times, most recently from 4a0a9d8 to c17596c Compare August 27, 2026 19:38
@bpander
bpander marked this pull request as ready for review August 27, 2026 19:57
@bpander
bpander requested review from a team August 27, 2026 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant