Page MenuHomePhabricator

[clang-doc] Redesign of generated HTML files

Authored by DiegoAstiazaran on Aug 16 2019, 9:20 AM.



The new design includes a header (contains the project name), a main section, and a footer.
The main section is divided into three subsections. Left, middle, right. The left section contains the general index, the middle contains the info's data, and the right contains the index for the info's content.
The CSS has been updated.
A flag --project-name is added.
The Attributes attribute of the TagNode struct is now a vector of pairs because these attributes should be rendered in the insertion order.
The functions (cpp and js) that converts an Index tree structure into HTML were slightly modified; the first ul tag created is now a ol tag. The inner lists are still ul.

Diff Detail

Event Timeline

Update clang-doc documentation.

DiegoAstiazaran added a project: Restricted Project.
DiegoAstiazaran added a subscriber: cfe-commits.

Run clang-format

juliehockett added inline comments.Aug 16 2019, 10:09 AM

Would you be able to briefly comment on each of these gen*Node functions on what exactly they're doing? I'm having trouble getting a picture of what the flow is there


This isn't doing anything

DiegoAstiazaran marked 3 inline comments as done.

Add comments.
Fix clang-doc version.

DiegoAstiazaran edited the summary of this revision. (Show Details)Aug 16 2019, 11:20 AM
This revision is now accepted and ready to land.Aug 16 2019, 11:33 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptAug 16 2019, 11:40 AM