Skip to content
Snippets Groups Projects
Commit 4ed2e954 authored by patavirt's avatar patavirt
Browse files

Add Sphinx build

parent 50ed5d34
No related branches found
No related tags found
No related merge requests found
python_doc = py_mod.find_installation(
'python3',
modules: ['sphinx'],
required: false
)
if not python_doc.found()
subdir_done()
endif
doc_files = files(
'index.rst',
'discretization.rst',
'conf.py',
)
custom_target('doc',
command: [python_doc, '-msphinx',
'-q', # quiet
'-E', # rebuild from scratch
'-j', 'auto', # parallel build
'-d', '@PRIVATE_DIR@', # doctrees dir
'@CURRENT_SOURCE_DIR@', # source dir
'@OUTPUT@', # output dir
],
depend_files: doc_files,
depends: [usadelndsoc_pymod],
output: 'html',
build_by_default: 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