Explicitly set PYTHONPATH to the sourcedir when building the documentation
This avoids: ModuleNotFoundError: No module named 'breathe'
This commit is contained in:
parent
4b03510e8c
commit
4bbf5b82dd
@ -58,7 +58,7 @@ This package contains documentation for developer documentation for %{srcname}.
|
||||
%build
|
||||
%py3_build
|
||||
# Build the documentation
|
||||
%make_build DOXYGEN=$(which doxygen) html
|
||||
%make_build DOXYGEN=$(which doxygen) PYTHONPATH=$(pwd) html
|
||||
# Remove temporary build files
|
||||
rm documentation/build/html/.buildinfo
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user