@@ -401,11 +401,28 @@ You can also use `rustdoc` directly to check small fixes. For example,
401401` rustdoc src/doc/reference.md ` will render reference to ` doc/reference.html ` .
402402The CSS might be messed up, but you can verify that the HTML is right.
403403
404- Additionally, contributions to the [ rustc-dev-guide] [ rdg ] are always welcome.
405- Contributions can be made directly at [ the rust-lang/rustc-dev-guide
406- repo] [ rdgrepo ] . The issue tracker in that repo is also a great way to find
407- things that need doing. There are issues for beginners and advanced compiler
408- devs alike!
404+ ### Contributing to rustc-dev-guide
405+
406+ Contributions to the [ rustc-dev-guide] [ rdg ] are always welcome, and can be made directly at
407+ [ the rust-lang/rustc-dev-guide repo] [ rdgrepo ] .
408+ The issue tracker in that repo is also a great way to find things that need doing.
409+ There are issues for beginners and advanced compiler devs alike!
410+
411+ Just a few things to keep in mind:
412+
413+ - Please limit line length to 100 characters. This is enforced by CI, and you can run the checks
414+ locally with ` ci/check_line_lengths.sh ` .
415+ - When contributing text to the guide, please contextualize the information with some time period
416+ and/or a reason so that the reader knows how much to trust or mistrust the information.
417+ Aim to provide a reasonable amount of context, possibly including but not limited to:
418+ - A reason for why the data may be out of date other than "change", as change is a constant across
419+ the project.
420+ - A date the comment was added, e.g. instead of writing _ "Currently, ..."_ consider writing
421+ _ "As of January 2021, ..."_ .
422+ Try to format the date as ` <MONTH> <YEAR> ` to ease search.
423+ - A link to a relevant WG, tracking issue, ` rustc ` rustdoc page, or similar, that may provide
424+ further explanation for the change process or a way to verify that the information is not
425+ outdated.
409426
410427[ rdg ] : https://rustc-dev-guide.rust-lang.org/
411428[ rdgrepo ] : https://github.com/rust-lang/rustc-dev-guide
0 commit comments