Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneguow committed Aug 2, 2024
1 parent 080e7eb commit d673ef0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/_plugins/build_api_docs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,12 @@ def build_sql_docs

def build_error_docs
print_header "Building error docs."
system("python '#{SPARK_PROJECT_ROOT}/docs/util/build-error-docs.py'") \

if !system("which python3 >/dev/null 2>&1")
raise("Missing python3 in your path, stopping error doc generation")
end

system("python3 '#{SPARK_PROJECT_ROOT}/docs/util/build-error-docs.py'") \
|| raise("Error doc generation failed")
end

Expand Down

0 comments on commit d673ef0

Please sign in to comment.