mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-20 07:17:50 +03:00
cli docs don't work right now
This commit is contained in:
parent
002cbf2078
commit
fdec3afd2e
18
www/build.sh
18
www/build.sh
@ -91,22 +91,4 @@ mv www/build/tutorial/tutorial.html www/build/tutorial/index.html
|
||||
# cleanup
|
||||
rm -rf roc_nightly roc_releases.json
|
||||
|
||||
echo 'Generating CLI example platform docs...'
|
||||
# Change ROC_DOCS_ROOT_DIR=builtins so that links will be generated relative to
|
||||
# "/packages/basic-cli/" rather than "/builtins/"
|
||||
export ROC_DOCS_URL_ROOT=/packages/basic-cli
|
||||
|
||||
rm -rf ./downloaded-basic-cli
|
||||
|
||||
git clone --depth 1 https://github.com/roc-lang/basic-cli.git downloaded-basic-cli
|
||||
|
||||
cargo run --release --bin roc-docs downloaded-basic-cli/src/main.roc
|
||||
|
||||
rm -rf ./downloaded-basic-cli
|
||||
|
||||
BASIC_CLI_PACKAGE_DIR="www/build/packages/basic-cli"
|
||||
mkdir -p $BASIC_CLI_PACKAGE_DIR
|
||||
rm generated-docs/*.* # we already copied over the *.js and *.css files earlier, so just drop these.
|
||||
mv generated-docs/* $BASIC_CLI_PACKAGE_DIR # move all the folders to build/packages/basic-cli
|
||||
|
||||
popd
|
||||
|
Loading…
Reference in New Issue
Block a user