aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/hotdoc.py
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@igalia.com>2018-09-09 20:17:22 -0300
committerJussi Pakkanen <jpakkane@gmail.com>2018-09-10 21:01:01 +0300
commitbd26c71845497c462d40df97954a9bc96f97a24a (patch)
treee2b8923a2ec9a10a6a6fbf873155db4397caa6ae /mesonbuild/modules/hotdoc.py
parent1ace8d898549972f3c052429f24d5903b3b43a16 (diff)
downloadmeson-bd26c71845497c462d40df97954a9bc96f97a24a.zip
meson-bd26c71845497c462d40df97954a9bc96f97a24a.tar.gz
meson-bd26c71845497c462d40df97954a9bc96f97a24a.tar.bz2
hotdoc: Make project_version mandatory as it should always have been
Diffstat (limited to 'mesonbuild/modules/hotdoc.py')
-rw-r--r--mesonbuild/modules/hotdoc.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/modules/hotdoc.py b/mesonbuild/modules/hotdoc.py
index 7e4c523..e621938 100644
--- a/mesonbuild/modules/hotdoc.py
+++ b/mesonbuild/modules/hotdoc.py
@@ -259,6 +259,7 @@ class HotdocTargetBuilder:
self.check_forbiden_args()
file_types = (str, mesonlib.File)
self.process_known_arg("--index", file_types, mandatory=True, value_processor=self.ensure_file)
+ self.process_known_arg("--project-version", str, mandatory=True)
self.process_known_arg("--sitemap", file_types, mandatory=True, value_processor=self.ensure_file)
self.process_known_arg("--html-extra-theme", str, value_processor=self.ensure_dir)
self.process_known_arg(None, list, "include_paths", force_list=True,