prebuild and predev script for autodoc commands

This commit is contained in:
mfahampshire
2024-10-15 13:28:46 +02:00
parent 7ed6925b07
commit c84e4f8b10
8 changed files with 2716 additions and 317 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail
# this is run by the `prebuild` and `predev` scripts in docs/package.json
cd ../autodoc && cargo run --release &&
mv autodoc-generated-markdown/nym-cli-commands.md ../docs/pages/developers/tools/nym-cli/commands.mdx &&
mv autodoc-generated-markdown/nym-client-commands.md ../docs/pages/developers/clients/websocket/commands.mdx &&
mv autodoc-generated-markdown/nym-socks5-client-commands.md ../docs/pages/developers/clients/socks5/commands.mdx &&
cd ../docs