Skip to content

Commit 0f806ab

Browse files
committed
Adjust the article location to below the test directory.
1 parent dd7f6d8 commit 0f806ab

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/doc/src/SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
* [Cargo Guide](guide/index.md)
1010
* [Why Cargo Exists](guide/why-cargo-exists.md)
1111
* [Creating a New Package](guide/creating-a-new-project.md)
12-
* [Creating a Workspace](guide/creating-a-new-workspace.md)
1312
* [Working on an Existing Package](guide/working-on-an-existing-project.md)
1413
* [Dependencies](guide/dependencies.md)
1514
* [Package Layout](guide/project-layout.md)
1615
* [Cargo.toml vs Cargo.lock](guide/cargo-toml-vs-cargo-lock.md)
1716
* [Tests](guide/tests.md)
17+
* [Creating a Workspace](guide/creating-a-new-workspace.md)
1818
* [Continuous Integration](guide/continuous-integration.md)
1919
* [Cargo Home](guide/cargo-home.md)
2020
* [Build Cache](guide/build-cache.md)

src/doc/src/guide/creating-a-new-workspace.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Currently `Cargo` does not provide automatic creation of workspaces using the co
2222
If using a virtual workspace, then the version of [resolver] needs to be specified in the table (if not, the default version of resolver for a workspace is `1`, even if the default resolver version for workspace members is `2`), for example:
2323

2424
```toml
25+
# [new_workspace]/Cargo.toml
2526
[workspace]
2627
resolver = "2"
2728
```
@@ -69,5 +70,6 @@ $ tree .
6970

7071
Up to this point, we have achieved creating a workspace that contains multiple `crate` members through a step-by-step process.
7172

73+
7274
[def-workspace]: ../appendix/glossary.md#workspace '"workspace" (glossary entry)'
7375
[resolver]: ../reference/resolver.md

0 commit comments

Comments
 (0)