gen-sdk-docs

command
v0.1.0-rc.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Command gen-sdk-docs copies the SDK example programs into the Markdown that shows them, so what the READMEs and the guide print is the file CI compiles and runs against a mesh. A Markdown file marks where a file goes with a path relative to the repository root:

<!-- embed: sdk/js/examples/call.ts -->
```ts
(replaced with the file)
```
<!-- /embed -->

Usage: gen-sdk-docs [-check] <markdown file or directory>...

Directories are walked for .md files. With -check nothing is written and the exit status is 1 when any file is stale; hack/verify-sdk-generated.sh runs it that way.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL