From 4c653b8276ff4668478e468a5650bb25e6d0fa2e Mon Sep 17 00:00:00 2001 From: Brendan Date: Thu, 17 Sep 2026 15:39:26 +0000 Subject: [PATCH] docs: record Mintlify site configuration --- docs/mintlify.md | 40 ++++++++++++++++++++++++++++++++++++++++ packages/docs/README.md | 2 +- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 docs/mintlify.md diff --git a/docs/mintlify.md b/docs/mintlify.md new file mode 100644 index 00000000..f5626363 --- /dev/null +++ b/docs/mintlify.md @@ -0,0 +1,40 @@ +# Mintlify documentation site + +Factorize publishes the documentation package in [`packages/docs`](../packages/docs) at +[`https://docs.factorize.sh`](https://docs.factorize.sh). + +## Project configuration + +Create or select the Mintlify project connected to the `GenerationSoftware/factorize` +GitHub repository. Set the documentation root to `packages/docs` and use the `main` +branch for production publishing. Mintlify reads [`docs.json`](../packages/docs/docs.json) +as the site configuration. The package can be previewed with `npm run dev +--workspace=factorize-docs` and validated with `npm run validate +--workspace=factorize-docs`. + +In the Mintlify project, add `docs.factorize.sh` as the custom domain and complete +domain verification. The custom-domain target is `cname.mintlify.builders`; keep the +domain DNS-only while Mintlify provisions TLS. + +## DNS records + +The `factorize.sh` Cloudflare zone contains these records for the Mintlify custom +domain: + +| Type | Name | Value | +| --- | --- | --- | +| TXT | `_acme-challenge.docs` | `nfOE4G0h3ghcEY4OpRBmnmRBVD7E3X15wXV-Ia4MPBs` | +| TXT | `_cf-custom-hostname.docs` | `06da37c6-9b2e-474b-afde-478ba843baf7` | +| CNAME | `docs` | `cname.mintlify.builders` | + +The records are intentionally not proxied. Preserve the unrelated apex and +`app.factorize.sh` records when updating this configuration. + +## Publishing checklist + +1. Run `npm ci` from the repository root. +2. Run `npm run validate --workspace=factorize-docs`. +3. Preview changes with `npm run dev --workspace=factorize-docs`. +4. Publish from the configured Mintlify project (or run + `npm run deploy --workspace=factorize-docs` with the Mintlify CLI authenticated). +5. Confirm the custom domain is verified and that the site loads over HTTPS. diff --git a/packages/docs/README.md b/packages/docs/README.md index 75e45709..e990f2d4 100644 --- a/packages/docs/README.md +++ b/packages/docs/README.md @@ -1,5 +1,5 @@ # Factorize documentation -This is an independently previewable and publishable [Mintlify](https://mintlify.com) package. Install the Mintlify CLI, run `npm run dev --workspace=factorize-docs`, and open the local URL. Run `npm run validate --workspace=factorize-docs` in CI; it checks the route inventory against the Worker and verifies the LLM exports. Publish with `npm run deploy --workspace=factorize-docs` from a configured Mintlify project. +This is an independently previewable and publishable [Mintlify](https://mintlify.com) package. Install the Mintlify CLI, run `npm run dev --workspace=factorize-docs`, and open the local URL. Run `npm run validate --workspace=factorize-docs` in CI; it checks the route inventory against the Worker and verifies the LLM exports. Publish with `npm run deploy --workspace=factorize-docs` from a configured Mintlify project. See [the publishing runbook](../../docs/mintlify.md) for the repository, custom-domain, DNS, and verification configuration. `openapi.yaml`, `llms.txt`, and `llms-full.txt` are checked-in artifacts so API clients and LLMs can consume the contract without rendering the site.