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
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 '<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:
- cmake-refurb
......
......@@ -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
......
@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