diff options
-rw-r--r-- | docs/meson.build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/meson.build b/docs/meson.build index a752965..53d4392 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -65,6 +65,8 @@ refman_json = custom_target( test('validate_docs', find_program('./jsonvalidator.py'), args: [refman_json]) +hotdoc_prog = find_program('hotdoc', version: '>=0.13.7') + hotdoc = import('hotdoc') documentation = hotdoc.generate_doc(meson.project_name(), project_version: meson.project_version(), @@ -86,7 +88,7 @@ documentation = hotdoc.generate_doc(meson.project_name(), ) run_target('upload', - command: [find_program('hotdoc'), 'run', + command: [hotdoc_prog, 'run', '--conf-file', documentation.config_path(), '--git-upload', '-vv', |