Commit 05b64f08 authored by ESTERIE Pierre's avatar ESTERIE Pierre

Some addition for testing public doc

parent 10ff6f92
...@@ -2,6 +2,7 @@ image: hpclib/hiepacs ...@@ -2,6 +2,7 @@ image: hpclib/hiepacs
before_script: before_script:
- source /usr/share/modules/init/bash && source /usr/local/share/spack/setup-env.sh && spack load cmake@3.14.1 - source /usr/share/modules/init/bash && source /usr/local/share/spack/setup-env.sh && spack load cmake@3.14.1
- pip install jinja2
variables: variables:
GIT_SUBMODULE_STRATEGY: normal GIT_SUBMODULE_STRATEGY: normal
...@@ -46,18 +47,22 @@ doc: ...@@ -46,18 +47,22 @@ doc:
script: script:
- cd Build && cmake .. - cd Build && cmake ..
-DSCALFMM_BUILD_DOC=ON -DSCALFMM_BUILD_DOC=ON
-DCMAKE_C_COMPILER=gcc-6 -DCMAKE_C_COMPILER=gcc-7
-DCMAKE_CXX_COMPILER=g++-6 -DCMAKE_CXX_COMPILER=g++-7
- make doc - cd Doc
- git clone https://github.com/mosra/m.css.git
- python3 m.css/documentation/doxygen.py Doxyfile-mcss
pages: pages:
stage: build stage: build
dependencies:
- doc
artifacts: artifacts:
paths: paths:
- public - public
script: script:
- mkdir public - mkdir public
- echo '<html><head><title>42</title></head><body><h2>What do you get if you multiply six by nine?</h2></body></html>' > public/index.html - mv Build/Doc/html/* public/
only: only:
- cmake-refurb - cmake-refurb
......
...@@ -3,6 +3,7 @@ find_package(Doxygen) ...@@ -3,6 +3,7 @@ find_package(Doxygen)
if(DOXYGEN_FOUND) if(DOXYGEN_FOUND)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in
${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile-mcss ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile-mcss COPYONLY)
add_custom_target( add_custom_target(
doc doc
${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
......
@INCLUDE = Doxyfile
GENERATE_HTML = NO
GENERATE_XML = YES
XML_PROGRAMLISTINGS = NO
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment