Skip to content

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

Open
quetzalliwrites wants to merge 1 commit into
mainfrom
doc-386-docs-lstk-docs-v2
Open

DOC-386: Split lstk CLI docs into a multi-page structure#898
quetzalliwrites wants to merge 1 commit 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/

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