Skip to content

DOC-386: Split lstk CLI docs into a multi-page structure - #898

Merged
quetzalliwrites merged 2 commits into
mainfrom
doc-386-docs-lstk-docs-v2
Sep 1, 2026
Merged

DOC-386: Split lstk CLI docs into a multi-page structure#898
quetzalliwrites merged 2 commits into
mainfrom
doc-386-docs-lstk-docs-v2

Conversation

@quetzalliwrites

@quetzalliwrites quetzalliwrites commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

Why this new Information Architecture update is valuable:

The current single lstk.mdx page has grown to 1577 lines and roughly 20 subcommands ...all crammed into one loooooooooooooong continuously-scrolling reference sort of unclean hallway closet type of doc.

That's really really really bad UX, so time for some new Information Architecture 😸

New sub-section content:

  • index.mdx: overview, install, quick start, shell completions
  • authentication.md: login/logout concept + command reference
  • configuration.mdx: config.toml, emulator types, env vars, volumes
  • lifecycle-commands.md: start/stop/restart/status/logs/reset/volume
  • aws-and-iac-commands.md: aws/az/terraform/cdk/sam proxies
  • snapshots.md: snapshot save/load/list/remove/show, S3 remotes
  • automation.mdx: global options, structured output, env vars, OTel
  • setup-and-maintenance.md: setup/config/update, offline/enterprise
  • faq-and-troubleshooting.md: FAQ and troubleshooting combined

Now a customer knows at first glance what they can do with lstk.

Screenshot 2026-08-27 at 2 42 01 PM

Why 9 pages sounds like "a lot" until you actually look

It's not an arbitrary split, it maps directly onto the natural boundaries already in the current content:

  • auth
  • config
  • lifecycle commands
  • tool proxies
  • snapshots
  • CI/scripting concerns
  • setup/maintenance
  • FAQ and troubleshooting

Once you see the source page's actual length and how many unrelated concerns were stacked on top of each other, 9 focused, individually-linkable pages finally gave each topic room to breathe. 👯

Preview url: https://666ff3a9.localstack-docs.pages.dev/aws/developer-tools/running-localstack/lstk/

The lstk.mdx reference had grown to 1577 lines covering install,
auth, configuration, ~20 subcommands, CI/automation topics, and
FAQ/troubleshooting in one page. Split it into nine focused pages
under running-localstack/lstk/:

- index.mdx: overview, install, quick start, shell completions
- authentication.md: login/logout concept + command reference
- configuration.mdx: config.toml, emulator types, env vars, volumes
- lifecycle-commands.md: start/stop/restart/status/logs/reset/volume
- aws-and-iac-commands.md: aws/az/terraform/cdk/sam proxies
- snapshots.md: snapshot save/load/list/remove/show, S3 remotes
- automation.mdx: global options, structured output, env vars, OTel
- setup-and-maintenance.md: setup/config/update, offline/enterprise
- faq-and-troubleshooting.md: FAQ and troubleshooting combined

Also fixes a pre-existing bug where "setup azure" was documented
twice with slightly different text, and updates the ~110 files
site-wide that linked to specific anchors on the old single page so
they point at the new page + anchor, plus the six _redirects entries
that pointed at the old #snapshot anchor. The main lstk URL
(/aws/developer-tools/running-localstack/lstk/) is unchanged, so no
redirect is needed for it specifically.
@quetzalliwrites

Copy link
Copy Markdown
Collaborator Author

Hey @mmaureenliu here's the new Information Architecture for the lstk docs I'd mentioned before I was putting together.

preview url: https://666ff3a9.localstack-docs.pages.dev/aws/developer-tools/running-localstack/lstk/

@mmaureenliu mmaureenliu left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This looks great and so much more readable! Thanks!

I've left a few comments but none are blocking so approved already.

I assume all redirects work and skim-read most contents.

Comment thread src/content/docs/aws/developer-tools/running-localstack/lstk/index.mdx Outdated
Comment thread src/content/docs/aws/developer-tools/running-localstack/lstk/index.mdx Outdated
Comment thread src/content/docs/aws/developer-tools/running-localstack/lstk/configuration.mdx Outdated
Comment thread src/content/docs/aws/developer-tools/running-localstack/lstk/snapshots.md Outdated
Comment thread src/content/docs/aws/developer-tools/running-localstack/lstk/snapshots.md Outdated
Comment thread src/content/docs/aws/developer-tools/running-localstack/lstk/snapshots.md Outdated
- Rename aws-and-iac-commands.md to cloud-and-iac-commands.md (and
  its title/sidebar label) since the page covers the Azure CLI too,
  not just AWS. Sweeps every cross-reference site-wide.
- Drop the "S3 remotes" mention from the Snapshots overview bullet
  and lead with "save and load emulator state" instead.
- Note that the config.toml `type` field reflects whichever emulator
  was chosen at first run.
- Correct the snapshot support note: only the Snowflake emulator has
  experimental snapshot support today, not Azure (Azure persistence
  is still WIP). Move the `reset` AWS-only note to the `reset`
  command's own section in lifecycle-commands.md instead of the
  snapshots page, since reset no longer lives there.
- Give the `save`/`load` aliases their own subheading instead of a
  trailing paragraph.
- Note in the FAQ that `lstk reset` is AWS-only.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 1, 2026

Copy link
Copy Markdown

Deploying localstack-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 61c070e
Status: ✅  Deploy successful!
Preview URL: https://f4d363ba.localstack-docs.pages.dev
Branch Preview URL: https://doc-386-docs-lstk-docs-v2.localstack-docs.pages.dev

View logs

@quetzalliwrites

Copy link
Copy Markdown
Collaborator Author

Thanks @mmaureenliu — pushed 61c070ed addressing all 7:

  • Renamed aws-and-iac-commands.mdcloud-and-iac-commands.md (title, sidebar label, and every cross-reference site-wide) since it covers az too, not just AWS.
  • Dropped the "S3 remotes" mention from the Snapshots overview bullet, leading with "save and load emulator state" instead.
  • Noted that the config.toml type field reflects whichever emulator you chose at first run.
  • Fixed the snapshot support note: only the Snowflake emulator has experimental snapshot support today — Azure persistence is still WIP, not experimental-but-working.
  • Moved the reset AWS-only note to reset's own section in lifecycle-commands.md, since it no longer lives on the snapshots page.
  • Gave the save/load aliases their own subheading.
  • Noted in the FAQ that lstk reset is AWS-only.

@quetzalliwrites
quetzalliwrites merged commit 9891919 into main Sep 1, 2026
1 check passed
@quetzalliwrites
quetzalliwrites deleted the doc-386-docs-lstk-docs-v2 branch September 1, 2026 20:01
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.

2 participants