skill-qdoc

Enforce canonical QDoc structure and frontmatter conformance for documentation topics.

19|29|Updated May 6, 2013
One-click install
npx skills add https://github.com/qt/qtqa --skill skill-qdoc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-qdoc
Source: https://github.com/qt/qtqa/tree/main/documentation_review/skills/skill-qdoc
Command: npx skills add https://github.com/qt/qtqa --skill skill-qdoc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

QDoc documentation often suffers from inconsistent conventions across modules, making cross‑module linking and navigation error‑prone. This Skill provides a canonical reference for QDoc internals (node system, link resolution, index files, and qdocconf guidelines) to standardize how documentation is described and discovered.

Core Features & Use Cases

  • Central reference covering QDoc internals, node system, link resolution, and context commands
  • Guidance on index-files usage, macros, Qt Help, and documentation-generation architecture
  • Practical examples for building, reviewing, and troubleshooting QDoc pages across C++ and QML

Quick Start

Describe QDoc internals with canonical commands and best practices for your module using this Skill.

Frequently Asked Questions about skill-qdoc

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does QDoc link resolution work across different Qt modules?

QDoc link resolution relies on a node system and index files to standardize cross-module navigation. Enforcing canonical structure and frontmatter conformance ensures accurate linking and reliable AI-assisted retrieval across C++ and QML.

What is the best way to configure qdocconf files for documentation generation?

Configuring qdocconf files involves following canonical reference guidelines for index files, macros, and Qt Help architecture. This standardizes how documentation topics are described, indexed, and discovered across your module.

Can I use QDoc to generate documentation for both C++ and QML projects?

Yes, QDoc supports documentation generation for both C++ and QML projects. It enforces mandatory companions and section templates to ensure accurate topic discovery and consistent structural conventions across both environments.

Why are my QDoc index files failing to resolve links correctly?

QDoc index files fail to resolve links when documentation lacks canonical structure and frontmatter conformance. Enforcing mandatory companions and section templates standardizes topic indexing to support accurate cross-module navigation and reliable retrieval.

When do I need to use QDoc context commands and macros?

You need QDoc context commands and macros when building or troubleshooting documentation pages to enforce canonical structure. They standardize how topics are described and indexed, supporting accurate discovery across C++ and QML modules.