Conversation
Co-authored-by: abeltrano <2082148+abeltrano@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add Doxygen support for documentation generation
Add Doxygen support for ntosebpfext
Mar 2, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a Doxygen configuration and a GitHub Actions workflow so this repo can generate API documentation from the public headers under include/ and publish the resulting HTML to the gh-pages branch (GitHub Pages), addressing prior workflow failures due to a missing Doxyfile / incorrect repo references.
Changes:
- Introduces a new
Doxyfileconfigured for C-style header parsing and HTML-only output underdocs/html. - Adds/updates
.github/workflows/update-docs.ymlto install Doxygen, generate docs, and push updates togh-pages.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
Doxyfile |
New Doxygen configuration targeting include/ and generating HTML output under docs/html. |
.github/workflows/update-docs.yml |
New/updated workflow to run Doxygen on main pushes and publish generated HTML to gh-pages. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.
The repository lacked a
Doxyfileand theupdate-docs.ymlworkflow, causing the Doxygen action to always fail witherror: Doxyfile not found and no input file specified!. The workflow was also a broken copy fromebpf-for-windows, referencing that repo'sgh-pagesbranch.Description
Doxyfile— New Doxygen configuration targeting this project:include/OPTIMIZE_OUTPUT_FOR_C = YESfor C-style header parsingPREDEFINED = __doxygen+EBPF_HELPERmacro expansion so helper function declarations are parsed correctlydocs/html; LaTeX/RTF/man disabled.github/workflows/update-docs.yml— New workflow replacing the broken one:maingh-pagesbranch ofmicrosoft/ntosebpfext(notebpf-for-windows)doxygen, commits, and pushes updated HTML docs togh-pagesTesting
No automated tests apply — this is a documentation generation pipeline change. Validated locally that
doxygen Doxyfilecompletes successfully (exit 0) and generates HTML output from theinclude/headers.Documentation
This change introduces Doxygen-generated API documentation for the public headers (
ebpf_ntos_hooks.h,ebpf_netevent_hooks.h, and the associated GUID headers), publishable to GitHub Pages athttps://microsoft.github.io/ntosebpfext/.Installation
No installer impact.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.