Skip to content

docs(webui): restructure install guide into hub-and-spoke + add deployment page - #502

Merged
confuser merged 1 commit into
masterfrom
docs/webui-install-restructure
Apr 18, 2026
Merged

docs(webui): restructure install guide into hub-and-spoke + add deployment page#502
confuser merged 1 commit into
masterfrom
docs/webui-install-restructure

Conversation

@confuser

Copy link
Copy Markdown
Member

Summary

  • Splits the monolithic content/docs/webui/install.mdx into a hub-and-spoke layout under content/docs/webui/install/:
    • Hub (install/index.mdx) — prerequisites, BanManager-WebEnhancer setup, links to each install path, env-var reference, security notes, and troubleshooting.
    • Per-path pagesinstall/docker.mdx (Docker Compose, both bundled-MySQL and BYO-DB variants), install/web.mdx (browser /setup wizard, SETUP_TOKEN model, TRUST_PROXY), and install/cli.mdx (the bmwebui setup terminal wizard with auto-detect + resumability).
  • Adds a new production-focused content/docs/webui/deployment.mdx covering systemd / Docker restart policy / PM2, reverse-proxy snippets for Caddy, Apache, and nginx (with Let's Encrypt), sub-directory installs via BASE_PATH, and the /health endpoint for monitoring.
  • Teaches scripts/generate-navigation.mjs to honour an optional numeric navOrder front-matter field so the WebUI sidebar renders Install → Docker → Web installer → CLI → Deployment in that order. Falls back to the existing alphabetical sort when navOrder is absent (non-breaking).
  • Regenerates data/navigation.json to match.

The hub keeps the original /docs/webui/install URL via index.mdx, so external links don't break.

Notes

  • BanManager-WebEnhancer example in the hub deliberately keeps the legacy & colour codes / [pin] token syntax — MiniMessage is v8-only and we're not ready to publish v8 docs yet.
  • This PR is independent of docs: add localisation documentation for BanManager i18n #501 (i18n localisation docs) and branches from master.

Test plan

  • npm run generate-nav produces no diff against the committed data/navigation.json.
  • npm run dev and visit:
    • /docs/webui/install — hub renders, in-page anchors work, links to per-path pages resolve.
    • /docs/webui/install/docker, /install/web, /install/cli — render and back-link to the hub.
    • /docs/webui/deployment — renders with reverse-proxy + systemd snippets.
  • Sidebar order under "Web UI" is: Install → Install with Docker → Install with the web installer → Install with the CLI → Deployment → Update.
  • No 404s from external links pointing at the old /docs/webui/install.

…yment page

Splits the monolithic install.mdx into a hub at /docs/webui/install/ that
covers prerequisites, the WebEnhancer plugin, env-var reference, security
notes, and troubleshooting, plus three dedicated pages for the Docker
Compose, browser /setup, and CLI wizard install paths.

Adds a separate /docs/webui/deployment guide for production concerns:
running under systemd or Docker, reverse-proxy snippets for Caddy, Apache
and nginx (with Let's Encrypt), sub-directory installs via BASE_PATH, and
the /health endpoint for monitoring.

Teaches scripts/generate-navigation.mjs to honour an optional numeric
navOrder front-matter field so the sidebar lists Install -> Docker ->
Web installer -> CLI -> Deployment in that order; falls back to the
existing alphabetical sort when navOrder is absent.
@confuser
confuser merged commit e08ccea into master Apr 18, 2026
1 check passed
@confuser
confuser deleted the docs/webui-install-restructure branch April 18, 2026 19:51
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