feat: docs for op-reth (#20024)

Co-authored-by: weixie.cui <weixie.cui@okg.com>
Co-authored-by: Alexey Shekhirin <5773434+shekhirin@users.noreply.github.com>
This commit is contained in:
cui
2025-11-28 19:41:27 +08:00
committed by GitHub
parent 47e8f51627
commit e910e58778
56 changed files with 10989 additions and 7 deletions

View File

@@ -3,8 +3,9 @@ set -eo pipefail
DOCS_ROOT="$(dirname "$(dirname "$0")")"
RETH=${1:-"$(dirname "$DOCS_ROOT")/target/debug/reth"}
OP_RETH=${2:-"$(dirname "$DOCS_ROOT")/target/debug/op-reth"}
VOCS_PAGES_ROOT="$DOCS_ROOT/vocs/docs/pages"
echo "Generating CLI documentation for reth at $RETH"
echo "Generating CLI documentation for reth at $RETH and op-reth at $OP_RETH"
echo "Using docs root: $DOCS_ROOT"
echo "Using vocs pages root: $VOCS_PAGES_ROOT"
@@ -15,7 +16,8 @@ cmd=(
--root-summary
--verbose
--out-dir "$VOCS_PAGES_ROOT/cli/"
"$RETH"
"$RETH" "$OP_RETH"
)
echo "Running: $" "${cmd[*]}"
"${cmd[@]}"