We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f096fd commit 11c052bCopy full SHA for 11c052b
libc/docs/CMakeLists.txt
@@ -4,6 +4,15 @@ include(AddSphinxTarget)
4
if (SPHINX_FOUND)
5
if (${SPHINX_OUTPUT_HTML})
6
add_sphinx_target(html libc)
7
+
8
+ list(APPEND docgen_list string strings)
9
10
+ foreach(stem IN LISTS docgen_list)
11
+ add_custom_target(${stem}_rst
12
+ COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/../utils/docgen/docgen.py ${stem}.h >
13
+ ${CMAKE_CURRENT_SOURCE_DIR}/headers/${stem}.rst)
14
+ add_dependencies(docs-libc-html ${stem}_rst)
15
+ endforeach()
16
endif()
17
18
0 commit comments