Skip to content

Commit eaf055f

Browse files
committed
added h3-section headers to description
1 parent 086a3ff commit eaf055f

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

src/doc/man/cargo-install.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ specified by setting the `CARGO_TARGET_DIR` environment variable to a relative
5555
path. In particular, this can be useful for caching build artifacts on
5656
continuous integration systems.
5757

58+
### Dealing with the Lockfile
59+
5860
By default, the `Cargo.lock` file that is included with the package will be
5961
ignored. This means that Cargo will recompute which versions of dependencies
6062
to use, possibly using newer versions that have been released since the
@@ -69,6 +71,8 @@ not start publishing `Cargo.lock` files until version 1.37, which means
6971
packages published with prior versions will not have a `Cargo.lock` file
7072
available.
7173

74+
### Configuration Discovery
75+
7276
This command operates on system or user level, not project level.
7377
This means that the local [configuration discovery] is ignored.
7478
Instead, the configuration discovery begins at `$CARGO_HOME/config.toml`.

src/doc/man/generated_txt/cargo-install.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ DESCRIPTION
6565
variable to a relative path. In particular, this can be useful for
6666
caching build artifacts on continuous integration systems.
6767

68+
Dealing with the Lockfile
6869
By default, the Cargo.lock file that is included with the package will
6970
be ignored. This means that Cargo will recompute which versions of
7071
dependencies to use, possibly using newer versions that have been
@@ -79,6 +80,7 @@ DESCRIPTION
7980
Cargo.lock files until version 1.37, which means packages published with
8081
prior versions will not have a Cargo.lock file available.
8182

83+
Configuration Discovery
8284
This command operates on system or user level, not project level. This
8385
means that the local configuration discovery
8486
<https://doc.rust-lang.org/cargo/reference/config.html#hierarchical-structure>

src/doc/src/commands/cargo-install.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ specified by setting the `CARGO_TARGET_DIR` environment variable to a relative
6262
path. In particular, this can be useful for caching build artifacts on
6363
continuous integration systems.
6464

65+
### Dealing with the Lockfile
66+
6567
By default, the `Cargo.lock` file that is included with the package will be
6668
ignored. This means that Cargo will recompute which versions of dependencies
6769
to use, possibly using newer versions that have been released since the
@@ -76,6 +78,8 @@ not start publishing `Cargo.lock` files until version 1.37, which means
7678
packages published with prior versions will not have a `Cargo.lock` file
7779
available.
7880

81+
### Configuration Discovery
82+
7983
This command operates on system or user level, not project level.
8084
This means that the local [configuration discovery] is ignored.
8185
Instead, the configuration discovery begins at `$CARGO_HOME/config.toml`.

src/etc/man/cargo-install.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ in a temporary target directory. To avoid this, the target directory can be
8787
specified by setting the \fBCARGO_TARGET_DIR\fR environment variable to a relative
8888
path. In particular, this can be useful for caching build artifacts on
8989
continuous integration systems.
90-
.sp
90+
.SS "Dealing with the Lockfile"
9191
By default, the \fBCargo.lock\fR file that is included with the package will be
9292
ignored. This means that Cargo will recompute which versions of dependencies
9393
to use, possibly using newer versions that have been released since the
@@ -101,7 +101,7 @@ will not receive any fixes or updates to any dependency. Note that Cargo did
101101
not start publishing \fBCargo.lock\fR files until version 1.37, which means
102102
packages published with prior versions will not have a \fBCargo.lock\fR file
103103
available.
104-
.sp
104+
.SS "Configuration Discovery"
105105
This command operates on system or user level, not project level.
106106
This means that the local \fIconfiguration discovery\fR <https://doc.rust\-lang.org/cargo/reference/config.html#hierarchical\-structure> is ignored.
107107
Instead, the configuration discovery begins at \fB$CARGO_HOME/config.toml\fR\&.

0 commit comments

Comments
 (0)