[libc-commits] [libc] [libc][docgen] regen docgen via cmake (PR #119628)

Aiden Grossman via libc-commits libc-commits at lists.llvm.org
Tue Dec 17 18:49:18 PST 2024


https://github.com/boomanaiden154 requested changes to this pull request.

For the most part, we can't have any build targets modify the source directory. If we want to have a build command rerun docgen automatically, it should be a separate target and not under `docs-libc-html`.

The better way to do this would be to do something similar to https://github.com/llvm/llvm-project/pull/113739. Convert everything in the `libc/docs` directory to templates and as part of `libc-docs-html`, run docgen writing all the outputs to a folder in the build directory that we then run sphinx over.

https://github.com/llvm/llvm-project/pull/119628


More information about the libc-commits mailing list