mirror of
https://github.com/ChainSafe/lodestar.git
synced 2026-01-10 08:08:16 -05:00
* feat: lodestar_setup * feat: script_updates + docs * feat: script_addition_in_docs + command_update * Remove duplicate script from docs folder * Minor script updates * Update script to prepare docs and ignore copied file * Update installation page * Wording --------- Co-authored-by: Nico Flaig <nflaig@protonmail.com>
23 lines
646 B
Bash
Executable File
23 lines
646 B
Bash
Executable File
#!/bin/bash
|
|
|
|
DOCS_DIR=docs
|
|
ASSETS_DIR=assets
|
|
|
|
# exit when any command fails
|
|
set -e
|
|
|
|
# Copy contributing docs
|
|
cp CONTRIBUTING.md $DOCS_DIR/pages/contribution/getting-started.md
|
|
cp SECURITY.md $DOCS_DIR/pages/security.md
|
|
|
|
# Copy package README.md to docs
|
|
cp -r packages/light-client/README.md $DOCS_DIR/pages/libraries/lightclient-prover/lightclient.md
|
|
cp -r packages/prover/README.md $DOCS_DIR/pages/libraries/lightclient-prover/prover.md
|
|
|
|
# Copy visual assets
|
|
rm -rf $DOCS_DIR/pages/assets $DOCS_DIR/pages/images
|
|
cp -r $ASSETS_DIR $DOCS_DIR/pages/assets
|
|
|
|
# Copy binary install script to docs
|
|
cp scripts/install-binary.sh $DOCS_DIR/static/install
|