Skip to content

Replace legacy documentation migrations with one seed and stable example IDs - #1683

Open
lovasoa wants to merge 1 commit into
docs-stack/35-feed-responsesfrom
docs-stack/36-single-documentation-seed
Open

lovasoa wants to merge 1 commit into
docs-stack/35-feed-responsesfrom
docs-stack/36-single-documentation-seed

Conversation

@lovasoa

@lovasoa lovasoa commented Nov 28, 2026 •

Copy link
Copy Markdown
Collaborator

Decision: replace the historical documentation migrations with one generated seed. The site starts from that file and the three existing demo/installation migrations. A filename such as 04-embed.md now owns #example-4 even if example 1 is removed.

Tradeoff: The build owns the schema and FTS index. Duplicate example numbers fail the build; changing a number changes a public URL. The website starts with a fresh in-memory database, but this cannot upgrade a persistent copy with the old migration checksums in place. The seed still runs on SQLPage’s own SQLite at startup. No Rust exporter is needed to prepare it.

Review: schema.sql, components.mjs, prepared-seed.test.mjs. Compare the previous SQL.

@lovasoa
lovasoa added this pull request to stack #1684 November 28, 2026 22:42
@lovasoa
lovasoa force-pushed the docs-stack/36-single-documentation-seed branch from 0a99297 to f6ef890 Compare November 28, 2026 23:18
@lovasoa
lovasoa force-pushed the docs-stack/36-single-documentation-seed branch from f6ef890 to 549a4d7 Compare November 28, 2026 23:31
@lovasoa lovasoa changed the title Start the documentation site from one validated seed Replace legacy documentation migrations with one seed and stable example IDs Nov 28, 2026
@lovasoa
lovasoa removed this pull request from stack #1684 November 28, 2026 23:52
@lovasoa
lovasoa force-pushed the docs-stack/36-single-documentation-seed branch from 549a4d7 to dc228be Compare November 28, 2026 23:52
@lovasoa
lovasoa added this pull request to stack #1695 November 28, 2026 23:52
@lovasoa
lovasoa force-pushed the docs-stack/36-single-documentation-seed branch from dc228be to f33dffa Compare November 29, 2026 00:47
@lovasoa
lovasoa force-pushed the docs-stack/36-single-documentation-seed branch from f33dffa to b8b09d1 Compare November 29, 2026 09:59
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