Revision 5f9c870073796e0268eac92169b8507a298f7ff3 authored by Wei Guo on 05 August 2024, 22:17:08 UTC, committed by Dongjoon Hyun on 05 August 2024, 22:17:08 UTC
### What changes were proposed in this pull request?

This PR aims to add Python3 environment detection for the `build_orror_docs` method in `build_api_decs.rb`.

### Why are the changes needed?

Make the environment exception prompts more friendly for developers when generating documents.
Before:
<img width="1322" alt="image" src="https://github.com/user-attachments/assets/9f31c951-e63a-479a-9600-2b62e8ad9ddd">
After:
<img width="1379" alt="image" src="https://github.com/user-attachments/assets/b0841f42-237a-429e-8673-5254328c6dd2">

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Pass GA.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #47590 from wayneguow/inf.

Authored-by: Wei Guo <guow93@gmail.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
1 parent e8227a8
History
File Mode Size
fairscheduler.xml.template -rw-r--r-- 1.1 KB
log4j2.properties.pattern-layout-template -rw-r--r-- 3.3 KB
log4j2.properties.template -rw-r--r-- 2.8 KB
metrics.properties.template -rw-r--r-- 9.1 KB
spark-defaults.conf.template -rw-r--r-- 1.3 KB
spark-env.sh.template -rwxr-xr-x 4.5 KB
workers.template -rw-r--r-- 865 bytes

back to top