We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f4f786 commit b4509b2Copy full SHA for b4509b2
contrib/tools/config-docs-generator/generate-config-docs.sh
@@ -55,7 +55,8 @@ main() {
55
mkdir -p "$(dirname "$OUTPUT_FILE")"
56
mkdir -p "$TEMP_DIR"
57
58
- cd "$PROJECT_ROOT"
+ # Move to the script's directory to build `config-docs-generator`
59
+ cd "$SCRIPT_DIR"
60
61
# Step 1: Build the documentation generation tools
62
if [[ "$SKIP_BUILD" != "true" ]]; then
@@ -74,6 +75,9 @@ main() {
74
75
fi
76
log_info "Structs to be documented: $TARGET_STRUCTS"
77
78
+ # Move to the project's workspace root to run the extract-docs binary
79
+ cd "$PROJECT_ROOT"
80
+
81
"$EXTRACT_DOCS_BIN" \
82
--package stackslib \
83
--structs "$TARGET_STRUCTS" \
0 commit comments