Files
mfahampshire cf3fd00350 Max/crates io prep v2 (#6270)
* - standardise versions for all nym-sdk workspace dependencies
- prepend sqlx-pool-guard with 'nym-'

* Test remove nym-api from deps

* Add oneliner to client_pool doc comments

* Add note to commented out docs.rs link in sdk

* remove nym-api from script

* add publishing file

* bring non-binary / contract / tools into workspace version

* added more info to publishing.md

* make deps workspace version

* remove uploaded sphinx-types crate from script

* remove erroueously included ignore-defaults

* add zeroise to feature

* chore: Release

* add topology to batch

* more cargo versioning

* more cargo versioning - wasm utils

* more cargo versioning - wasm utils

* Add publish=false to manifest for cargo workspaces / crates.io
publishing exclusion

* remove script now switched to manifest based exclusion

* rename import based on rename of contracts-common dep

* Making workspace versions for publication + removing unnecessary crates
from publication

* Remove OOD info from publishing sdk guide

* rename contract imports + remove package

* temp commit: continuing with removal of path from cargo manifest and
replacing with workspace version import for publication

* continuing with cargo.toml updates

* dryrun only erroring on known version problem crates

* remove old published-crates file

* Minor comment change

* remove default features warning

* Additional info on workspace dep comment re publish list

* Add missing description to cargo.toml

* Fix missing feature flags

* Add missing descriptions

* Fix remaining path import

* Add workspace repo / homepage / documentation links to cargo.toml files

* remove workspace version from excluded crate

* Remove todo descriptions

* Minor comment change

* add homepage etc

* move from bls git import to nym_bls_fork crate

* Modify rest of imports from path to workspace import, excluding binaries

* add directory/homepage info

* fix cargo fmt

* add notes to gitignore

* better solution to contracts/ experiment

* wasm -> nym_wasm crate renaming

* fix fatfinger

* add metadata to ecash cargo.toml

* stub publishing guide

* fix misrevolved netlink- version

* Fixes and block publication of rebase re: LP

* first pass @ workflows
2026-01-19 13:19:45 +00:00
..
2024-11-04 11:42:56 +00:00
2026-01-19 13:19:45 +00:00
2024-11-04 11:42:56 +00:00

Autodoc

WIP command output documentation generator. Run via ../scripts/next-scripts/autodoc.sh to create a bunch of markdown files which are then moved around for importing into the documentation.

Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }

If you run into this error, make sure that you have the following directory structure:

autodoc/
├── autodoc-generated-markdown/
│     └── commands/
├── Cargo.toml
├── README.md
└── src
    └── main.rs

And if you don't - create it and re-run.

If you are encountering this error with this dir structure in place, check that all Nym binaries that are listed in main.rs also exist in nym/target/release/.

Run this crate on its own with debug logging and it should panic on the missing binary:

RUST_LOG="debug" cargo run --release
    Finished `release` profile [optimized] target(s) in 0.20s
     Running `/home/______/src/nym/target/release/autodoc`
[2024-10-23T08:11:01Z DEBUG autodoc] now running Some(
        "nym-api",
    )
[2024-10-23T08:11:01Z DEBUG autodoc] stderr: " 2024-10-23T08:11:01.981Z INFO  nym_api > Starting nym api...\n"
[2024-10-23T08:11:01Z DEBUG autodoc] stderr: " 2024-10-23T08:11:01.985Z INFO  nym_api > Starting nym api...\n"
[2024-10-23T08:11:01Z INFO  autodoc] SKIPPING ../../target/release/nym-api init
[2024-10-23T08:11:01Z INFO  autodoc] creating own file for ../../target/release/nym-api init --help
[2024-10-23T08:11:01Z DEBUG autodoc] stderr: " 2024-10-23T08:11:01.993Z INFO  nym_api > Starting nym api...\n"

< snip >

[2024-10-23T08:11:02Z DEBUG autodoc] now running Some(
        "nym-cli",
    )
Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }