From 2228ebbcf9e4b579d95fae68f16efbb75e3a3d9f Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 26 Aug 2023 11:39:10 -0700 Subject: [PATCH 1/2] Define {{command}} for use in src/doc/man/includes --- src/doc/man/cargo-add.md | 2 +- src/doc/man/cargo-bench.md | 1 + src/doc/man/cargo-build.md | 1 + src/doc/man/cargo-check.md | 1 + src/doc/man/cargo-clean.md | 1 + src/doc/man/cargo-doc.md | 1 + src/doc/man/cargo-fetch.md | 1 + src/doc/man/cargo-fix.md | 1 + src/doc/man/cargo-install.md | 1 + src/doc/man/cargo-package.md | 1 + src/doc/man/cargo-publish.md | 1 + src/doc/man/cargo-remove.md | 1 + src/doc/man/cargo-run.md | 1 + src/doc/man/cargo-rustc.md | 1 + src/doc/man/cargo-rustdoc.md | 1 + src/doc/man/cargo-test.md | 1 + src/doc/man/cargo-tree.md | 1 + src/doc/src/commands/cargo-bench.md | 1 + src/doc/src/commands/cargo-build.md | 1 + src/doc/src/commands/cargo-check.md | 1 + src/doc/src/commands/cargo-clean.md | 1 + src/doc/src/commands/cargo-doc.md | 1 + src/doc/src/commands/cargo-fetch.md | 1 + src/doc/src/commands/cargo-fix.md | 1 + src/doc/src/commands/cargo-install.md | 1 + src/doc/src/commands/cargo-package.md | 1 + src/doc/src/commands/cargo-publish.md | 1 + src/doc/src/commands/cargo-remove.md | 1 + src/doc/src/commands/cargo-run.md | 1 + src/doc/src/commands/cargo-rustc.md | 1 + src/doc/src/commands/cargo-rustdoc.md | 1 + src/doc/src/commands/cargo-test.md | 1 + src/doc/src/commands/cargo-tree.md | 1 + 33 files changed, 33 insertions(+), 1 deletion(-) diff --git a/src/doc/man/cargo-add.md b/src/doc/man/cargo-add.md index 3c15fc9d5db..80c634895d4 100644 --- a/src/doc/man/cargo-add.md +++ b/src/doc/man/cargo-add.md @@ -1,5 +1,5 @@ # cargo-add(1) - +{{*set command="add"}} {{*set actionverb="Add"}} {{*set nouns="adds"}} diff --git a/src/doc/man/cargo-bench.md b/src/doc/man/cargo-bench.md index 18771c3d21e..81e901f1b89 100644 --- a/src/doc/man/cargo-bench.md +++ b/src/doc/man/cargo-bench.md @@ -1,4 +1,5 @@ # cargo-bench(1) +{{*set command="bench"}} {{*set actionverb="Benchmark"}} {{*set nouns="benchmarks"}} {{*set multitarget=true}} diff --git a/src/doc/man/cargo-build.md b/src/doc/man/cargo-build.md index 98614444323..ba3748eaa7b 100644 --- a/src/doc/man/cargo-build.md +++ b/src/doc/man/cargo-build.md @@ -1,4 +1,5 @@ # cargo-build(1) +{{*set command="build"}} {{*set actionverb="Build"}} {{*set multitarget=true}} diff --git a/src/doc/man/cargo-check.md b/src/doc/man/cargo-check.md index 055adff0d08..fd966f97332 100644 --- a/src/doc/man/cargo-check.md +++ b/src/doc/man/cargo-check.md @@ -1,4 +1,5 @@ # cargo-check(1) +{{*set command="check"}} {{*set actionverb="Check"}} {{*set multitarget=true}} diff --git a/src/doc/man/cargo-clean.md b/src/doc/man/cargo-clean.md index 3222f7bb04b..f3e0e5a1ecb 100644 --- a/src/doc/man/cargo-clean.md +++ b/src/doc/man/cargo-clean.md @@ -1,4 +1,5 @@ # cargo-clean(1) +{{*set command="clean"}} {{*set actionverb="Clean"}} {{*set multitarget=true}} diff --git a/src/doc/man/cargo-doc.md b/src/doc/man/cargo-doc.md index 9d5b7764893..6909ec07a90 100644 --- a/src/doc/man/cargo-doc.md +++ b/src/doc/man/cargo-doc.md @@ -1,4 +1,5 @@ # cargo-doc(1) +{{*set command="doc"}} {{*set actionverb="Document"}} {{*set multitarget=true}} diff --git a/src/doc/man/cargo-fetch.md b/src/doc/man/cargo-fetch.md index c31166a9b51..f65a2d7d926 100644 --- a/src/doc/man/cargo-fetch.md +++ b/src/doc/man/cargo-fetch.md @@ -1,4 +1,5 @@ # cargo-fetch(1) +{{*set command="fetch"}} {{*set actionverb="Fetch"}} {{*set target-default-to-all-arch=true}} {{*set multitarget=true}} diff --git a/src/doc/man/cargo-fix.md b/src/doc/man/cargo-fix.md index 64fe299446c..a87c0046bc2 100644 --- a/src/doc/man/cargo-fix.md +++ b/src/doc/man/cargo-fix.md @@ -1,4 +1,5 @@ # cargo-fix(1) +{{*set command="fix"}} {{*set actionverb="Fix"}} {{*set multitarget=true}} diff --git a/src/doc/man/cargo-install.md b/src/doc/man/cargo-install.md index e6786318f26..89f65151298 100644 --- a/src/doc/man/cargo-install.md +++ b/src/doc/man/cargo-install.md @@ -1,4 +1,5 @@ # cargo-install(1) +{{*set command="install"}} {{*set actionverb="Install"}} {{*set temp-target-dir=true}} diff --git a/src/doc/man/cargo-package.md b/src/doc/man/cargo-package.md index 2000353cc47..7ad67de2c4c 100644 --- a/src/doc/man/cargo-package.md +++ b/src/doc/man/cargo-package.md @@ -1,4 +1,5 @@ # cargo-package(1) +{{*set command="package"}} {{*set actionverb="Package"}} {{*set noall=true}} {{*set multitarget=true}} diff --git a/src/doc/man/cargo-publish.md b/src/doc/man/cargo-publish.md index 4ccb5b5298a..d8e485ca8e7 100644 --- a/src/doc/man/cargo-publish.md +++ b/src/doc/man/cargo-publish.md @@ -1,4 +1,5 @@ # cargo-publish(1) +{{*set command="publish"}} {{*set actionverb="Publish"}} {{*set multitarget=true}} diff --git a/src/doc/man/cargo-remove.md b/src/doc/man/cargo-remove.md index e38589ccb08..7138f6764ed 100644 --- a/src/doc/man/cargo-remove.md +++ b/src/doc/man/cargo-remove.md @@ -1,4 +1,5 @@ # cargo-remove(1) +{{*set command="remove"}} {{*set actionverb="Remove"}} {{*set nouns="removes"}} diff --git a/src/doc/man/cargo-run.md b/src/doc/man/cargo-run.md index 034a35f23eb..ea72139fb48 100644 --- a/src/doc/man/cargo-run.md +++ b/src/doc/man/cargo-run.md @@ -1,4 +1,5 @@ # cargo-run(1) +{{*set command="run"}} {{*set actionverb="Run"}} ## NAME diff --git a/src/doc/man/cargo-rustc.md b/src/doc/man/cargo-rustc.md index 18c0856f206..3ffbca2c510 100644 --- a/src/doc/man/cargo-rustc.md +++ b/src/doc/man/cargo-rustc.md @@ -1,4 +1,5 @@ # cargo-rustc(1) +{{*set command="rustc"}} {{*set actionverb="Build"}} {{*set multitarget=true}} diff --git a/src/doc/man/cargo-rustdoc.md b/src/doc/man/cargo-rustdoc.md index 23be579e9c6..3c059c3df2a 100644 --- a/src/doc/man/cargo-rustdoc.md +++ b/src/doc/man/cargo-rustdoc.md @@ -1,4 +1,5 @@ # cargo-rustdoc(1) +{{*set command="rustdoc"}} {{*set actionverb="Document"}} {{*set multitarget=true}} diff --git a/src/doc/man/cargo-test.md b/src/doc/man/cargo-test.md index cba98b20daf..188431408f7 100644 --- a/src/doc/man/cargo-test.md +++ b/src/doc/man/cargo-test.md @@ -1,4 +1,5 @@ # cargo-test(1) +{{*set command="test"}} {{*set actionverb="Test"}} {{*set nouns="tests"}} {{*set multitarget=true}} diff --git a/src/doc/man/cargo-tree.md b/src/doc/man/cargo-tree.md index 3e1da20df25..60387e1f5b0 100644 --- a/src/doc/man/cargo-tree.md +++ b/src/doc/man/cargo-tree.md @@ -1,4 +1,5 @@ # cargo-tree(1) +{{*set command="tree"}} {{*set actionverb="Display"}} {{*set noall=true}} diff --git a/src/doc/src/commands/cargo-bench.md b/src/doc/src/commands/cargo-bench.md index 70ae187a779..5afa28312c2 100644 --- a/src/doc/src/commands/cargo-bench.md +++ b/src/doc/src/commands/cargo-bench.md @@ -3,6 +3,7 @@ + ## NAME cargo-bench --- Execute benchmarks of a package diff --git a/src/doc/src/commands/cargo-build.md b/src/doc/src/commands/cargo-build.md index 525ab14e536..974c783421e 100644 --- a/src/doc/src/commands/cargo-build.md +++ b/src/doc/src/commands/cargo-build.md @@ -2,6 +2,7 @@ + ## NAME cargo-build --- Compile the current package diff --git a/src/doc/src/commands/cargo-check.md b/src/doc/src/commands/cargo-check.md index 4dbc97ad8fc..a40dd37c4ab 100644 --- a/src/doc/src/commands/cargo-check.md +++ b/src/doc/src/commands/cargo-check.md @@ -2,6 +2,7 @@ + ## NAME cargo-check --- Check the current package diff --git a/src/doc/src/commands/cargo-clean.md b/src/doc/src/commands/cargo-clean.md index bdbcb86d4a9..cba1c8bcf6d 100644 --- a/src/doc/src/commands/cargo-clean.md +++ b/src/doc/src/commands/cargo-clean.md @@ -2,6 +2,7 @@ + ## NAME cargo-clean --- Remove generated artifacts diff --git a/src/doc/src/commands/cargo-doc.md b/src/doc/src/commands/cargo-doc.md index d68bb84e7d8..47569e78498 100644 --- a/src/doc/src/commands/cargo-doc.md +++ b/src/doc/src/commands/cargo-doc.md @@ -2,6 +2,7 @@ + ## NAME cargo-doc --- Build a package's documentation diff --git a/src/doc/src/commands/cargo-fetch.md b/src/doc/src/commands/cargo-fetch.md index e6a46079551..076b215c0ce 100644 --- a/src/doc/src/commands/cargo-fetch.md +++ b/src/doc/src/commands/cargo-fetch.md @@ -3,6 +3,7 @@ + ## NAME cargo-fetch --- Fetch dependencies of a package from the network diff --git a/src/doc/src/commands/cargo-fix.md b/src/doc/src/commands/cargo-fix.md index 2bf83fc2eac..085333f71cb 100644 --- a/src/doc/src/commands/cargo-fix.md +++ b/src/doc/src/commands/cargo-fix.md @@ -2,6 +2,7 @@ + ## NAME cargo-fix --- Automatically fix lint warnings reported by rustc diff --git a/src/doc/src/commands/cargo-install.md b/src/doc/src/commands/cargo-install.md index af8efcae89e..cab1c29bb71 100644 --- a/src/doc/src/commands/cargo-install.md +++ b/src/doc/src/commands/cargo-install.md @@ -2,6 +2,7 @@ + ## NAME cargo-install --- Build and install a Rust binary diff --git a/src/doc/src/commands/cargo-package.md b/src/doc/src/commands/cargo-package.md index f9c7c552ddf..f0f5c1f83d8 100644 --- a/src/doc/src/commands/cargo-package.md +++ b/src/doc/src/commands/cargo-package.md @@ -3,6 +3,7 @@ + ## NAME cargo-package --- Assemble the local package into a distributable tarball diff --git a/src/doc/src/commands/cargo-publish.md b/src/doc/src/commands/cargo-publish.md index fe37d9f9774..c3a57ba0d66 100644 --- a/src/doc/src/commands/cargo-publish.md +++ b/src/doc/src/commands/cargo-publish.md @@ -2,6 +2,7 @@ + ## NAME cargo-publish --- Upload a package to the registry diff --git a/src/doc/src/commands/cargo-remove.md b/src/doc/src/commands/cargo-remove.md index 571c4107503..73f00cbe5f4 100644 --- a/src/doc/src/commands/cargo-remove.md +++ b/src/doc/src/commands/cargo-remove.md @@ -2,6 +2,7 @@ + ## NAME cargo-remove --- Remove dependencies from a Cargo.toml manifest file diff --git a/src/doc/src/commands/cargo-run.md b/src/doc/src/commands/cargo-run.md index bd3e4724a4b..9ae4c2510a3 100644 --- a/src/doc/src/commands/cargo-run.md +++ b/src/doc/src/commands/cargo-run.md @@ -1,6 +1,7 @@ # cargo-run(1) + ## NAME cargo-run --- Run the current package diff --git a/src/doc/src/commands/cargo-rustc.md b/src/doc/src/commands/cargo-rustc.md index 2147d617cd5..9815a93cc17 100644 --- a/src/doc/src/commands/cargo-rustc.md +++ b/src/doc/src/commands/cargo-rustc.md @@ -2,6 +2,7 @@ + ## NAME cargo-rustc --- Compile the current package, and pass extra options to the compiler diff --git a/src/doc/src/commands/cargo-rustdoc.md b/src/doc/src/commands/cargo-rustdoc.md index 22c1c8322bb..4bcc36314c3 100644 --- a/src/doc/src/commands/cargo-rustdoc.md +++ b/src/doc/src/commands/cargo-rustdoc.md @@ -2,6 +2,7 @@ + ## NAME cargo-rustdoc --- Build a package's documentation, using specified custom flags diff --git a/src/doc/src/commands/cargo-test.md b/src/doc/src/commands/cargo-test.md index bcf46d60191..21208644ad0 100644 --- a/src/doc/src/commands/cargo-test.md +++ b/src/doc/src/commands/cargo-test.md @@ -3,6 +3,7 @@ + ## NAME cargo-test --- Execute unit and integration tests of a package diff --git a/src/doc/src/commands/cargo-tree.md b/src/doc/src/commands/cargo-tree.md index 9a9aa9f0c2f..9c867dfa5f0 100644 --- a/src/doc/src/commands/cargo-tree.md +++ b/src/doc/src/commands/cargo-tree.md @@ -2,6 +2,7 @@ + ## NAME cargo-tree --- Display a tree visualization of a dependency graph From 134a00cf5e31ae349a915bb5b2d5c1680643ae5b Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 26 Aug 2023 11:50:12 -0700 Subject: [PATCH 2/2] Strip extra blank lines resulting from *set --- src/doc/man/cargo-add.md | 6 +++--- src/doc/man/cargo-bench.md | 8 ++++---- src/doc/man/cargo-build.md | 6 +++--- src/doc/man/cargo-check.md | 6 +++--- src/doc/man/cargo-clean.md | 6 +++--- src/doc/man/cargo-doc.md | 6 +++--- src/doc/man/cargo-fetch.md | 8 ++++---- src/doc/man/cargo-fix.md | 6 +++--- src/doc/man/cargo-install.md | 6 +++--- src/doc/man/cargo-package.md | 8 ++++---- src/doc/man/cargo-publish.md | 6 +++--- src/doc/man/cargo-remove.md | 6 +++--- src/doc/man/cargo-run.md | 4 ++-- src/doc/man/cargo-rustc.md | 6 +++--- src/doc/man/cargo-rustdoc.md | 6 +++--- src/doc/man/cargo-test.md | 8 ++++---- src/doc/man/cargo-tree.md | 6 +++--- src/doc/src/commands/cargo-add.md | 3 --- src/doc/src/commands/cargo-bench.md | 4 ---- src/doc/src/commands/cargo-build.md | 3 --- src/doc/src/commands/cargo-check.md | 3 --- src/doc/src/commands/cargo-clean.md | 3 --- src/doc/src/commands/cargo-doc.md | 3 --- src/doc/src/commands/cargo-fetch.md | 4 ---- src/doc/src/commands/cargo-fix.md | 3 --- src/doc/src/commands/cargo-install.md | 3 --- src/doc/src/commands/cargo-package.md | 4 ---- src/doc/src/commands/cargo-publish.md | 3 --- src/doc/src/commands/cargo-remove.md | 3 --- src/doc/src/commands/cargo-run.md | 2 -- src/doc/src/commands/cargo-rustc.md | 3 --- src/doc/src/commands/cargo-rustdoc.md | 3 --- src/doc/src/commands/cargo-test.md | 4 ---- src/doc/src/commands/cargo-tree.md | 3 --- 34 files changed, 54 insertions(+), 108 deletions(-) diff --git a/src/doc/man/cargo-add.md b/src/doc/man/cargo-add.md index 80c634895d4..21c222a398b 100644 --- a/src/doc/man/cargo-add.md +++ b/src/doc/man/cargo-add.md @@ -1,7 +1,7 @@ # cargo-add(1) -{{*set command="add"}} -{{*set actionverb="Add"}} -{{*set nouns="adds"}} +{{~*set command="add"}} +{{~*set actionverb="Add"}} +{{~*set nouns="adds"}} ## NAME diff --git a/src/doc/man/cargo-bench.md b/src/doc/man/cargo-bench.md index 81e901f1b89..993076fa22d 100644 --- a/src/doc/man/cargo-bench.md +++ b/src/doc/man/cargo-bench.md @@ -1,8 +1,8 @@ # cargo-bench(1) -{{*set command="bench"}} -{{*set actionverb="Benchmark"}} -{{*set nouns="benchmarks"}} -{{*set multitarget=true}} +{{~*set command="bench"}} +{{~*set actionverb="Benchmark"}} +{{~*set nouns="benchmarks"}} +{{~*set multitarget=true}} ## NAME diff --git a/src/doc/man/cargo-build.md b/src/doc/man/cargo-build.md index ba3748eaa7b..18d6eeae8d4 100644 --- a/src/doc/man/cargo-build.md +++ b/src/doc/man/cargo-build.md @@ -1,7 +1,7 @@ # cargo-build(1) -{{*set command="build"}} -{{*set actionverb="Build"}} -{{*set multitarget=true}} +{{~*set command="build"}} +{{~*set actionverb="Build"}} +{{~*set multitarget=true}} ## NAME diff --git a/src/doc/man/cargo-check.md b/src/doc/man/cargo-check.md index fd966f97332..92c8a5d0799 100644 --- a/src/doc/man/cargo-check.md +++ b/src/doc/man/cargo-check.md @@ -1,7 +1,7 @@ # cargo-check(1) -{{*set command="check"}} -{{*set actionverb="Check"}} -{{*set multitarget=true}} +{{~*set command="check"}} +{{~*set actionverb="Check"}} +{{~*set multitarget=true}} ## NAME diff --git a/src/doc/man/cargo-clean.md b/src/doc/man/cargo-clean.md index f3e0e5a1ecb..8b9ef8cb6b0 100644 --- a/src/doc/man/cargo-clean.md +++ b/src/doc/man/cargo-clean.md @@ -1,7 +1,7 @@ # cargo-clean(1) -{{*set command="clean"}} -{{*set actionverb="Clean"}} -{{*set multitarget=true}} +{{~*set command="clean"}} +{{~*set actionverb="Clean"}} +{{~*set multitarget=true}} ## NAME diff --git a/src/doc/man/cargo-doc.md b/src/doc/man/cargo-doc.md index 6909ec07a90..b2e273ee5ca 100644 --- a/src/doc/man/cargo-doc.md +++ b/src/doc/man/cargo-doc.md @@ -1,7 +1,7 @@ # cargo-doc(1) -{{*set command="doc"}} -{{*set actionverb="Document"}} -{{*set multitarget=true}} +{{~*set command="doc"}} +{{~*set actionverb="Document"}} +{{~*set multitarget=true}} ## NAME diff --git a/src/doc/man/cargo-fetch.md b/src/doc/man/cargo-fetch.md index f65a2d7d926..b8a0eb66620 100644 --- a/src/doc/man/cargo-fetch.md +++ b/src/doc/man/cargo-fetch.md @@ -1,8 +1,8 @@ # cargo-fetch(1) -{{*set command="fetch"}} -{{*set actionverb="Fetch"}} -{{*set target-default-to-all-arch=true}} -{{*set multitarget=true}} +{{~*set command="fetch"}} +{{~*set actionverb="Fetch"}} +{{~*set target-default-to-all-arch=true}} +{{~*set multitarget=true}} ## NAME diff --git a/src/doc/man/cargo-fix.md b/src/doc/man/cargo-fix.md index a87c0046bc2..89fb81cef79 100644 --- a/src/doc/man/cargo-fix.md +++ b/src/doc/man/cargo-fix.md @@ -1,7 +1,7 @@ # cargo-fix(1) -{{*set command="fix"}} -{{*set actionverb="Fix"}} -{{*set multitarget=true}} +{{~*set command="fix"}} +{{~*set actionverb="Fix"}} +{{~*set multitarget=true}} ## NAME diff --git a/src/doc/man/cargo-install.md b/src/doc/man/cargo-install.md index 89f65151298..5431bdb7929 100644 --- a/src/doc/man/cargo-install.md +++ b/src/doc/man/cargo-install.md @@ -1,7 +1,7 @@ # cargo-install(1) -{{*set command="install"}} -{{*set actionverb="Install"}} -{{*set temp-target-dir=true}} +{{~*set command="install"}} +{{~*set actionverb="Install"}} +{{~*set temp-target-dir=true}} ## NAME diff --git a/src/doc/man/cargo-package.md b/src/doc/man/cargo-package.md index 7ad67de2c4c..5057e59fe79 100644 --- a/src/doc/man/cargo-package.md +++ b/src/doc/man/cargo-package.md @@ -1,8 +1,8 @@ # cargo-package(1) -{{*set command="package"}} -{{*set actionverb="Package"}} -{{*set noall=true}} -{{*set multitarget=true}} +{{~*set command="package"}} +{{~*set actionverb="Package"}} +{{~*set noall=true}} +{{~*set multitarget=true}} ## NAME diff --git a/src/doc/man/cargo-publish.md b/src/doc/man/cargo-publish.md index d8e485ca8e7..4e4d3b70ebf 100644 --- a/src/doc/man/cargo-publish.md +++ b/src/doc/man/cargo-publish.md @@ -1,7 +1,7 @@ # cargo-publish(1) -{{*set command="publish"}} -{{*set actionverb="Publish"}} -{{*set multitarget=true}} +{{~*set command="publish"}} +{{~*set actionverb="Publish"}} +{{~*set multitarget=true}} ## NAME diff --git a/src/doc/man/cargo-remove.md b/src/doc/man/cargo-remove.md index 7138f6764ed..0bdb04ac63c 100644 --- a/src/doc/man/cargo-remove.md +++ b/src/doc/man/cargo-remove.md @@ -1,7 +1,7 @@ # cargo-remove(1) -{{*set command="remove"}} -{{*set actionverb="Remove"}} -{{*set nouns="removes"}} +{{~*set command="remove"}} +{{~*set actionverb="Remove"}} +{{~*set nouns="removes"}} ## NAME diff --git a/src/doc/man/cargo-run.md b/src/doc/man/cargo-run.md index ea72139fb48..8a8ddb309fd 100644 --- a/src/doc/man/cargo-run.md +++ b/src/doc/man/cargo-run.md @@ -1,6 +1,6 @@ # cargo-run(1) -{{*set command="run"}} -{{*set actionverb="Run"}} +{{~*set command="run"}} +{{~*set actionverb="Run"}} ## NAME diff --git a/src/doc/man/cargo-rustc.md b/src/doc/man/cargo-rustc.md index 3ffbca2c510..279c6dbd13d 100644 --- a/src/doc/man/cargo-rustc.md +++ b/src/doc/man/cargo-rustc.md @@ -1,7 +1,7 @@ # cargo-rustc(1) -{{*set command="rustc"}} -{{*set actionverb="Build"}} -{{*set multitarget=true}} +{{~*set command="rustc"}} +{{~*set actionverb="Build"}} +{{~*set multitarget=true}} ## NAME diff --git a/src/doc/man/cargo-rustdoc.md b/src/doc/man/cargo-rustdoc.md index 3c059c3df2a..39f70713c0d 100644 --- a/src/doc/man/cargo-rustdoc.md +++ b/src/doc/man/cargo-rustdoc.md @@ -1,7 +1,7 @@ # cargo-rustdoc(1) -{{*set command="rustdoc"}} -{{*set actionverb="Document"}} -{{*set multitarget=true}} +{{~*set command="rustdoc"}} +{{~*set actionverb="Document"}} +{{~*set multitarget=true}} ## NAME diff --git a/src/doc/man/cargo-test.md b/src/doc/man/cargo-test.md index 188431408f7..6d11ecc8fbc 100644 --- a/src/doc/man/cargo-test.md +++ b/src/doc/man/cargo-test.md @@ -1,8 +1,8 @@ # cargo-test(1) -{{*set command="test"}} -{{*set actionverb="Test"}} -{{*set nouns="tests"}} -{{*set multitarget=true}} +{{~*set command="test"}} +{{~*set actionverb="Test"}} +{{~*set nouns="tests"}} +{{~*set multitarget=true}} ## NAME diff --git a/src/doc/man/cargo-tree.md b/src/doc/man/cargo-tree.md index 60387e1f5b0..1bb52883c11 100644 --- a/src/doc/man/cargo-tree.md +++ b/src/doc/man/cargo-tree.md @@ -1,7 +1,7 @@ # cargo-tree(1) -{{*set command="tree"}} -{{*set actionverb="Display"}} -{{*set noall=true}} +{{~*set command="tree"}} +{{~*set actionverb="Display"}} +{{~*set noall=true}} ## NAME diff --git a/src/doc/src/commands/cargo-add.md b/src/doc/src/commands/cargo-add.md index 132c093264d..03485e12167 100644 --- a/src/doc/src/commands/cargo-add.md +++ b/src/doc/src/commands/cargo-add.md @@ -1,8 +1,5 @@ # cargo-add(1) - - - ## NAME cargo-add --- Add dependencies to a Cargo.toml manifest file diff --git a/src/doc/src/commands/cargo-bench.md b/src/doc/src/commands/cargo-bench.md index 5afa28312c2..d09978b0882 100644 --- a/src/doc/src/commands/cargo-bench.md +++ b/src/doc/src/commands/cargo-bench.md @@ -1,9 +1,5 @@ # cargo-bench(1) - - - - ## NAME cargo-bench --- Execute benchmarks of a package diff --git a/src/doc/src/commands/cargo-build.md b/src/doc/src/commands/cargo-build.md index 974c783421e..a5be94f152f 100644 --- a/src/doc/src/commands/cargo-build.md +++ b/src/doc/src/commands/cargo-build.md @@ -1,8 +1,5 @@ # cargo-build(1) - - - ## NAME cargo-build --- Compile the current package diff --git a/src/doc/src/commands/cargo-check.md b/src/doc/src/commands/cargo-check.md index a40dd37c4ab..fef4e0ef42a 100644 --- a/src/doc/src/commands/cargo-check.md +++ b/src/doc/src/commands/cargo-check.md @@ -1,8 +1,5 @@ # cargo-check(1) - - - ## NAME cargo-check --- Check the current package diff --git a/src/doc/src/commands/cargo-clean.md b/src/doc/src/commands/cargo-clean.md index cba1c8bcf6d..df43479749a 100644 --- a/src/doc/src/commands/cargo-clean.md +++ b/src/doc/src/commands/cargo-clean.md @@ -1,8 +1,5 @@ # cargo-clean(1) - - - ## NAME cargo-clean --- Remove generated artifacts diff --git a/src/doc/src/commands/cargo-doc.md b/src/doc/src/commands/cargo-doc.md index 47569e78498..987d49b7638 100644 --- a/src/doc/src/commands/cargo-doc.md +++ b/src/doc/src/commands/cargo-doc.md @@ -1,8 +1,5 @@ # cargo-doc(1) - - - ## NAME cargo-doc --- Build a package's documentation diff --git a/src/doc/src/commands/cargo-fetch.md b/src/doc/src/commands/cargo-fetch.md index 076b215c0ce..54ce48d3720 100644 --- a/src/doc/src/commands/cargo-fetch.md +++ b/src/doc/src/commands/cargo-fetch.md @@ -1,9 +1,5 @@ # cargo-fetch(1) - - - - ## NAME cargo-fetch --- Fetch dependencies of a package from the network diff --git a/src/doc/src/commands/cargo-fix.md b/src/doc/src/commands/cargo-fix.md index 085333f71cb..669bae6f50e 100644 --- a/src/doc/src/commands/cargo-fix.md +++ b/src/doc/src/commands/cargo-fix.md @@ -1,8 +1,5 @@ # cargo-fix(1) - - - ## NAME cargo-fix --- Automatically fix lint warnings reported by rustc diff --git a/src/doc/src/commands/cargo-install.md b/src/doc/src/commands/cargo-install.md index cab1c29bb71..f397244aca1 100644 --- a/src/doc/src/commands/cargo-install.md +++ b/src/doc/src/commands/cargo-install.md @@ -1,8 +1,5 @@ # cargo-install(1) - - - ## NAME cargo-install --- Build and install a Rust binary diff --git a/src/doc/src/commands/cargo-package.md b/src/doc/src/commands/cargo-package.md index f0f5c1f83d8..902f7b114ee 100644 --- a/src/doc/src/commands/cargo-package.md +++ b/src/doc/src/commands/cargo-package.md @@ -1,9 +1,5 @@ # cargo-package(1) - - - - ## NAME cargo-package --- Assemble the local package into a distributable tarball diff --git a/src/doc/src/commands/cargo-publish.md b/src/doc/src/commands/cargo-publish.md index c3a57ba0d66..86cc5adf319 100644 --- a/src/doc/src/commands/cargo-publish.md +++ b/src/doc/src/commands/cargo-publish.md @@ -1,8 +1,5 @@ # cargo-publish(1) - - - ## NAME cargo-publish --- Upload a package to the registry diff --git a/src/doc/src/commands/cargo-remove.md b/src/doc/src/commands/cargo-remove.md index 73f00cbe5f4..9e97b533a46 100644 --- a/src/doc/src/commands/cargo-remove.md +++ b/src/doc/src/commands/cargo-remove.md @@ -1,8 +1,5 @@ # cargo-remove(1) - - - ## NAME cargo-remove --- Remove dependencies from a Cargo.toml manifest file diff --git a/src/doc/src/commands/cargo-run.md b/src/doc/src/commands/cargo-run.md index 9ae4c2510a3..98832ce985c 100644 --- a/src/doc/src/commands/cargo-run.md +++ b/src/doc/src/commands/cargo-run.md @@ -1,7 +1,5 @@ # cargo-run(1) - - ## NAME cargo-run --- Run the current package diff --git a/src/doc/src/commands/cargo-rustc.md b/src/doc/src/commands/cargo-rustc.md index 9815a93cc17..dd55d62a4a3 100644 --- a/src/doc/src/commands/cargo-rustc.md +++ b/src/doc/src/commands/cargo-rustc.md @@ -1,8 +1,5 @@ # cargo-rustc(1) - - - ## NAME cargo-rustc --- Compile the current package, and pass extra options to the compiler diff --git a/src/doc/src/commands/cargo-rustdoc.md b/src/doc/src/commands/cargo-rustdoc.md index 4bcc36314c3..aa5fcc6dee2 100644 --- a/src/doc/src/commands/cargo-rustdoc.md +++ b/src/doc/src/commands/cargo-rustdoc.md @@ -1,8 +1,5 @@ # cargo-rustdoc(1) - - - ## NAME cargo-rustdoc --- Build a package's documentation, using specified custom flags diff --git a/src/doc/src/commands/cargo-test.md b/src/doc/src/commands/cargo-test.md index 21208644ad0..75f66e4b049 100644 --- a/src/doc/src/commands/cargo-test.md +++ b/src/doc/src/commands/cargo-test.md @@ -1,9 +1,5 @@ # cargo-test(1) - - - - ## NAME cargo-test --- Execute unit and integration tests of a package diff --git a/src/doc/src/commands/cargo-tree.md b/src/doc/src/commands/cargo-tree.md index 9c867dfa5f0..948c3581cae 100644 --- a/src/doc/src/commands/cargo-tree.md +++ b/src/doc/src/commands/cargo-tree.md @@ -1,8 +1,5 @@ # cargo-tree(1) - - - ## NAME cargo-tree --- Display a tree visualization of a dependency graph