Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 25db754

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

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

‎doc/conf.py

Copy file name to clipboardExpand all lines: doc/conf.py
+4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.