Skip to content

Commit

Permalink
Determinstic documentation.
Browse files Browse the repository at this point in the history
Signed-off-by: Cody Littley <[email protected]>
  • Loading branch information
cody-littley committed Dec 2, 2024
1 parent f30c147 commit 56734bf
Show file tree
Hide file tree
Showing 3 changed files with 1,838 additions and 1,835 deletions.
3 changes: 3 additions & 0 deletions api/builder/generate-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ for i in "${!PROTO_FILES[@]}"; do
PROTO_FILES[$i]=$(relativePath "${PROTO_FILES[$i]}" "${PROTO_DIR}")
done

# Sort the proto files alphabetically. Required for deterministic output.
IFS=$'\n' PROTO_FILES=($(sort <<<"${PROTO_FILES[*]}")); unset IFS

# Generate HTML doc
docker run --rm \
-v "${DOCS_DIR}":/out \
Expand Down
Loading

0 comments on commit 56734bf

Please sign in to comment.