diff --git a/src/doc/Makefile b/src/doc/Makefile index fbae6620574..505532d2be8 100644 --- a/src/doc/Makefile +++ b/src/doc/Makefile @@ -4,14 +4,14 @@ # format. See https://asciidoctor.org/ for more information. # # Just run `make` and it will generate the man pages in src/etc/man and the -# HTML pages in src/doc/src/commands/generated. +# HTML pages in src/doc/man/generated. # # There are some Asciidoctor extensions, see the file `asciidoc-extensions.rb` # for the documentation. MAN_SOURCE = $(sort $(wildcard man/cargo*.adoc)) COMMANDS = $(notdir $(MAN_SOURCE)) -HTML = $(patsubst %.adoc,src/commands/generated/%.html,$(COMMANDS)) +HTML = $(patsubst %.adoc,man/generated/%.html,$(COMMANDS)) MAN_LOCATION = ../etc/man MAN = $(patsubst %.adoc,$(MAN_LOCATION)/%.1,$(COMMANDS)) ASCIIDOCOPTS = -r ./asciidoc-extension.rb @@ -21,7 +21,7 @@ all: commands-html man commands-html: $(HTML) man: $(MAN) -$(HTML): src/commands/generated/%.html : man/%.adoc asciidoc-extension.rb $(OTHER_DEPS) +$(HTML): man/generated/%.html : man/%.adoc asciidoc-extension.rb $(OTHER_DEPS) asciidoctor $(ASCIIDOCOPTS) -s $< -o $@ $(MAN): $(MAN_LOCATION)/%.1 : man/%.adoc $(OTHER_DEPS) diff --git a/src/doc/man/cargo-bench.adoc b/src/doc/man/cargo-bench.adoc index 3ac56c6e180..e1bdb149003 100644 --- a/src/doc/man/cargo-bench.adoc +++ b/src/doc/man/cargo-bench.adoc @@ -1,4 +1,5 @@ = cargo-bench(1) +:idprefix: cargo_bench_ :doctype: manpage :actionverb: Benchmark :nouns: benchmarks diff --git a/src/doc/man/cargo-build.adoc b/src/doc/man/cargo-build.adoc index 7776c8393cd..2fc660f8cc6 100644 --- a/src/doc/man/cargo-build.adoc +++ b/src/doc/man/cargo-build.adoc @@ -1,4 +1,5 @@ = cargo-build(1) +:idprefix: cargo_build_ :doctype: manpage :actionverb: Build diff --git a/src/doc/man/cargo-check.adoc b/src/doc/man/cargo-check.adoc index c9dfd58b49c..c84b1dcef4c 100644 --- a/src/doc/man/cargo-check.adoc +++ b/src/doc/man/cargo-check.adoc @@ -1,4 +1,5 @@ = cargo-check(1) +:idprefix: cargo_check_ :doctype: manpage :actionverb: Check diff --git a/src/doc/man/cargo-clean.adoc b/src/doc/man/cargo-clean.adoc index b03a88db88f..08fdb76deb3 100644 --- a/src/doc/man/cargo-clean.adoc +++ b/src/doc/man/cargo-clean.adoc @@ -1,4 +1,5 @@ = cargo-clean(1) +:idprefix: cargo_clean_ :doctype: manpage :actionverb: Clean diff --git a/src/doc/man/cargo-doc.adoc b/src/doc/man/cargo-doc.adoc index bc79d875ef3..99bfe75ff11 100644 --- a/src/doc/man/cargo-doc.adoc +++ b/src/doc/man/cargo-doc.adoc @@ -1,4 +1,5 @@ = cargo-doc(1) +:idprefix: cargo_doc_ :doctype: manpage :actionverb: Document diff --git a/src/doc/man/cargo-fetch.adoc b/src/doc/man/cargo-fetch.adoc index 536ab4903fe..8afdd6864ff 100644 --- a/src/doc/man/cargo-fetch.adoc +++ b/src/doc/man/cargo-fetch.adoc @@ -1,4 +1,5 @@ = cargo-fetch(1) +:idprefix: cargo_fetch_ :doctype: manpage :actionverb: Fetch diff --git a/src/doc/man/cargo-fix.adoc b/src/doc/man/cargo-fix.adoc index 95f2e361a32..2a7ff56a64f 100644 --- a/src/doc/man/cargo-fix.adoc +++ b/src/doc/man/cargo-fix.adoc @@ -1,4 +1,5 @@ = cargo-fix(1) +:idprefix: cargo_fix_ :doctype: manpage :actionverb: Fix diff --git a/src/doc/man/cargo-generate-lockfile.adoc b/src/doc/man/cargo-generate-lockfile.adoc index beb94736f33..2b89159782d 100644 --- a/src/doc/man/cargo-generate-lockfile.adoc +++ b/src/doc/man/cargo-generate-lockfile.adoc @@ -1,4 +1,5 @@ = cargo-generate-lockfile(1) +:idprefix: cargo_generate-lockfile_ :doctype: manpage == NAME diff --git a/src/doc/man/cargo-help.adoc b/src/doc/man/cargo-help.adoc index 87f7e481878..bcbb5ba34c3 100644 --- a/src/doc/man/cargo-help.adoc +++ b/src/doc/man/cargo-help.adoc @@ -1,4 +1,5 @@ = cargo-help(1) +:idprefix: cargo_help_ :doctype: manpage == NAME diff --git a/src/doc/man/cargo-init.adoc b/src/doc/man/cargo-init.adoc index 773ed37376a..6df38bf6836 100644 --- a/src/doc/man/cargo-init.adoc +++ b/src/doc/man/cargo-init.adoc @@ -1,4 +1,5 @@ = cargo-init(1) +:idprefix: cargo_init_ :doctype: manpage == NAME diff --git a/src/doc/man/cargo-install.adoc b/src/doc/man/cargo-install.adoc index 3abea34effb..71994bdc9e1 100644 --- a/src/doc/man/cargo-install.adoc +++ b/src/doc/man/cargo-install.adoc @@ -1,4 +1,5 @@ = cargo-install(1) +:idprefix: cargo_install_ :doctype: manpage :actionverb: Install diff --git a/src/doc/man/cargo-locate-project.adoc b/src/doc/man/cargo-locate-project.adoc index a099e6bcb2b..adfc7a39ebf 100644 --- a/src/doc/man/cargo-locate-project.adoc +++ b/src/doc/man/cargo-locate-project.adoc @@ -1,4 +1,5 @@ = cargo-locate-project(1) +:idprefix: cargo_locate-project_ :doctype: manpage == NAME diff --git a/src/doc/man/cargo-login.adoc b/src/doc/man/cargo-login.adoc index ac25955cef6..70d90d1cdd7 100644 --- a/src/doc/man/cargo-login.adoc +++ b/src/doc/man/cargo-login.adoc @@ -1,4 +1,5 @@ = cargo-login(1) +:idprefix: cargo_login_ :doctype: manpage == NAME diff --git a/src/doc/man/cargo-metadata.adoc b/src/doc/man/cargo-metadata.adoc index 6c4d90d7db9..abd33e15cfb 100644 --- a/src/doc/man/cargo-metadata.adoc +++ b/src/doc/man/cargo-metadata.adoc @@ -1,4 +1,5 @@ = cargo-metadata(1) +:idprefix: cargo_metadata_ :doctype: manpage :source-highlighter: highlightjs diff --git a/src/doc/man/cargo-new.adoc b/src/doc/man/cargo-new.adoc index eebb6cff882..6587a378960 100644 --- a/src/doc/man/cargo-new.adoc +++ b/src/doc/man/cargo-new.adoc @@ -1,4 +1,5 @@ = cargo-new(1) +:idprefix: cargo_new_ :doctype: manpage == NAME diff --git a/src/doc/man/cargo-owner.adoc b/src/doc/man/cargo-owner.adoc index 25be145589b..f83542faabc 100644 --- a/src/doc/man/cargo-owner.adoc +++ b/src/doc/man/cargo-owner.adoc @@ -1,4 +1,5 @@ = cargo-owner(1) +:idprefix: cargo_owner_ :doctype: manpage == NAME diff --git a/src/doc/man/cargo-package.adoc b/src/doc/man/cargo-package.adoc index 845626fea96..5eea83dc06c 100644 --- a/src/doc/man/cargo-package.adoc +++ b/src/doc/man/cargo-package.adoc @@ -1,4 +1,5 @@ = cargo-package(1) +:idprefix: cargo_package_ :doctype: manpage :actionverb: Package diff --git a/src/doc/man/cargo-pkgid.adoc b/src/doc/man/cargo-pkgid.adoc index 646254a205e..98ff9dd9d89 100644 --- a/src/doc/man/cargo-pkgid.adoc +++ b/src/doc/man/cargo-pkgid.adoc @@ -1,4 +1,5 @@ = cargo-pkgid(1) +:idprefix: cargo_pkgid_ :doctype: manpage == NAME diff --git a/src/doc/man/cargo-publish.adoc b/src/doc/man/cargo-publish.adoc index 759d78b35c4..23fb0c3de56 100644 --- a/src/doc/man/cargo-publish.adoc +++ b/src/doc/man/cargo-publish.adoc @@ -1,4 +1,5 @@ = cargo-publish(1) +:idprefix: cargo_publish_ :doctype: manpage :actionverb: Publish diff --git a/src/doc/man/cargo-run.adoc b/src/doc/man/cargo-run.adoc index 8869256a1f3..ab417257d87 100644 --- a/src/doc/man/cargo-run.adoc +++ b/src/doc/man/cargo-run.adoc @@ -1,4 +1,5 @@ = cargo-run(1) +:idprefix: cargo_run_ :doctype: manpage :actionverb: Run diff --git a/src/doc/man/cargo-rustc.adoc b/src/doc/man/cargo-rustc.adoc index 4bfe1f2dcc3..7ba60cb19e1 100644 --- a/src/doc/man/cargo-rustc.adoc +++ b/src/doc/man/cargo-rustc.adoc @@ -1,4 +1,5 @@ = cargo-rustc(1) +:idprefix: cargo_rustc_ :doctype: manpage :actionverb: Build diff --git a/src/doc/man/cargo-rustdoc.adoc b/src/doc/man/cargo-rustdoc.adoc index 03b888d515a..6d7fea76141 100644 --- a/src/doc/man/cargo-rustdoc.adoc +++ b/src/doc/man/cargo-rustdoc.adoc @@ -1,4 +1,5 @@ = cargo-rustdoc(1) +:idprefix: cargo_rustdoc_ :doctype: manpage :actionverb: Document diff --git a/src/doc/man/cargo-search.adoc b/src/doc/man/cargo-search.adoc index 6c18a950aa3..4d51285928f 100644 --- a/src/doc/man/cargo-search.adoc +++ b/src/doc/man/cargo-search.adoc @@ -1,4 +1,5 @@ = cargo-search(1) +:idprefix: cargo_search_ :doctype: manpage == NAME diff --git a/src/doc/man/cargo-test.adoc b/src/doc/man/cargo-test.adoc index b8a7baf0a82..8e144fe44d3 100644 --- a/src/doc/man/cargo-test.adoc +++ b/src/doc/man/cargo-test.adoc @@ -1,4 +1,5 @@ = cargo-test(1) +:idprefix: cargo_test_ :doctype: manpage :actionverb: Test :nouns: tests diff --git a/src/doc/man/cargo-uninstall.adoc b/src/doc/man/cargo-uninstall.adoc index 81b89b167b6..b75a10401e2 100644 --- a/src/doc/man/cargo-uninstall.adoc +++ b/src/doc/man/cargo-uninstall.adoc @@ -1,4 +1,5 @@ = cargo-uninstall(1) +:idprefix: cargo_uninstall_ :doctype: manpage == NAME diff --git a/src/doc/man/cargo-update.adoc b/src/doc/man/cargo-update.adoc index 0baa98903b9..71bea3b8088 100644 --- a/src/doc/man/cargo-update.adoc +++ b/src/doc/man/cargo-update.adoc @@ -1,4 +1,5 @@ = cargo-update(1) +:idprefix: cargo_update_ :doctype: manpage == NAME diff --git a/src/doc/man/cargo-verify-project.adoc b/src/doc/man/cargo-verify-project.adoc index f6f9a044fdc..7b963f8c5dd 100644 --- a/src/doc/man/cargo-verify-project.adoc +++ b/src/doc/man/cargo-verify-project.adoc @@ -1,4 +1,5 @@ = cargo-verify-project(1) +:idprefix: cargo_verify-project_ :doctype: manpage == NAME diff --git a/src/doc/man/cargo-version.adoc b/src/doc/man/cargo-version.adoc index 809ef68f8ea..4c3bb7a1be3 100644 --- a/src/doc/man/cargo-version.adoc +++ b/src/doc/man/cargo-version.adoc @@ -1,4 +1,5 @@ = cargo-version(1) +:idprefix: cargo_version_ :doctype: manpage == NAME diff --git a/src/doc/man/cargo-yank.adoc b/src/doc/man/cargo-yank.adoc index 0bb437bb116..99f430826f7 100644 --- a/src/doc/man/cargo-yank.adoc +++ b/src/doc/man/cargo-yank.adoc @@ -1,4 +1,5 @@ = cargo-yank(1) +:idprefix: cargo_yank_ :doctype: manpage == NAME diff --git a/src/doc/src/commands/generated/cargo-bench.html b/src/doc/man/generated/cargo-bench.html similarity index 93% rename from src/doc/src/commands/generated/cargo-bench.html rename to src/doc/man/generated/cargo-bench.html index 6a4e86d434c..71b4439d31e 100644 --- a/src/doc/src/commands/generated/cargo-bench.html +++ b/src/doc/man/generated/cargo-bench.html @@ -1,9 +1,9 @@ -
cargo-bench - Execute benchmarks of a package
cargo bench [OPTIONS] [BENCHNAME] [-- BENCH-OPTIONS]
Compile and execute benchmarks.
@@ -42,10 +42,10 @@By default, when no package selection options are given, the packages selected depend on the current working directory. In the root of a virtual workspace, @@ -93,7 +93,7 @@
When no target selection options are given, cargo bench
will build the
following targets of the selected packages:
When no feature options are given, the default
feature is activated for
every selected package.
By default the Rust test harness hides output from benchmark execution to keep results readable. Benchmark output can be recovered (e.g. for debugging) by @@ -341,7 +341,7 @@
The --jobs
argument affects the building of the benchmark executable but
does not affect how many threads are used when running the benchmarks. The
@@ -404,7 +404,7 @@
Profiles may be used to configure compiler options such as optimization levels @@ -427,7 +427,7 @@
See the reference for @@ -436,7 +436,7 @@
cargo-build - Compile the current package
cargo build [OPTIONS]
Compile local packages and all of their dependencies.
@@ -19,10 +19,10 @@By default, when no package selection options are given, the packages selected depend on the current working directory. In the root of a virtual workspace, @@ -52,7 +52,7 @@
When no target selection options are given, cargo build
will build all
binary and library targets of the selected packages. Binaries are skipped if
@@ -116,7 +116,7 @@
When no feature options are given, the default
feature is activated for
every selected package.
Profiles may be used to configure compiler options such as optimization levels @@ -388,7 +388,7 @@
See the reference for @@ -397,7 +397,7 @@
cargo-check - Check the current package
cargo check [OPTIONS]
Check a local package and all of its dependencies for errors. This will @@ -23,10 +23,10 @@
By default, when no package selection options are given, the packages selected depend on the current working directory. In the root of a virtual workspace, @@ -56,7 +56,7 @@
When no target selection options are given, cargo check
will check all
binary and library targets of the selected packages. Binaries are skipped if
@@ -120,7 +120,7 @@
When no feature options are given, the default
feature is activated for
every selected package.
Check artifacts in release mode, with optimizations. See the -PROFILES section for details on how this affects profile selection.
+PROFILES section for details on how this affects profile selection.Profiles may be used to configure compiler options such as optimization levels @@ -383,7 +383,7 @@
See the reference for @@ -392,7 +392,7 @@
cargo-clean - Remove generated artifacts
cargo clean [OPTIONS]
Remove artifacts from the target directory that Cargo has generated in the @@ -23,10 +23,10 @@
When no packages are selected, all packages and all dependencies in the workspace are cleaned.
@@ -43,7 +43,7 @@See the reference for @@ -203,7 +203,7 @@
cargo-doc - Build a package's documentation
cargo doc [OPTIONS]
Build the documentation for the local package and all dependencies. The output @@ -20,10 +20,10 @@
By default, when no package selection options are given, the packages selected depend on the current working directory. In the root of a virtual workspace, @@ -72,7 +72,7 @@
When no target selection options are given, cargo doc
will document all
binary and library targets of the selected package. The binary will be skipped
@@ -102,7 +102,7 @@
When no feature options are given, the default
feature is activated for
every selected package.
Profiles may be used to configure compiler options such as optimization levels @@ -357,7 +357,7 @@
See the reference for @@ -366,7 +366,7 @@
cargo(1), cargo-rustdoc(1), rustdoc(1)
diff --git a/src/doc/src/commands/generated/cargo-fetch.html b/src/doc/man/generated/cargo-fetch.html similarity index 90% rename from src/doc/src/commands/generated/cargo-fetch.html rename to src/doc/man/generated/cargo-fetch.html index 3f9ef393945..845442f55d0 100644 --- a/src/doc/src/commands/generated/cargo-fetch.html +++ b/src/doc/man/generated/cargo-fetch.html @@ -1,9 +1,9 @@ -cargo-fetch - Fetch dependencies of a package from the network
cargo fetch [OPTIONS]
If a Cargo.lock
file is available, this command will ensure that all of the
@@ -29,10 +29,10 @@
See the reference for @@ -175,7 +175,7 @@
cargo(1), cargo-update(1), cargo-generate-lockfile(1)
diff --git a/src/doc/src/commands/generated/cargo-fix.html b/src/doc/man/generated/cargo-fix.html similarity index 93% rename from src/doc/src/commands/generated/cargo-fix.html rename to src/doc/man/generated/cargo-fix.html index 8ed4a5a0cc1..d425badcc96 100644 --- a/src/doc/src/commands/generated/cargo-fix.html +++ b/src/doc/man/generated/cargo-fix.html @@ -1,9 +1,9 @@ -cargo-fix - Automatically fix lint warnings reported by rustc
cargo fix [OPTIONS]
This Cargo subcommand will automatically take rustc’s suggestions from @@ -58,10 +58,10 @@
By default, when no package selection options are given, the packages selected depend on the current working directory. In the root of a virtual workspace, @@ -127,7 +127,7 @@
When no target selection options are given, cargo fix
will fix all targets
(--all-targets
implied). Binaries are skipped if they have
@@ -191,7 +191,7 @@
When no feature options are given, the default
feature is activated for
every selected package.
Fix artifacts in release mode, with optimizations. See the -PROFILES section for details on how this affects profile selection.
+PROFILES section for details on how this affects profile selection.Profiles may be used to configure compiler options such as optimization levels @@ -454,7 +454,7 @@
See the reference for @@ -463,7 +463,7 @@
cargo-generate-lockfile - Generate the lockfile for a package
cargo generate-lockfile [OPTIONS]
This command will create the Cargo.lock
lockfile for the current package or
@@ -25,10 +25,10 @@
See the reference for @@ -123,7 +123,7 @@
cargo-help - Get help for a Cargo command
cargo help [SUBCOMMAND]
Prints a help message for the given command.
@@ -19,7 +19,7 @@cargo-init - Create a new Cargo package in an existing directory
cargo init [OPTIONS] [PATH]
This command will create a new Cargo manifest in the current directory. Give a @@ -95,10 +95,10 @@
See the reference for @@ -209,7 +209,7 @@
cargo-install - Build and install a Rust binary
cargo install [OPTIONS] CRATE…
@@ -14,7 +14,7 @@
This command manages Cargo’s local set of installed binary crates. Only packages @@ -68,10 +68,10 @@
When no feature options are given, the default
feature is activated for
every selected package.
See the reference for @@ -303,7 +303,7 @@
cargo(1), cargo-uninstall(1), cargo-search(1), cargo-publish(1)
diff --git a/src/doc/src/commands/generated/cargo-locate-project.html b/src/doc/man/generated/cargo-locate-project.html similarity index 84% rename from src/doc/src/commands/generated/cargo-locate-project.html rename to src/doc/man/generated/cargo-locate-project.html index 0b13f76cf1e..42dfa876b66 100644 --- a/src/doc/src/commands/generated/cargo-locate-project.html +++ b/src/doc/man/generated/cargo-locate-project.html @@ -1,9 +1,9 @@ -cargo-locate-project - Print a JSON representation of a Cargo.toml file's location
cargo locate-project [OPTIONS]
This command will print a JSON object to stdout with the full path to the @@ -24,10 +24,10 @@
See the reference for @@ -109,7 +109,7 @@
cargo-login - Save an API token from the registry locally
cargo login [OPTIONS] [TOKEN]
This command will save the API token to disk so that commands that require @@ -31,10 +31,10 @@
See the reference for @@ -124,7 +124,7 @@
cargo-metadata - Machine-readable metadata about the current package
cargo metadata [OPTIONS]
Output the resolved dependencies of a package, the concrete used versions @@ -28,7 +28,7 @@
The output has the following format:
@@ -243,10 +243,10 @@When no feature options are given, the default
feature is activated for
every selected package.
See the reference for @@ -384,7 +384,7 @@
cargo-new - Create a new Cargo package
cargo new [OPTIONS] PATH
This command will create a new Cargo package in the given directory. This @@ -88,10 +88,10 @@
See the reference for @@ -202,7 +202,7 @@
cargo-owner - Manage the owners of a crate on the registry
cargo owner [OPTIONS] --add LOGIN [CRATE]
@@ -13,7 +13,7 @@
This command will modify the owners for a crate on the registry. Owners of a @@ -35,10 +35,10 @@
See the reference for @@ -146,7 +146,7 @@
cargo(1), cargo-login(1), cargo-publish(1)
diff --git a/src/doc/src/commands/generated/cargo-package.html b/src/doc/man/generated/cargo-package.html similarity index 91% rename from src/doc/src/commands/generated/cargo-package.html rename to src/doc/man/generated/cargo-package.html index 96b66428bed..934207fbe47 100644 --- a/src/doc/src/commands/generated/cargo-package.html +++ b/src/doc/man/generated/cargo-package.html @@ -1,9 +1,9 @@ -cargo-package - Assemble the local package into a distributable tarball
cargo package [OPTIONS]
This command will create a distributable, compressed .crate
file with the
@@ -66,10 +66,10 @@
See the reference for @@ -258,7 +258,7 @@
cargo-pkgid - Print a fully qualified package specification
cargo pkgid [OPTIONS] [SPEC]
Given a SPEC argument, print out the fully qualified package ID specifier @@ -72,10 +72,10 @@
See the reference for @@ -182,7 +182,7 @@
cargo(1), cargo-generate-lockfile(1), cargo-metadata(1)
diff --git a/src/doc/src/commands/generated/cargo-publish.html b/src/doc/man/generated/cargo-publish.html similarity index 91% rename from src/doc/src/commands/generated/cargo-publish.html rename to src/doc/man/generated/cargo-publish.html index d68f66a6d8e..94e31365775 100644 --- a/src/doc/src/commands/generated/cargo-publish.html +++ b/src/doc/man/generated/cargo-publish.html @@ -1,9 +1,9 @@ -cargo-publish - Upload a package to the registry
cargo package [OPTIONS]
This command will create a distributable, compressed .crate
file with the
@@ -55,10 +55,10 @@
See the reference for @@ -257,7 +257,7 @@
cargo(1), cargo-package(1), cargo-login(1)
diff --git a/src/doc/src/commands/generated/cargo-run.html b/src/doc/man/generated/cargo-run.html similarity index 91% rename from src/doc/src/commands/generated/cargo-run.html rename to src/doc/man/generated/cargo-run.html index 5ea1259b6ac..6149b8d87b1 100644 --- a/src/doc/src/commands/generated/cargo-run.html +++ b/src/doc/man/generated/cargo-run.html @@ -1,9 +1,9 @@ -cargo-run - Run the current package
cargo run [OPTIONS] [-- ARGS]
Build the the main binary of the local package (src/main.rs
) and run it.
By default, the package in the current working directory is selected. The -p
flag can be used to choose a different package in a workspace.
When no target selection options are given, cargo run
will run the binary
target. If there are multiple binary targets, you must pass a target flag to
@@ -64,7 +64,7 @@
When no feature options are given, the default
feature is activated for
every selected package.
Profiles may be used to configure compiler options such as optimization levels @@ -319,7 +319,7 @@
See the reference for @@ -328,7 +328,7 @@
cargo-rustc - Compile the current package, and pass extra options to the compiler
cargo rustc [OPTIONS] [-- ARGS]
The specified target for the current package (or package specified by -p
if
@@ -37,10 +37,10 @@
By default, the package in the current working directory is selected. The -p
flag can be used to choose a different package in a workspace.
When no target selection options are given, cargo rustc
will build all
binary and library targets of the selected package.
When no feature options are given, the default
feature is activated for
every selected package.
Profiles may be used to configure compiler options such as optimization levels @@ -375,7 +375,7 @@
See the reference for @@ -384,7 +384,7 @@
cargo(1), cargo-build(1), rustc(1)
diff --git a/src/doc/src/commands/generated/cargo-rustdoc.html b/src/doc/man/generated/cargo-rustdoc.html similarity index 92% rename from src/doc/src/commands/generated/cargo-rustdoc.html rename to src/doc/man/generated/cargo-rustdoc.html index d9c9937a1ac..fbc44cbd601 100644 --- a/src/doc/src/commands/generated/cargo-rustdoc.html +++ b/src/doc/man/generated/cargo-rustdoc.html @@ -1,9 +1,9 @@ -cargo-rustdoc - Build a package's documentation, using specified custom flags
cargo rustdoc [OPTIONS] [-- ARGS]
The specified target for the current package (or package specified by -p
if
@@ -37,10 +37,10 @@
By default, the package in the current working directory is selected. The -p
flag can be used to choose a different package in a workspace.
When no target selection options are given, cargo rustdoc
will document all
binary and library targets of the selected package. The binary will be skipped
@@ -133,7 +133,7 @@
When no feature options are given, the default
feature is activated for
every selected package.
Profiles may be used to configure compiler options such as optimization levels @@ -388,7 +388,7 @@
See the reference for @@ -397,7 +397,7 @@
cargo(1), cargo-doc(1), rustdoc(1)
diff --git a/src/doc/src/commands/generated/cargo-search.html b/src/doc/man/generated/cargo-search.html similarity index 87% rename from src/doc/src/commands/generated/cargo-search.html rename to src/doc/man/generated/cargo-search.html index 5fb4bbb895c..b21dd04106c 100644 --- a/src/doc/src/commands/generated/cargo-search.html +++ b/src/doc/man/generated/cargo-search.html @@ -1,9 +1,9 @@ -cargo-search - Search packages in crates.io
cargo search [OPTIONS] [QUERY…]
This performs a textual search for crates on https://crates.io. The matching @@ -21,10 +21,10 @@
See the reference for @@ -117,7 +117,7 @@
cargo(1), cargo-install(1), cargo-publish(1)
diff --git a/src/doc/src/commands/generated/cargo-test.html b/src/doc/man/generated/cargo-test.html similarity index 94% rename from src/doc/src/commands/generated/cargo-test.html rename to src/doc/man/generated/cargo-test.html index 418362fbd1f..938be5c3df1 100644 --- a/src/doc/src/commands/generated/cargo-test.html +++ b/src/doc/man/generated/cargo-test.html @@ -1,9 +1,9 @@ -cargo-test - Execute unit and integration tests of a package
cargo test [OPTIONS] [TESTNAME] [-- TEST-OPTIONS]
Compile and execute unit and integration tests.
@@ -45,10 +45,10 @@By default, when no package selection options are given, the packages selected depend on the current working directory. In the root of a virtual workspace, @@ -96,7 +96,7 @@
When no target selection options are given, cargo test
will build the
following targets of the selected packages:
When no feature options are given, the default
feature is activated for
every selected package.
By default the Rust test harness hides output from test execution to keep results readable. Test output can be recovered (e.g. for debugging) by passing @@ -363,7 +363,7 @@
The --jobs
argument affects the building of the test executable but does not
affect how many threads are used when running the tests. The Rust test harness
@@ -431,7 +431,7 @@
Profiles may be used to configure compiler options such as optimization levels @@ -485,7 +485,7 @@
See the reference for @@ -494,7 +494,7 @@
cargo-uninstall - Remove a Rust binary
cargo uninstall [OPTIONS] [SPEC…]
This command removes a package installed with cargo-install(1). The SPEC @@ -47,10 +47,10 @@
See the reference for @@ -140,7 +140,7 @@