diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 16a858310c8b651734aa48729e27747006567844..e7707e2597a5cd92f5d315a90a61b41b1d4749a6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,7 @@ image: hpclib/hiepacs before_script: - source /usr/share/modules/init/bash && source /usr/local/share/spack/setup-env.sh && spack load cmake@3.14.1 + - pip install jinja2 variables: GIT_SUBMODULE_STRATEGY: normal @@ -46,18 +47,22 @@ doc: script: - cd Build && cmake .. -DSCALFMM_BUILD_DOC=ON - -DCMAKE_C_COMPILER=gcc-6 - -DCMAKE_CXX_COMPILER=g++-6 - - make doc + -DCMAKE_C_COMPILER=gcc-7 + -DCMAKE_CXX_COMPILER=g++-7 + - cd Doc + - git clone https://github.com/mosra/m.css.git + - python3 m.css/documentation/doxygen.py Doxyfile-mcss pages: stage: build + dependencies: + - doc artifacts: paths: - public script: - mkdir public - - echo '42

What do you get if you multiply six by nine?

' > public/index.html + - mv Build/Doc/html/* public/ only: - cmake-refurb diff --git a/Doc/CMakeLists.txt b/Doc/CMakeLists.txt index d0634f5264b2b1b9cce465f10b2374ec5e4b02c4..f891a32d3ab68714d23fd22474253d189a4da37b 100644 --- a/Doc/CMakeLists.txt +++ b/Doc/CMakeLists.txt @@ -3,6 +3,7 @@ find_package(Doxygen) if(DOXYGEN_FOUND) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY) + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile-mcss ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile-mcss COPYONLY) add_custom_target( doc ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile diff --git a/Doc/Doxyfile-mcss b/Doc/Doxyfile-mcss new file mode 100644 index 0000000000000000000000000000000000000000..8adb3bf8f629708ddb1e6d7ca11363fd6135d7a2 --- /dev/null +++ b/Doc/Doxyfile-mcss @@ -0,0 +1,5 @@ +@INCLUDE = Doxyfile +GENERATE_HTML = NO +GENERATE_XML = YES +XML_PROGRAMLISTINGS = NO +