Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 25db754

Browse files
committed
Check for latex binary before building docs
1 parent cd8281b commit 25db754

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,10 @@ def _check_dependencies():
158158
raise OSError(
159159
"No binary named dot - graphviz must be installed to build the "
160160
"documentation")
161+
if shutil.which('latex') is None:
162+
raise OSError(
163+
"No binary named latex - latex must be installed to build the "
164+
"documentation")
161165

162166
_check_dependencies()
163167

0 commit comments

Comments
 (0)