Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into refine_double_buffer_fix
	
		
	
				
					
				
			
						commit
						2f856769b9
					
				@ -1,2 +1,9 @@
 | 
				
			||||
add_custom_target(paddle_apis ALL
 | 
				
			||||
                  DEPENDS paddle_v2_apis paddle_fluid_apis)
 | 
				
			||||
 | 
				
			||||
add_custom_target(paddle_docs ALL
 | 
				
			||||
                  DEPENDS paddle_v2_docs paddle_v2_docs_cn
 | 
				
			||||
                  paddle_fluid_docs paddle_fluid_docs_cn)
 | 
				
			||||
 | 
				
			||||
add_subdirectory(v2)
 | 
				
			||||
add_subdirectory(fluid)
 | 
				
			||||
 | 
				
			||||
@ -0,0 +1,22 @@
 | 
				
			||||
# configured documentation tools and intermediate build results
 | 
				
			||||
set(BINARY_BUILD_DIR_EN "${CMAKE_CURRENT_BINARY_DIR}/en/_build")
 | 
				
			||||
 | 
				
			||||
# Sphinx cache with pickled ReST documents
 | 
				
			||||
set(SPHINX_CACHE_DIR_EN "${CMAKE_CURRENT_BINARY_DIR}/en/_doctrees")
 | 
				
			||||
 | 
				
			||||
# HTML output director
 | 
				
			||||
set(SPHINX_HTML_DIR_EN "${CMAKE_CURRENT_BINARY_DIR}/en/html")
 | 
				
			||||
 | 
				
			||||
configure_file(
 | 
				
			||||
    "${CMAKE_CURRENT_SOURCE_DIR}/../../templates/conf.py.en.in"
 | 
				
			||||
    "${BINARY_BUILD_DIR_EN}/conf.py"
 | 
				
			||||
    @ONLY)
 | 
				
			||||
 | 
				
			||||
sphinx_add_target(paddle_fluid_apis
 | 
				
			||||
                  html
 | 
				
			||||
                  ${BINARY_BUILD_DIR_EN}
 | 
				
			||||
                  ${SPHINX_CACHE_DIR_EN}
 | 
				
			||||
                  ${CMAKE_CURRENT_SOURCE_DIR}
 | 
				
			||||
                  ${SPHINX_HTML_DIR_EN})
 | 
				
			||||
 | 
				
			||||
add_dependencies(paddle_fluid_apis  gen_proto_py framework_py_proto copy_paddle_pybind)
 | 
				
			||||
Some files were not shown because too many files have changed in this diff Show More
					Loading…
					
					
				
		Reference in new issue