This is an archive of the discontinued LLVM Phabricator instance.

[WIP][clang-doc] Improve the Markdown output
Needs ReviewPublic

Authored by phosek on Jul 21 2022, 2:03 AM.

Details

Summary

This change tries to improve the usability of Markdown output, taking
the inspiration from other documentation generators where appropriate.

Diff Detail

Event Timeline

phosek created this revision.Jul 21 2022, 2:03 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 21 2022, 2:03 AM
phosek requested review of this revision.Jul 21 2022, 2:03 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 21 2022, 2:03 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
phosek updated this revision to Diff 446391.Jul 21 2022, 2:04 AM

Overall I like the direction of the patch, I know this is WIP, but I've left some small question inline regarding scope and work tracking.

clang-tools-extra/clang-doc/MDGenerator.cpp
23–52

This isn't something I expect to get addressed in this patch, but I feel like I've seen this same pattern of escaping characters repeated throughout the codebase. Maybe we should add a TODO regarding it? I'm also fine with ignoring this.

110–113

Are these TODOs (and the others throughout the patch) something you plan to address in this patch before landing? or are they future improvements? If the latter, maybe we should file an issue on github reference it here?