mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-09 15:28:01 -05:00
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:
@@ -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[@]}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user