Skip to content
AnswerWell geo Documentation

Research · 10 min read · Answerwell

Content Types, Information Architecture, Frontmatter, and Cross-linking

How to choose documentation page types, structure product docs, set frontmatter metadata, and link pages so readers and assistants find the right answers.

This page summarizes Cloudflare’s documentation content strategy—especially content types, information architecture, frontmatter, and metadata practices. If you author or reorganize technical docs, these rules answer what kind of page to write, where it lives, and which metadata fields matter for discovery and citation.

Content types: which page shape matches the reader’s job

Section titled “Content types: which page shape matches the reader’s job”

Every documentation page has a content type: a defined shape for what it contains, how it is structured, and how it is maintained. Choosing the right one keeps pages predictable for readers and agents.

Every documentation page has a content type: a defined shape for what it contains, how it is structured, and how it is maintained. Choosing the right one keeps pages predictable for readers and agents.

— Cloudflare, Content types

Cloudflare groups types by the job they do. The table below is the fastest way to pick a type when you are unsure whether you need steps, mental models, or lookup tables.

Job Content type Choose it when
Task and setup How to The reader already chose a product and needs one specific task inside it.
Task and setup Tutorial The reader learns by building a real project end to end.
Task and setup Get started A new user needs the shortest path to a first working result.
Task and setup 3rd-party integration guide The reader connects one external product with Cloudflare and you commit to maintaining the guide.
Task and setup Configuration A feature is settings-heavy and readers mainly need values, not a walkthrough.
Understand or lookup Concept The reader needs what something is, why it works that way, and its boundaries.
Understand or lookup Reference The reader needs complete, neutral facts about one surface (commands, limits, parameters).
Understand or lookup Overview A new reader needs orientation before being routed onward.
Understand or lookup FAQ The page is genuinely a list of questions with short, direct answers.
Understand or lookup Troubleshooting The reader hit a symptom and needs cause and fix, organized by failure—not by question.
Architecture and planning Reference architecture You show how several products fit a customer environment across use cases.
Architecture and planning Design guide The reader plans one solution and its trade-offs before building.
Signpost and record Navigation An area has enough child pages that readers need a signposted entry point.
Signpost and record Changelog You log notable, dated product changes as an ongoing feed.

For full guidance on any type, use the linked type pages in Content types.

Mislabelled pages frustrate readers who expected steps but got theory, or lookup tables without procedures.

  • How-to vs tutorial: A how-to serves someone mid-task who already knows the goal; a tutorial carries a newcomer through a project where breakage is the author’s problem.
  • How-to vs concept: If you need more than a sentence of “why,” move explanation to a concept page and link to it.
  • Configuration vs how-to: Configuration shows settings and values for outcomes; it does not walk through steps. If you are writing instructions, use a how-to, tutorial, or example instead.
  • Reference vs concept: Reference is complete and neutral; concept is selective and may include recommendations.
  • Overview vs navigation: An overview orients with prose; navigation mainly lists child routes via DirectoryListing and holds almost no explanation of its own.
  • FAQ vs troubleshooting: FAQ is question-shaped; troubleshooting is organized by symptom and error text.

Information architecture: where pages live in the product tree

Section titled “Information architecture: where pages live in the product tree”

Information architecture defines the shared section layout so someone who knows one product’s docs can predict another’s.

Consistency is enforced, not optional. A product may add sections that it genuinely needs, but those additions are additive: a product never renames, restructures, or redefines a core section because a different shape “makes more sense” for it.

— Cloudflare, Information architecture

Required and core sections every product uses

Section titled “Required and core sections every product uses”

Every product includes at least:

  1. Overview — orients a new reader and routes onward (required).
  2. Get started — shortest path from nothing to a first working result (required).

Beyond that pair, standard sections include Concepts, Features, Guides, Tutorials, Examples, Configuration, Reference, API, Models (for AI products), Observability, Best practices, Platform (pricing, limits, changelog, betas, known issues), and Glossary. The mapping from section to typical content type appears in Information architecture.

  • Keep Overview at the product root index page.
  • Make every other core section a folder, even when it holds one page (a lone get-started page becomes a get-started/ folder).
  • Place core folders before product-specific folders, in the order given under core sections.
  • Give every product a Platform folder with at least one page.
  • Each folder should have an index page; content files live under /src/content/docs/{product_folder}/ as described in File conventions.

Product-specific folders are additive—they must not replace or reshape a core section. If a core section does not fit, raise it through docs governance rather than renaming locally.

Frontmatter: required metadata on every typed page

Section titled “Frontmatter: required metadata on every typed page”

Frontmatter is YAML at the top of each page. Every page with a pcx_content_type must include:

Field Role
title Plain-text page title.
pcx_content_type Page shape; values match content types.
description 1–2 sentences for <meta name="description">; see Writing a description.
products Relevant product identifiers (page-level, separate from folder-level product metadata).

Optional fields such as sidebar, tags, difficulty, and reviewed are documented under Custom properties. Sidebar labels, order, badges, and hiding rules are covered in Sidebar.

Page description: the highest-leverage field for surfacing and citation

Section titled “Page description: the highest-leverage field for surfacing and citation”

Cloudflare treats description as the single most important metadata field when systems decide whether to surface or cite a page.

The description field populates the <meta name="description"> tag in the HTML head. This is the single most important metadata field for search engines, AI crawlers, and llms.txt consumers when deciding whether to surface or cite a page.

— Cloudflare, Frontmatter

A strong description:

  • Uses 1–2 self-contained sentences (roughly 50–160 characters).
  • Names the product or feature.
  • States what the page helps the reader do or understand.
  • Works as a standalone snippet when extracted.

Avoid openers that waste space: “This page describes…”, “Learn more about…”, “This document explains…” (Writing a description, Voice and tone).

Titles follow separate rules: no emojis in titles or sidebar labels (Titles); subtitles use imperative or noun phrases, not questions or calls to action.

Metadata explains how Cloudflare tracks description, product, product group, content type, last modified, and optional last reviewed (notably for tutorials). Folder-level product data lives in product YAML; page-level values mostly come from frontmatter, while last modified comes from Git history (Last updated vs reviewed).

Rendered pages expose values such as pcx_content_type, pcx_product, and related meta properties—consumable by site search, reporting, and external systems that crawl the docs (Metadata).

Component attributes describe reusable parts: Introductions (context varies by type), Prerequisites, Next steps, steps, tables, and more.

Content type Signature structure
How-to Steps (or ordered list matching the Markdown twin); end with verification, then irreversible steps, then next steps (How to).
Configuration Tables mapping each setting to values for a use case (Configuration).
Reference Uniform entries and summary tables; avoid hiding entries in tabs or accordions (Reference).
Concept Prose-first; no procedural steps, tabs, or cards (Concept).
Overview Cards or link lists that route; minimal explanation in each card (Overview).
Changelog ProductChangelog plus dated entry files; entries stay short and link to deeper docs (Changelog).
FAQ Full question headings; direct first sentence; link to canonical how-to, tutorial, or glossary (FAQ).
Troubleshooting Verbatim error in a fenced block; Cause, Fix, Verify labels (Troubleshooting).

Build the page covers authoring mechanics and how pages combine YAML frontmatter with Markdown body content.

Section titled “Cross-linking: required related pages by type”

Cross-linking requirements define which content types each page should link to in Related resources. Links should be bidirectional when the paired page exists.

Content type Must link to
Concept Related how-to or get-started; related reference
How-to Prerequisite concept; relevant configuration; troubleshooting
Get started Next-level how-tos; product overview
Troubleshooting Related how-to; relevant configuration
Configuration Parent how-to or get-started; relevant concept
Reference Related concept; how-tos that use the reference
Tutorial Related product overview; prerequisite get-started

If a target page does not exist yet, do not add a placeholder link—treat the gap as a content-planning issue (Cross-linking requirements).

Cross-links between related pages create a navigable knowledge graph. When an AI system encounters a concept page, it can follow links to find step-by-step instructions, troubleshooting guidance, or reference data and cite the most relevant page for a user’s query.

— Cloudflare, Cross-linking requirements

Writing documentation for retrieval and automated assistants

Section titled “Writing documentation for retrieval and automated assistants”

Across content types, Cloudflare’s Writing for AI and agents sections repeat practical rules:

  • Self-contained openings — definitions, orientation paragraphs, and troubleshooting entries must make sense when quoted alone (Concept, Overview, Troubleshooting).
  • Literal, checkable values — commands, settings, dates (YYYY-MM-DD), product names, and expected output in full fenced blocks (How to, Tutorial, Changelog).
  • Link for depth — FAQs, changelogs, and configurations point to canonical procedures rather than duplicating them (FAQ, 3rd-party integration guide).
  • Nothing critical hidden — reference entries and primary instructions stay visible in the main flow (Reference, Details).

Prompt templates show how Cloudflare stakeholders seed drafts (for example how-to topics) with pcx_content_type, products, and pointers to the live style guide—useful when humans or tools generate first drafts that must still conform to type rules.

How public webmaster guidance aligns with doc metadata

Section titled “How public webmaster guidance aligns with doc metadata”

Bing urges clear entities and early essential information:

Use clear and consistent naming for people, organizations, products, and locations.

— Bing, Bing Webmaster Guidelines

Place essential information near the top of the URL … Avoid long introductions before addressing the main topic.

— Bing, Bing Webmaster Guidelines

Cloudflare applies the same ideas through literal product names in titles and descriptions, self-contained description snippets, and type-specific introductions that state the contract up front (Frontmatter, Introductions, Metadata).

Common conclusion: Name products and features consistently in title, description, and opening context; put the answer readers need in the first screen of body content, not only in sidebar navigation or collapsed UI. Pair that with accurate pcx_content_type and cross-links so the right page is both discoverable and structurally obvious.

Common mistakes when applying this strategy

Section titled “Common mistakes when applying this strategy”
  • Picking overview or navigation when the reader actually needs steps or reference tables.
  • Putting configuration tables on a how-to page (or steps on a configuration page).
  • Weak descriptions that repeat the title or start with “This page describes…”.
  • Reproducing third-party UI steps in integration guides instead of linking to maintained vendor docs (3rd-party integration guide).
  • Tabs or accordions that hide the only copy of a procedure or reference entry.
  • Non-standard folder names (for example getting-started instead of get-started) that break cross-product predictability (Information architecture).
  • Missing bidirectional links between concept, how-to, configuration, and troubleshooting pages.
  1. Open a representative page and confirm frontmatter includes title, pcx_content_type, description, and products per Frontmatter.
  2. View page HTML source and verify <meta name="description"> matches a strong, self-contained summary as described in Metadata.
  3. Compare the page’s shape (steps vs tables vs Q&A) to the matching row in Content types and fix mismatches.
  4. Audit Related resources links against the matrix in Cross-linking requirements, and add return links where pages already exist.
  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact statement you are asking about, and we will correct or clarify it.