THE GITHTML FIELD GUIDE

Generate Doxygen HTML from a deliberate source scope

Configure Doxygen's input paths and extraction scope before generating HTML, then inspect representative public and internal symbols in the result. Do not assume every discovered symbol belongs in a shared reference. Keep the build local, review diagnostics, and preserve the generated resource directory when evaluating the output as a documentation site.

Define the intended API audience

Decide whether the reference is for external consumers, internal maintainers, or a focused design review. That decision determines which directories, file patterns, and symbol visibility belong in the build. Inspect the existing Doxyfile and any included configuration before changing defaults. A recursive input setting can discover examples, vendor code, or internal headers that were never intended for the audience. Record the expected public entry points and a few internal symbols that should remain absent. This gives the review a concrete scope test instead of relying on the apparent completeness of a generated class index.

Build with a small reviewed configuration

The sample shows selected configuration fields rather than a complete universal Doxyfile. Merge them into the project's maintained configuration and verify support in the installed version. Use an explicit output directory that does not contain hand-authored files. Keep input filters and custom commands under review because documentation generation can invoke additional code. Run Doxygen locally and inspect warnings about missing documentation or unresolved references. Do not enable every extraction option merely to make the output look fuller. More symbols can make a consumer reference less accurate by exposing implementation details that the project does not support as a public contract.

text
INPUT = include/public
RECURSIVE = YES
OUTPUT_DIRECTORY = docs-review
GENERATE_HTML = YES
GENERATE_LATEX = NO

# Run separately: doxygen Doxyfile

Review symbols, examples, and distribution requirements

Open the generated index and inspect a public function, a type, and a documented error or return condition. Compare signatures and descriptions with the intended API. Search for the internal symbols selected earlier and investigate any unexpected exposure. Check source-browser features and examples for information inappropriate to the audience. Preserve styles, images, scripts, and linked pages when reviewing the output as a site; a single index file is not the whole artifact. If a portable reading excerpt is needed, prepare it separately and label its scope. Record the Doxyfile, source revision, and reviewed symbol set so future builds can repeat the same acceptance checks. Include one undocumented or intentionally excluded fixture in the review plan. This reveals whether the configuration silently broadens extraction when comments or visibility annotations are absent.

  1. Define audience and expected public and excluded symbols before changing extraction settings.
  2. Review input paths, recursion, filters, and output destination.
  3. Build locally and investigate warnings rather than maximizing extracted content.
  4. Check representative symbols and preserve the full site artifact for site-level review.

Sources and further reading

AI-assisted writing with source-linked guidance and illustrative examples. Read our editorial approach or report a correction.

All documentation builds and formats guides →

Read as MarkdownAll guides

Generate Doxygen HTML from a deliberate source scope · gitHtml