Customize Sphinx theme

This commit is contained in:
vitaut
2015-05-19 08:13:13 -07:00
parent 4c1a0303aa
commit 18a55cdb27
83 changed files with 8602 additions and 56 deletions
+6 -1
View File
@@ -4,6 +4,11 @@ if (NOT DOXYGEN)
return ()
endif ()
add_custom_target(doc COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/build.py)
add_custom_command(OUTPUT html/_static/cppformat.css
COMMAND lessc --clean-css --include-path=bootstrap cppformat.less html/_static/cppformat.css
DEPENDS cppformat.less)
add_custom_target(doc COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/build.py
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/html/_static/cppformat.css)
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/ DESTINATION share/doc/cppformat)