From f2e5a661cbb6022b60104173990450782aa6ac14 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 31 Aug 2023 23:05:28 -0400 Subject: Fix documentation build in a virtualenv --- doc/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/meson.build b/doc/meson.build index 7180ec28..95488fc0 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -1,4 +1,4 @@ -# Copyright 2020-2022 David Robillard +# Copyright 2020-2023 David Robillard # SPDX-License-Identifier: 0BSD OR ISC docdir = get_option('datadir') / 'doc' @@ -33,7 +33,7 @@ if build_docs # Warn if the "official" theme isn't present pymod = import('python') doc_modules = ['sphinx_lv2_theme'] - if not pymod.find_installation(modules: doc_modules, required: false).found() + if not pymod.find_installation('python3', modules: doc_modules, required: false).found() warning('Missing sphinx_lv2_theme module, falling back to alabaster') endif -- cgit v1.2.1