[PATCH] D64539: [clang-doc] Add stylesheet to generated html docs
Julie Hockett via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 11 08:37:44 PDT 2019
juliehockett added inline comments.
================
Comment at: clang-tools-extra/clang-doc/tool/ClangDocMain.cpp:242
+ // Generate css stylesheet
+ if (Format == "html") {
----------------
On second thought, can you create a virtual method to the Generator along the lines of `Generator::createResources(ClangDocContext ctx)`, which would be a no-op for the YAML and MD generators atm and for the HTML generator would encapsulate this logic? I'd rather not have it in the main tool file, since it is generator-specific.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64539/new/
https://reviews.llvm.org/D64539
More information about the cfe-commits
mailing list