Customize Sphinx theme
This commit is contained in:
+6
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user