Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add
LAGRANGE_DOCS_XML(OFF by default) to the standalonedocs/cppproject. Enabling it exposes a separatedoc-xmltarget for IDocs and other machine-readable documentation consumers.The XML wrapper includes the existing configured Doxyfile, preserving module Markdown, extraction/preprocessor settings, exclusions and the warning policy. It generates XML only, without building HTML or downloading the HTML theme. Program listings default to disabled. The existing
doctarget and default configuration are unchanged.cmake -S docs/cpp -B .cache/docs -DLAGRANGE_DOCS_XML=ON cmake --build .cache/docs --target doc-xml # .cache/docs/xml/index.xml and compound XMLDOXYGEN_OUTPUT_XMLandDOXYGEN_XML_PROGRAMLISTINGallow output/listing overrides when the option is enabled.Validation
CMake 4.4.5 / Doxygen 1.13.2 synthetic module/header smoke test verifies: default OFF is identical to the existing configuration and has no XML target; ON includes authored module Markdown and macro-decorated headers; no HTML/theme checkout or default program listings; original HTML target/dependency preserved; unresolved references still fail under the inherited warning policy; custom XML output/listings work.
Full-library warning cleanliness and cross-platform coverage are not claimed. No changes to the base Doxyfile or normal documentation invocation.