Skip to content
Snippets Groups Projects
Commit 57be10c2 authored by EXT Jean-Matthieu Etancelin's avatar EXT Jean-Matthieu Etancelin
Browse files

Try fixing html pages generation

parent 43a31954
No related branches found
No related tags found
No related merge requests found
Pipeline #200255 canceled
......@@ -24,6 +24,7 @@ done
cat @SPHINX_INPUT_HYSOPDOC@/license.rst @HYSOP_SOURCE_DIR@/LICENSE > @SPHINX_TMP@/license.rst
## Doxygen
mkdir -p @DOXYGEN_OUTPUT@
@DOXYGEN_BIN@ -u @DOXYGEN_CONFIG@
@DOXYGEN_BIN@ @DOXYGEN_CONFIG@ > @DOC_LOGS_DIR@/doxygen.log
## API
rm -rf @SPHINX_TMP@/apidoc
......
......@@ -18,22 +18,21 @@ endif
subdir('config')
docs_gen_html_content = custom_target('docs',
output: 'docs',
docs_gen_html_content = custom_target('docs_html',
output: 'docs_html.done',
capture: false,
command: [bash, doc_build_dir + '/config/gen_content.sh', 'html'],
env: docs_env)
docs_gen_latex_content = custom_target('docs_gen_latex_content',
output: 'docs_gen_latex_content.done',
docs_gen_latex_content = custom_target('docs_latex',
output: 'docs_latex.done',
capture: false,
command: [bash, doc_build_dir + '/config/gen_content.sh', 'latex'],
depends: docs_gen_html_content,
env: docs_env)
docs_env.set('HYSOP_VERBOSE', 'false')
docs_doctest = custom_target('doctest',
docs_doctest = custom_target('docs_doctest',
output: 'docs_doctest.done',
capture: false,
env: docs_env,
......
......@@ -178,6 +178,7 @@ subdir('src')
if with_documentation == 'ON'
docs_env = environment()
docs_env.set('PYTHONPATH', py.get_install_dir())
docs_env.set('HYSOP_VERBOSE', 'False')
doxygen = find_program('doxygen', required : true)
doxygen_dot = find_program('dot', required : true)
sphinx_api = find_program('sphinx-apidoc', required : true)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment