diff --git a/CMakeLists.txt b/CMakeLists.txt index ea4a0dc95..8c2059dc4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -44,6 +44,7 @@ else () add_subdirectory(src/server/sparkd) add_subdirectory(src/lib) add_subdirectory(src/web) + add_subdirectory(doc/user) add_subdirectory(src/sdk) add_subdirectory(src/data_files) diff --git a/doc/user/CMakeLists.txt b/doc/user/CMakeLists.txt new file mode 100644 index 000000000..1dfa4d6c5 --- /dev/null +++ b/doc/user/CMakeLists.txt @@ -0,0 +1,30 @@ +cmake_minimum_required(VERSION 3.5) +project(doc) + +include(${CMAKE_SOURCE_DIR}/tools/safe_dep_glob.cmake) +include(${CMAKE_SOURCE_DIR}/tools/Protobuf.cmake) + +# DEPENDENCIES +set(DOC_GLOBS + *.md + *.jpeg + *.png + *.html + *.css + *.js + *.eot + favicon.ico + ) +file (GLOB_RECURSE All_Deps RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${DOC_GLOBS}) +update_deps_file("${All_Deps}") +# END DEPENDENCIES + +add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/web/docs/index.html + COMMAND /bin/bash ${CMAKE_CURRENT_SOURCE_DIR}/build.sh + ARGS ${CMAKE_BINARY_DIR}/web/docs/ + COMMENT "Building Manual UI" + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} + DEPENDS ${All_Deps}) + +add_custom_target(doc_manual_bundle ALL DEPENDS ${CMAKE_BINARY_DIR}/web/docs/index.html) + diff --git a/doc/user/bts-help-theme/css/cssfamily=Source+Sans+Pro300,400,600 b/doc/user/bts-help-theme/css/cssfamily=Source+Sans+Pro300,400,600 deleted file mode 100644 index 76ae08d46..000000000 --- a/doc/user/bts-help-theme/css/cssfamily=Source+Sans+Pro300,400,600 +++ /dev/null @@ -1,18 +0,0 @@ -@font-face { - font-family: 'Source Sans Pro'; - font-style: normal; - font-weight: 300; - src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url(../fonts/Source-Sans-Pro-300.ttf) format('truetype'); -} -@font-face { - font-family: 'Source Sans Pro'; - font-style: normal; - font-weight: 400; - src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(../fonts/Source-Sans-Pro-400.ttf) format('truetype'); -} -@font-face { - font-family: 'Source Sans Pro'; - font-style: normal; - font-weight: 600; - src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'), url(../fonts/Source-Sans-Pro-600.ttf) format('truetype'); -}