You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Description of Changes
Some minor cleanups in the flow for regenerating the CLI reference.
# API and ABI breaking changes
None
# Expected complexity level and risk
1
# Testing
- [x] Existing CI passes
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
> NOTE! If you make a change to `nav.ts` you will have to run `npm run build` to generate a new `docs/nav.js` file.
38
38
39
39
#### CLI Reference Section
40
-
1. Run `cargo run --features markdown-docs -p spacetimedb-cli > cli-reference.md`
41
-
42
-
We currently don't properly render markdown backticks and bolding that are inside of headers, so do these two manual replacements to make them look okay (these have only been tested on Linux):
43
-
```bash
44
-
sed -i'' -E 's!^(##) `(.*)`$!\1 \2!' docs/cli-reference.md
45
-
sed -i'' -E 's!^(######) \*\*(.*)\*\*$!\1 <b>\2</b>!' docs/cli-reference.md
46
-
```
40
+
1. Run `cargo run --features markdown-docs -p spacetimedb-cli > docs/cli-reference.md`
0 commit comments