[PATCH] D16963: Copy LibASTMatchersReference.html to gen'd docs
Steve Downey via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 7 07:56:09 PST 2016
sdowney created this revision.
sdowney added a reviewer: reames.
sdowney added a subscriber: cfe-commits.
The LibASTMatchersReference documentation is an html file, not an rst
document, so is not produced by sphinx. Copy the html into the proper
location as part of the sphinx html doc generation.
Also include a link to the AST Matcher Reference in the index.
http://reviews.llvm.org/D16963
Files:
docs/CMakeLists.txt
docs/index.rst
Index: docs/index.rst
===================================================================
--- docs/index.rst
+++ docs/index.rst
@@ -52,6 +52,7 @@
RAVFrontendAction
LibASTMatchersTutorial
LibASTMatchers
+ LibASTMatchersReference
HowToSetupToolingForLLVM
JSONCompilationDatabase
@@ -84,4 +85,3 @@
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
-
Index: docs/CMakeLists.txt
===================================================================
--- docs/CMakeLists.txt
+++ docs/CMakeLists.txt
@@ -95,6 +95,8 @@
include(AddSphinxTarget)
if (${SPHINX_OUTPUT_HTML})
add_sphinx_target(html clang)
+ file(GLOB DOC_HTML *.html)
+ file(COPY ${DOC_HTML} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/html)
endif()
if (${SPHINX_OUTPUT_MAN})
add_sphinx_target(man clang)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16963.47131.patch
Type: text/x-patch
Size: 825 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160207/57828f58/attachment-0001.bin>
More information about the cfe-commits
mailing list