Documentation workspace instructions
About this workspace
- This is a documentation site built on Mintlify
- Pages are MDX files with YAML frontmatter
- Configuration lives in
docs.json
- Run
mint dev to preview locally
- Run
mint broken-links to check links
Target Audience & Voice
- Write for developers with 1-3 years of experience. Don’t oversimplify, but explain non-obvious platform-specific concepts (like Maker-Checker workflows).
- Use active voice and second person (“you”).
- Keep sentences concise — one idea per sentence.
Terminology
- Use workspace instead of project.
- Use member instead of user when referring to platform/dashboard participants. Use user for end-readers or generic technical contexts.
- Always use the spelling Publive when referring to the product.
- Capitalize features correctly (e.g., Webhooks, Custom Entities).
- Always refer to authentication as Basic Auth rather than legacy username/password.
Style preferences
- Use sentence case for headings (e.g., “Get started with the API”)
- Bold for UI elements: Click Settings
- Code formatting for file names, commands, paths, and code references
- Placeholder formatting: Use all-caps in angle brackets for variables in code blocks and URLs.
- Example:
/publisher/<PUBLISHER_ID>/post/
- Example:
Authorization: Basic <BASE64_AUTH_TOKEN>
Code Standards & Examples
- Use realistic values in JSON examples (e.g.,
"title": "My First Post"), not foo/bar placeholders.
- Always include both success and error response examples for all API endpoints.
- Ensure all API request snippets include the
Authorization: Basic <BASE64_AUTH_TOKEN> header.
- Use JavaScript/TypeScript for generic code examples unless otherwise requested.
Document Structure & Layout
- Prerequisites: Guides must include a Prerequisites section at the top if API keys, specific configurations, or prior setups are required.
- API Endpoints: Must always explicitly document rate limits, authentication requirements, and common error codes.
- Next Steps: Include a Next Steps section at the bottom of long tutorials linking to related workflows.
Mintlify Components & UI
- Expandables: Use
<Accordion> or <AccordionGroup> for secondary details, large API responses, or long code snippets.
- Callouts: Use Mintlify’s
<Note>, <Warning>, <Info>, and <Tip> components for important context.
- Diagrams: Always use modern
mermaid code boxes for architecture or workflows. DO NOT use ASCII art or static placeholder images.
Linking Rules
- Internal Links: Always use absolute paths from the root without the file extension (e.g.,
[Billing](/settings/billing) instead of [Billing](./billing.mdx)).
API Reference conventions
Page structure
- Do not include an
## Authentication section in individual endpoint pages. Authentication is documented globally and must not be repeated per-endpoint.
- Do not add a
## Parameters heading. <ParamField> components go directly after the intro paragraph, with no section heading.
- Do not include an
## Example request section or standalone curl code blocks. Request examples are rendered automatically by the Mintlify API playground from the api: frontmatter field.
Frontmatter
- Active endpoints must use the
api: frontmatter field with the full URL and HTTP method (e.g., api: "GET https://cds.thepublive.com/publisher/{publisher_id}/posts/"). Deprecated endpoints must omit the api: field.
- Path parameter placeholders in the
api: field use {lower_snake_case} (e.g., {publisher_id}). In prose and code examples, use <UPPER_SNAKE_CASE> (e.g., <PUBLISHER_ID>).
Parameters
- Always list path parameters before query parameters using
<ParamField path> and <ParamField query> respectively.
- Required parameters use the
required attribute. Optional parameters use default instead of required.
- Always describe the
publisher_id path parameter as: “Your Publisher ID” — no variation.
- Paginated listing endpoints must always include
page (integer, default 1, max 1000) and limit (integer, default 10, max 50), with the max stated in the description.
Response examples
- All response examples must use
<ResponseExample> with labeled fenced code blocks (e.g., ```json 200, ```json 401) — never unlabeled blocks.
- Every endpoint must include at minimum a
200 and a 401 response example. Include 404 when the endpoint fetches a single resource by ID or slug.
- The
401 error response body must always be exactly: {"detail": "Invalid Auth Credentials"}.
- Success response envelopes must include
"status": "ok", "data", and "message": "". Listing responses must additionally include "page_no" and "per_page".
Deprecated endpoints
- Deprecated page titles must use the
[DEPRECATED] prefix in the description frontmatter field.
- Deprecated pages must open with a
<Warning> callout naming the replacement endpoint and linking to its page.
- Deprecated pages must include a Migration section with a
bash code block showing the old path and the new recommended path side by side.
Callouts and tables
- Use an
<Info> callout before parameters to state endpoint-specific constraints (e.g., type restrictions, beta/prod URL differences).
- Use markdown tables — not prose — for documenting sets of filter operators or enumerated field values.
Content boundaries
- Do not document internal admin portal features.
- Do not document unreleased or deprecated entities (e.g., Dynamic Custom URLs or Array field types) without explicit instructions.
Last modified on May 28, 2026