Преминете към основното съдържание

Tenant-specific documentation

Pages under the tenants route (organisation id path) are organisation-specific. They are published with the docs site but must only be served to authenticated users for that organisation.

Edge middleware in the edge folder enforces access. Do not put secrets in public shared docs — use a folder named after the organisation id (same as org_name_id in Roasthubs).

Adding a tenant pack

  1. Copy tenant-docs/_template/ to a new folder named with the organisation id.
  2. Fill in the markdown for that customer.
  3. On publish, edge auth gates that organisation path.