Skip to content

Commit e273da0

Browse files
authored
Merge pull request #2690 from rust-lang/tshepang/sembr
sembr readme
2 parents 2a02cd5 + 299fea2 commit e273da0

File tree

1 file changed

+22
-24
lines changed

1 file changed

+22
-24
lines changed

README.md

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,40 @@
11
[![CI](https://github.com/rust-lang/rustc-dev-guide/actions/workflows/ci.yml/badge.svg)](https://github.com/rust-lang/rustc-dev-guide/actions/workflows/ci.yml)
22

3-
4-
This is a collaborative effort to build a guide that explains how rustc
5-
works. The aim of the guide is to help new contributors get oriented
6-
to rustc, as well as to help more experienced folks in figuring out
3+
This is a collaborative effort to build a guide that explains how rustc works.
4+
The aim of the guide is to help new contributors get oriented to rustc,
5+
as well as to help more experienced folks in figuring out
76
some new part of the compiler that they haven't worked on before.
87

9-
[You can read the latest version of the guide here.](https://rustc-dev-guide.rust-lang.org/)
8+
You may also find the [rustc API docs] useful.
109

11-
You may also find the rustdocs [for the compiler itself][rustdocs] useful.
1210
Note that these are not intended as a guide; it's recommended that you search
1311
for the docs you're looking for instead of reading them top to bottom.
1412

15-
[rustdocs]: https://doc.rust-lang.org/nightly/nightly-rustc
16-
1713
For documentation on developing the standard library, see
1814
[`std-dev-guide`](https://std-dev-guide.rust-lang.org/).
1915

2016
### Contributing to the guide
2117

2218
The guide is useful today, but it has a lot of work still to go.
2319

24-
If you'd like to help improve the guide, we'd love to have you! You can find
25-
plenty of issues on the [issue
26-
tracker](https://github.com/rust-lang/rustc-dev-guide/issues). Just post a
27-
comment on the issue you would like to work on to make sure that we don't
28-
accidentally duplicate work. If you think something is missing, please open an
29-
issue about it!
20+
If you'd like to help improve the guide, we'd love to have you!
21+
You can find plenty of issues on the [issue
22+
tracker](https://github.com/rust-lang/rustc-dev-guide/issues).
23+
Just post a comment on the issue you would like to work on to make sure that we don't
24+
accidentally duplicate work.
25+
If you think something is missing, please open an issue about it!
3026

3127
**In general, if you don't know how the compiler works, that is not a
3228
problem!** In that case, what we will do is to schedule a bit of time
3329
for you to talk with someone who **does** know the code, or who wants
34-
to pair with you and figure it out. Then you can work on writing up
35-
what you learned.
30+
to pair with you and figure it out.
31+
Then you can work on writing up what you learned.
3632

3733
In general, when writing about a particular part of the compiler's code, we
38-
recommend that you link to the relevant parts of the [rustc
39-
rustdocs][rustdocs].
34+
recommend that you link to the relevant parts of the [rustc API docs].
4035

41-
The guide has a much lower bar for what it takes for a PR to be merged. Check out
42-
the forge documentation for [our policy][forge_policy].
36+
The guide has a much lower bar for what it takes for a PR to be merged.
37+
Check out the forge documentation for [our policy][forge_policy].
4338

4439
[forge_policy]: https://forge.rust-lang.org/rustc-dev-guide/index.html#review-policy
4540

@@ -61,9 +56,9 @@ The build files are found in the `book/html` directory.
6156

6257
### Link Validations
6358

64-
We use `mdbook-linkcheck2` to validate URLs included in our documentation. Link
65-
checking is **not** run by default locally, though it is in CI. To enable it
66-
locally, set the environment variable `ENABLE_LINKCHECK=1` like in the
59+
We use `mdbook-linkcheck2` to validate URLs included in our documentation.
60+
Link checking is **not** run by default locally, though it is in CI.
61+
To enable it locally, set the environment variable `ENABLE_LINKCHECK=1` like in the
6762
following example.
6863

6964
```
@@ -72,6 +67,9 @@ ENABLE_LINKCHECK=1 mdbook serve
7267

7368
## Synchronizing josh subtree with rustc
7469

75-
This repository is linked to `rust-lang/rust` as a [josh](https://josh-project.github.io/josh/intro.html) subtree. You can use the [rustc-josh-sync](https://github.com/rust-lang/josh-sync) tool to perform synchronization.
70+
This repository is linked to `rust-lang/rust` as a [josh](https://josh-project.github.io/josh/intro.html) subtree.
71+
You can use the [rustc-josh-sync](https://github.com/rust-lang/josh-sync) tool to perform synchronization.
7672

7773
You can find a guide on how to perform the synchronization [here](./src/external-repos.md#synchronizing-a-josh-subtree).
74+
75+
[rustc API docs]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle

0 commit comments

Comments
 (0)