diff --git a/book.toml b/book.toml index 44c9fe4..6199889 100644 --- a/book.toml +++ b/book.toml @@ -29,5 +29,5 @@ after = ["links"] command = "mdbook-toc" renderer = ["html"] -[preprocessor.runcommand] -command = "mdbook-runcommand" +[preprocessor.cmdrun] +command = "mdbook-cmdrun" diff --git a/devenv.nix b/devenv.nix index ec0180f..92ab5bd 100644 --- a/devenv.nix +++ b/devenv.nix @@ -17,6 +17,7 @@ libguestfs-with-appliance mdbook mdbook-admonish + cargo mdbook-i18n-helpers mdbook-linkcheck mdbook-toc @@ -31,7 +32,7 @@ ]; enterShell = '' - export PATH=$PWD/src/bin:$PWD/node_modules/.bin:$PATH + export PATH=$HOME/.cargo/bin:$PWD/src/bin:$PWD/node_modules/.bin:$PATH if [[ -n "$DEVENV_NIX" ]] then diff --git a/docs/cmd/rsdk-build.md b/docs/cmd/rsdk-build.md index ef0e819..5222473 100644 --- a/docs/cmd/rsdk-build.md +++ b/docs/cmd/rsdk-build.md @@ -1,4 +1,4 @@ -$(rsdk build --help) + ## Build Radxa OS image