Commit 22cdeaf
committed
[clang-format][CMake] Generate formatting options docs during build
This patch changes up the CMake configuration so that
ClangFormatStyleOptions.rst has the format style options section
generated by the dump_format_style.py python script during the build
rather than manually. This allows us to remove ~6000 lines of
automatically generated documentation from the repository.
If the context of the options is needed while generating the docs, it is
easy enough to open up the generated file with the options from within
the build directory after the clang-format-style-options target has been
built.1 parent eb9f475 commit 22cdeaf
File tree
3 files changed
+13
-6651
lines changed- clang/docs
- tools
3 files changed
+13
-6651
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
146 | 155 | | |
147 | | - | |
| 156 | + | |
148 | 157 | | |
149 | 158 | | |
150 | 159 | | |
0 commit comments