[all-commits] [llvm/llvm-project] dac21f: [clang-doc] Improving Markdown Output
Petr Hosek via All-commits
all-commits at lists.llvm.org
Fri Feb 7 19:17:09 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: dac21fdd5923730342a4bc9abc0858fb56ff8d52
https://github.com/llvm/llvm-project/commit/dac21fdd5923730342a4bc9abc0858fb56ff8d52
Author: Petr Hosek <phosek at google.com>
Date: 2020-02-07 (Fri, 07 Feb 2020)
Changed paths:
M clang-tools-extra/clang-doc/HTMLGenerator.cpp
M clang-tools-extra/clang-doc/MDGenerator.cpp
M clang-tools-extra/clang-doc/Representation.cpp
M clang-tools-extra/clang-doc/Representation.h
M clang-tools-extra/clang-doc/assets/index.js
M clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
M clang-tools-extra/test/clang-doc/single-file.cpp
M clang-tools-extra/unittests/clang-doc/HTMLGeneratorTest.cpp
M clang-tools-extra/unittests/clang-doc/MDGeneratorTest.cpp
Log Message:
-----------
[clang-doc] Improving Markdown Output
This change has two components. The moves the generated file
for a namespace to the directory named after the namespace in
a file named 'index.<format>'. This greatly improves the browsing
experience since the index page is shown by default for a directory.
The second improves the markdown output by adding the links to the
referenced pages for children objects and the link back to the source
code.
Patch By: Clayton
Differential Revision: https://reviews.llvm.org/D72954
More information about the All-commits
mailing list