Skip to content

docs: add Docusaurus documentation site in docs-website - #894

Merged
sven-n merged 4 commits into
masterfrom
claude/docusaurus-docs-setup-a82apj
Aug 24, 2026
Merged

docs: add Docusaurus documentation site in docs-website#894
sven-n merged 4 commits into
masterfrom
claude/docusaurus-docs-setup-a82apj

Conversation

@sven-n

@sven-n sven-n commented Aug 23, 2026

Copy link
Copy Markdown
Member

Closes #889.

Adds a documentation website which brings the existing guides together and closes the biggest gap: the admin panel had no usage documentation at all.

The site lives in docs-website/ and is built with Docusaurus 3 in docs-only mode.

Admin panel section — the new content

One page per screen, written from the actual routes and components rather than from the old feature list in src/Web/AdminPanel/Readme.md:

Page Content
Overview How to open the panel per deployment, security warning, layout, what differs between all-in-one and distributed
Setup The four database states, the install dialog (game version, 1–10 game servers, test accounts), reinstall vs. -reinit, schema updates
Configuration updates Mandatory vs. optional updates, the required restart
Servers Start/stop/remove, editing a server, adding game and connect servers, "reload configuration and restart all game servers", global messages
Accounts / Online accounts The AccountState values, banning, disconnecting, the offline-player table
Game configuration Every entry of the Configuration menu, the SystemConfiguration fields, how the generic grid/form pages and the configuration search work
Plugins / Chat commands Extension points, activating and deactivating, plugin configuration, the game master status
Map editor Spawn areas, enter/exit gates, undo, duplicate, JSON export and import
Live map What is rendered, the player list with follow / disconnect / temporary ban
Logs and monitoring The log file viewer, and the Grafana/Prometheus/Zipkin links of the distributed deployment
Users .htpasswd based users, the default credentials, the Traefik restart caveat
Common tasks Task-oriented how-tos (change rates, add a server, ban a player, add a spawn, switch game version, fix disconnects after server selection, …)

Migrated content

The Getting Started, Deployment, Development and Reference sections consolidate README.md, QuickStart.md, the four deploy/** readmes, src/Startup/Readme.md, src/PlugIns/Readme.md and docs/Readme.md, with the links fixed for the site.

README.md and QuickStart.md are kept as they are and only gained a pointer to the site — they can be trimmed once the site has a public URL.

Setup

  • Docusaurus 3.10.2, offline search (@easyops-cn/docusaurus-search-local, no external service or account needed), light/dark theme, hand-maintained sidebar.
  • The build fails on broken links, broken anchors and broken image references. Verified by adding a bad link and watching the build fail.
  • .github/workflows/docs-website.yml builds the site for pull requests which touch docs-website/**, so a dead link fails before the merge.
  • The deployment URL is configurable through the DOCS_URL and DOCS_BASE_URL environment variables, so a Cloudflare Pages project or a fork does not need a code change. docs-website/README.md contains the Cloudflare Pages settings (root directory docs-website, build command npm ci && npm run build, output build, Node 20+).

Deliberately left open

  • No screenshots yet in the admin panel pages — they need a running server and should be taken from a freshly initialized instance so they can be regenerated consistently.
  • The favicon is a placeholder (a plain "MU" SVG). The scaffold's Docusaurus logo was removed rather than shipped as OpenMU branding; there is no logo asset in the repository.
  • The 501 generated packet files are not part of the site; reference/packets.md links to them on GitHub. This was one of the open decisions in Docs: Usage documentation site with Docusaurus (incl. the missing admin panel documentation) #889 and is worth deciding before wiring them in.
  • Subdomain: https://docs.munique.net is the configured default and easy to change.

Testing

cd docs-website
npm ci
npm run build   # succeeds, and fails on any broken link
npm start       # local dev server

🤖 Generated with Claude Code

https://claude.ai/code/session_01LidmXPYjGN64P1RgCiY7Ri


Generated by Claude Code

Adds a documentation website which brings the existing guides together and
closes the biggest gap: the admin panel had no usage documentation at all.

Content:
* Getting Started - requirements/ports, docker, from source, connecting a
  game client, test accounts
* Deployment - the three variants, HTTPS, and the start parameters and
  environment variables of the startup project
* Admin Panel - one page per screen (setup, configuration updates, servers,
  accounts, online accounts, game configuration, plugins, chat commands,
  map editor, live map, logs and monitoring, users) plus a page with
  task-oriented how-tos
* Development - architecture, solution structure, the plugin system and
  contributing
* Reference - ports and a pointer to the generated packet documentation

Setup:
* Docusaurus 3 in docs-website, docs-only mode, offline search
  (@easyops-cn/docusaurus-search-local), light/dark theme
* The build fails on broken links, anchors and image references
* A GitHub Actions workflow builds the site for pull requests which touch it
* The deployment URL is configurable via DOCS_URL/DOCS_BASE_URL, so a
  Cloudflare Pages project or a fork doesn't need a code change
* README.md and QuickStart.md link to the site

The favicon is a placeholder, and screenshots for the admin panel pages are
still to be added.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LidmXPYjGN64P1RgCiY7Ri
The site duplicated what it was built from, so each topic now has exactly one
home:

* The website owns what a user, operator or new contributor reads: getting
  started, deployment, the admin panel, server features, architecture, the
  plugin system and contributing.
* The repository keeps the documentation which is derived from or tightly bound
  to the code: the generated packet descriptions, the game mechanics in docs/
  and the implementation notes in the projects' Readme files.

Moved to the website:

* docs/Bots.md becomes the new "Server features" section, cross-linked with the
  plugins, servers, logs and game configuration pages of the admin panel
* src/Web/AdminPanel/Readme.md and src/Web/Map/Readme.md - the latter was an
  outdated copy of the former; their "ideas for the future" are now the planned
  sections of the admin panel overview and the live map page

Replaced by a short pointer to the page which now holds the content:
QuickStart.md, the four deploy readmes, src/Startup/Readme.md,
src/PlugIns/Readme.md, docs/Bots.md, src/Web/AdminPanel/Readme.md and
src/Web/Map/Readme.md.

README.md keeps the project introduction and gains a documentation index; its
duplicated sections (used technologies, gameplay differences, deployment,
contribution rules) now live on the website and in CONTRIBUTING.md.
docs/Readme.md becomes the index of the code-bound documentation and explains
the split.

All relative links were verified to resolve, and the site build - which fails on
broken links - passes.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LidmXPYjGN64P1RgCiY7Ri
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 24, 2026

Copy link
Copy Markdown

Deploying openmudocs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 49192a4
Status:⚡️  Build in progress...

View logs

claude added 2 commits August 24, 2026 18:46
The plugin implementation is a developer topic, so it doesn't belong on the
documentation website, which is aimed at users and server operators.

src/PlugIns/Readme.md is restored to its previous state (byte-identical to
master) and is the single source again; the website's development/plugins.md is
removed and the places which linked to it now link to the readme:

* the Development section of the sidebar and the architecture page
* the PlugIns row of the solution structure
* "Writing your own plugin" on the admin panel's Plugins page, which keeps
  covering what operators do with plugins: activate, deactivate, configure
* CONTRIBUTING.md and the docs index

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LidmXPYjGN64P1RgCiY7Ri
Resolves the conflict in docs/Bots.md, whose content moved to the documentation
website in this branch while master reworked the bot party behaviour: the file
keeps its pointer and the changes from master were applied to the page which
now holds the content.

Also follows the network analyzer split from master, which turned the analyzer
into a library plus a WinForms tool, in the solution structure page.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LidmXPYjGN64P1RgCiY7Ri
@sven-n
sven-n merged commit a320ccf into master Aug 24, 2026
2 of 5 checks passed
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.

Docs: Usage documentation site with Docusaurus (incl. the missing admin panel documentation)

2 participants