You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and execute the following command in the root of the repository:
50
50
51
51
```
52
-
> mdbook build --open
52
+
mdbook build --open
53
53
```
54
54
55
55
The build files are found in the `book/html` directory.
@@ -61,8 +61,8 @@ checking is **not** run by default locally, though it is in CI. To enable it
61
61
locally, set the environment variable `ENABLE_LINKCHECK=1` like in the
62
62
following example.
63
63
64
-
```console
65
-
$ ENABLE_LINKCHECK=1 mdbook serve
64
+
```
65
+
ENABLE_LINKCHECK=1 mdbook serve
66
66
```
67
67
68
68
### Table of Contents
@@ -86,14 +86,14 @@ Older versions of `josh-proxy` may not round trip commits losslessly so it is im
86
86
1) Checkout a new branch that will be used to create a PR into `rust-lang/rustc-dev-guide`
87
87
2) Run the pull command
88
88
```
89
-
$ cargo run --manifest-path josh-sync/Cargo.toml rustc-pull
89
+
cargo run --manifest-path josh-sync/Cargo.toml rustc-pull
90
90
```
91
91
3) Push the branch to your fork and create a PR into `rustc-dev-guide`
92
92
93
93
### Push changes from this repository into `rust-lang/rust`
94
94
1) Run the push command to create a branch named `<branch-name>` in a `rustc` fork under the `<gh-username>` account
95
95
```
96
-
$ cargo run --manifest-path josh-sync/Cargo.toml rustc-push <branch-name> <gh-username>
96
+
cargo run --manifest-path josh-sync/Cargo.toml rustc-push <branch-name> <gh-username>
97
97
```
98
98
2) Create a PR from `<branch-name>` into `rust-lang/rust`
99
99
@@ -106,5 +106,5 @@ You may observe "Nothing to pull" even if you *know* rustc-pull has something to
106
106
To minimize the likelihood of this happening, you may wish to keep a separate *minimal* git config that *only* has `[user]` entries from global git config, then repoint system git to use the minimal git config instead. E.g.
107
107
108
108
```
109
-
$ GIT_CONFIG_GLOBAL=/path/to/minimal/gitconfig GIT_CONFIG_SYSTEM='' cargo +stable run --manifest-path josh-sync/Cargo.toml -- rustc-pull
109
+
GIT_CONFIG_GLOBAL=/path/to/minimal/gitconfig GIT_CONFIG_SYSTEM='' cargo +stable run --manifest-path josh-sync/Cargo.toml -- rustc-pull
0 commit comments