Skip to content

chore(docs): fix stale, wrong and duplicated docs - #7

Merged
mrcsin merged 1 commit into
masterfrom
docs-cleanup
Oct 15, 2026
Merged

mrcsin merged 1 commit into
masterfrom
docs-cleanup

Conversation

@mrcsin

@mrcsin mrcsin commented Oct 15, 2026

Copy link
Copy Markdown
Owner

Problem

The docs drifted from the code after the Xray backend landed. The example compose ran usher v0.1.0, which has no Xray backend; the x-usher example failed validation; env dependencies were missing; the same rules lived in two or three places with different values; README carried release notes, test timings and lock-file mechanics.

What changed

  • README is a front page: process wiring (mermaid), users and the data directory, running, short AmneziaWG and Xray sections.
  • The Xray reference moves to docs/xray.md; isolation, DNS and new keys to docs/operations.md.
  • docs/architecture/overview.md describes the pass for both backends; locked decisions move to docs/architecture/README.md.
  • deploy/compose.example.yml runs usher v0.2.0 and documents the port rule in comments.

Verification

  • Every changed fact was checked against the code (cmd/usher/env.go, internal/xray/*, internal/pass/pass.go, internal/config/config.go, release.yml).
  • The README usher.yml example passes config.Load.
  • Relative links and anchors resolve; scripts/format.sh passes.
  • The mermaid diagram was not rendered locally.
Per-task commits before collapse
0612391 chore(docs): fix stale, wrong and duplicated docs

The docs drifted from the code after the Xray backend landed: the
example compose ran v0.1.0, which has no Xray backend, the x-usher
example failed validation, and the same rules lived in two or three
places with different values.

- README is a front page: process wiring, users, the data directory,
  running, short AmneziaWG and Xray sections. The Xray reference
  moves to docs/xray.md, isolation, DNS and new keys to
  docs/operations.md.
- Facts are checked against the code: env dependencies, name rules,
  Hysteria2 and trust: pin requirements, drift behaviour, one
  inbound failure table.
- overview describes the pass for both backends; locked decisions
  move to docs/architecture/README.md.
- Release notes, test timings, dates and lock-file mechanics leave
  the living docs; compose specifics stay in compose comments.
- The example compose runs usher v0.2.0.
@mrcsin
mrcsin marked this pull request as ready for review October 15, 2026 11:53
@mrcsin
mrcsin merged commit 1cfb880 into master Oct 15, 2026
2 checks passed
@mrcsin
mrcsin deleted the docs-cleanup branch October 15, 2026 11: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