FerryDocs
ContributingDocs site

Generated references

Four reference files come from the Rust code. A script writes them, thus they always agree with the code.

Edit on GitHub
cargo runRust codehelp, annotationsgenerate.mjsnpm run generateferry.jsonthe OpenAPI fileAPI pagesreference/api/*cli.mdxserver-options.mdx

The help texts and the API annotations are in the Rust code.

1 / 4

Never edit these files by hand

The script writes them again and your change goes away. To change them, see Change a reference page.

The four files

FileSource
openapi/ferry.jsoncargo run -p ferryd -- --dump-openapi, with no change
content/docs/reference/api/*fumadocs-openapi: one page per tag, plus index.mdx and meta.json
content/docs/reference/cli.mdxcargo run -p ferry-cli -- markdown-help (clap-markdown)
content/docs/reference/server-options.mdxcargo run -p ferryd -- --dump-markdown-help, plus the environment variables from ferryd --help

On this page