2.4 KiB
2.4 KiB
| applyTo |
|---|
| content/**/*.md |
Content Review Criteria
Review documentation changes against these rules. Only flag issues you are confident about. Reference the linked docs for detailed rules.
Frontmatter
Rules: DOCS-FRONTMATTER.md
titleanddescriptionare required on every pagemenustructure matches the product's menu keyweightis present for pages in navigationsourcepaths point to valid/shared/paths- No duplicate or conflicting frontmatter keys
Shortcode Syntax
Rules: DOCS-SHORTCODES.md
{{< >}}for HTML output,{{% %}}for Markdown-processed content- Closing tags match opening tags
- Required parameters are present
- Callouts use GitHub-style syntax:
> [!Note],> [!Warning], etc.
Heading Hierarchy
- No h1 headings in content (h1 comes from
titlefrontmatter) - Headings don't skip levels (h2 -> h4 without h3)
Semantic Line Feeds
Rules: DOCS-CONTRIBUTING.md
- One sentence per line (better diffs)
- Long sentences on their own line, not concatenated
Terminology and Product Names
Products defined in data/products.yml:
- Use official names: "InfluxDB 3 Core", "InfluxDB 3 Enterprise", "InfluxDB Cloud Serverless", "InfluxDB Cloud Dedicated"
- Don't mix v2/v3 terminology (e.g., "bucket" in v3 Core docs)
- Version references match the content path
Links
- Internal links use relative paths or Hugo
relrefshortcodes - No hardcoded
docs.influxdata.comlinks in content files - Anchor links match actual heading IDs
Code Blocks
- Use
pythonnotpyfor language identifiers (pytest requirement) - Long options in CLI examples (
--outputnot-o) - Keep lines within 80 characters
- Include language identifier on fenced code blocks
Shared Content
source:frontmatter points to an existing shared file- Shared files don't contain frontmatter (only content)
- Changes to shared content affect multiple products — flag if unintentional
Severity
- BLOCKING: Broken rendering, wrong product names, missing required frontmatter, malformed shortcodes, h1 in content body
- WARNING: Missing semantic line feeds, skipped heading levels, missing
weight, long CLI options not used - INFO: Suggestions, code block missing language identifier, opportunities to use shared content