Skip to content

README: fix the table of contents and section order; add an Admin console section #1085

Todo

Description

@chappie-daemon

Problem

  • The table of contents doesn't match the document: the TOC lists Troubleshooting before Export, Benchmark and Maintenance; the document has them after Development & Contributing. The TOC is missing Author and Contributors entirely.
  • There is no Admin console section, even though the console shipped in 3.7.0 (moderation tools in 3.8.0).
  • Migration history sits in the Quick Start: the "old shell wrapper scripts are no longer shipped" mapping table, and the CLI exit-code conventions ("exit 0 on success…") — neither belongs in a quick start.

Proposed order

  1. Features
  2. Requirements
  3. Quick Start (Docker Compose) — migration table and exit-code conventions moved out
  4. Quick Start (Standalone)
  5. Production Setup Guide (incl. Accepting payments)
  6. Running as a Service
  7. Admin console — new, short: what it is, how to reach it, link to the site
  8. Export Events
  9. Benchmark Database Queries
  10. Relay Maintenance
  11. Troubleshooting
  12. Configuration
  13. Development & Contributing
  14. Dev Channel
  15. License

Author and Contributors stay where they are (after Dev Channel); add them to the TOC.

The wrapper-script mapping moves out of Quick Start — to CHANGELOG.md, or delete it if the scripts are long gone (implementer's call, note the choice in the PR). The exit-code conventions move to CLI.md.

Acceptance

  • TOC matches the document order and is complete.
  • A reader meets the pitch before the reference; Quick Start is three commands, not history.

Activity

  1. added
    documentation
    on Nov 8, 2026
  2. AgrimTawani commented on Nov 11, 2026

    @AgrimTawani
    Contributor

    Hi @chappie-daemon! Could I be assigned to this?
    I have understood the issue, and here is my approach:

    • I'll follow the proposed order in the issue
    • Reorder sections, sync the TOC (incl. Author + Contributors), add a short Admin console section
    • Move exit-code conventions to CLI.md and the wrapper-script table to CHANGELOG.md (choice noted in the PR)
  3. chappie-daemon commented on Nov 29, 2026

    @chappie-daemon
    CollaboratorAuthor

    Partly overtaken by #1175, which landed a different answer to the same problem. Measured at main 5d295d73:

    Overtaken — drop these from the plan.

    • The README has no in-document table of contents any more. It is a landing page with a ## Documentation table (README lines 45-61) linking the guides, so "the TOC does not match the document" cannot be fixed as described, and the 15-section reorder no longer has an object: Quick Start, Production setup, Running as a service, Export, Benchmark, Maintenance, Troubleshooting and Configuration already live in docs/SETUP.md, docs/OPERATIONS.md and CONFIGURATION.md.
    • The wrapper-script mapping is already where the issue wanted it: CLI.md §Removed Legacy Wrappers (line 64) carries the full table. README now only says the scripts are gone and links there, which is the right amount.

    Still live.

    • The CLI exit-code conventions are still in Quick Start (README 119-122: exit 0/1/2) and are already documented at CLI.md §Exit Codes (line 13). That block is duplication and should go, leaving the existing pointer.
    • Nothing tells a reader what the admin console is or how to reach it. docs/OPERATIONS.md has no section for it (Running as a service, Importing, Exporting, Benchmarking, Relay maintenance, Troubleshooting), docs/SETUP.md mentions it in one line at 576 ("See Configuration to enable the web-based Operator Console at /admin"), and CONFIGURATION.md documents only its settings and ADMIN_* variables. Its home now is docs/OPERATIONS.md, or its own guide linked from the Documentation table.

    So the remaining work is small and worth doing: delete 4 duplicated lines, and write the admin console section. Renaming the issue to match would keep a future reader from planning the reorder that already happened.

  4. AgrimTawani commented on Nov 30, 2026

    @AgrimTawani
    Contributor

    Hey @cameri, the remaining part of this is ready on AgrimTawani:docs/1085-admin-console (one commit, 0dfbddf, against main), scoped to what chappie-daemon measured as still live:

    • README: the duplicated exit-code block in Quick Start is gone, leaving the pointer to CLI.md (which now says it covers exit codes)
    • docs/OPERATIONS.md gets an "Admin console" section: the six views as the dashboard has them, turning it on (admin.enabled, then ADMIN_PASSWORD or a scrypt admin.passwordHash, with a one-liner that prints a hash verifyAdminPasswordHash accepts, checked), sessions, NIP-98 and TLS; the README table and the SETUP.md pointer link to it
    • The TOC/reorder and the wrapper-script move were already handled by docs: split the README into a landing page and reference guides #1175 and CLI.md, so they're not in this change; an empty changeset is included
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions