Closed hfudev closed 1 year ago
Otherwise will encounter to this error later: https://github.com/espressif/esp-docs/blob/master/src/esp_docs/idf_extensions/build_system/__init__.py#L60
Also modify the parser to avoid the issue when running build-docs -t esp32 build
build-docs -t esp32 build
The error message would be build_docs.py: error: argument --target/-t: invalid choice: 'build' (choose from 'esp8266', 'esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32h2', 'esp32c2', 'esp32c6')
build_docs.py: error: argument --target/-t: invalid choice: 'build' (choose from 'esp8266', 'esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32h2', 'esp32c2', 'esp32c6')
The failure reason is that we're using nargs='+' with --target.
nargs='+'
--target
move to internal gitlab process
Otherwise will encounter to this error later: https://github.com/espressif/esp-docs/blob/master/src/esp_docs/idf_extensions/build_system/__init__.py#L60
Also modify the parser to avoid the issue when running
build-docs -t esp32 build
The error message would be
build_docs.py: error: argument --target/-t: invalid choice: 'build' (choose from 'esp8266', 'esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32h2', 'esp32c2', 'esp32c6')
The failure reason is that we're using
nargs='+'
with--target
.