Skip to content

Restructure the README to the portfolio standard - #5

Open
adamXbot wants to merge 1 commit into
mainfrom
docs/readme-standard
Open

Restructure the README to the portfolio standard#5
adamXbot wants to merge 1 commit into
mainfrom
docs/readme-standard

Conversation

@adamXbot

@adamXbot adamXbot commented Aug 9, 2026

Copy link
Copy Markdown
Collaborator

Reshapes README.md into the standard docs-repo order: H1, status badge, disclosure block, ---, where to read the docs, run it locally, file layout, adding a page, how it deploys.

Wrong facts removed

  • "a self-hostable mantis key service" — mantis is a self-hostable canary key service, per docs.json (description) and index.mdx. Looks like a stray find-and-replace of "canary".
  • "Connect privacykey/mantis-docs in the Mintlify dashboard" — that repository name only resolves as a GitHub rename redirect. The repository is privacykey/docs-mantis, which is what the dashboard needs.
  • The README read as though the docs site were live. No docs domain for this project resolves (all NXDOMAIN), and no Mintlify GitHub App check run appears on main, so the site is not published. The README now states plainly that it is not live yet and points readers at the in-repo pages, rather than implying a host that does not exist.
  • "The same checks run in GitHub Actions on pushes and pull requests" described npm run validate and npm run check-links only. It missed npm run check (scripts/check-docs.mjs), the weekly lychee external-link run, and the daily changelog sync. All three workflows are now listed with their actual triggers.

Incomplete content fixed

The old page index omitted five pages that are in the docs.json navigation: index.mdx, cli.md, cli-backup.md, changelog.mdx and deployment/index.mdx. The file-layout section now covers every navigation group and every page behind it, with the old annotations preserved.

Also added: the frontmatter keys scripts/check-docs.mjs actually enforces (title and description required; icon and sidebarTitle allowed), the navigation-registration step, the link style the docs use (root-relative and extensionless in pages, relative only in the two .mintignored READMEs), and the just run / just lint shorthands from the justfile.

Link verification

Every relative path in the new README was checked with test -e, and every URL with curl — all 30 relative links resolve to files that exist, and all four external URLs return 200. node scripts/check-docs.mjs passes.

Size

README.md: 2998 -> 6324 bytes. Nothing was deleted from the repository; the old link index survives as the file-layout section, so no content needed moving to a new file.

Note on the badge

The status badge currently renders "resource not found". The endpoint path is correct — it will resolve once the status hub PR on privacykey/.github merges.

Unrelated, not fixed here

The Link check workflow is red on main for a reason outside this PR's scope: https://one.dash.cloudflare.com/ in deployment/cloudflare.md returns 403 to lychee. It needs an --exclude or an --accept 403, in its own change.

Reorders the README into the standard docs-repo shape: heading, status
badge, disclosure block, where to read the docs, local commands, file
layout, adding a page, and how it deploys.

Corrections:

- The one-line description said mantis is a "self-hostable mantis key
  service". It is a canary key service, per docs.json and index.mdx.
- The deploy instructions told you to connect `privacykey/mantis-docs`
  in the Mintlify dashboard. That name only resolves as a rename
  redirect; the repository is `privacykey/docs-mantis`.
- The README implied the docs site was a going concern. No docs domain
  for this project resolves, and no Mintlify GitHub App check appears on
  `main`, so the site is not live. The README now says so instead of
  pointing readers at a host that does not exist.
- "The same checks run in GitHub Actions on pushes and pull requests"
  covered only two of the three workflows and omitted `npm run check`,
  the weekly external-link run and the daily changelog sync. All three
  workflows are now described with their real triggers.
- The page index omitted `index.mdx`, `cli.md`, `cli-backup.md`,
  `changelog.mdx` and `deployment/index.mdx`, which are all in the
  docs.json navigation. They are listed now, grouped as the navigation
  groups them.

Adds the frontmatter and navigation-registration rules enforced by
scripts/check-docs.mjs, and the `just` shorthands from the justfile.
No content was removed from the repository; the page annotations from
the old link index are preserved in the file-layout section.

README.md: 2998 -> 6324 bytes.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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