Skip to content

Commit f846333

Browse files
committed
Respect the limit of 80 characters per line
1 parent 6b099f1 commit f846333

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

‎CONTRIBUTING.md‎

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,15 @@ CoC](https://github.com/rust-lang/rust/wiki/Note-development-policy#conduct).
138138
## Code editing
139139

140140
### Adding new pages
141+
141142
1. Create new page content including the layout, title and copy.
142143
2. Update ```/locale/en/site.json``` to provide page link attributes.
143144
3. Update the relevant ```/layout``` to add a link to the new page.
144145

145146
#### Create the page content
146-
Create a new markdown file in ```/local/en```. As specified in the [README.md](./README.md#layout), initial development happens in English.
147+
148+
Create a new markdown file in ```/local/en```. As specified in the
149+
[README.md](./README.md#layout), initial development happens in English.
147150

148151
At the top of the markdown file, set a page the title and layout.
149152

@@ -157,17 +160,21 @@ layout: contribute.hbs
157160
```
158161

159162
#### Update locale site.json to add link attributes
160-
Open ```local/en/site.json``` and find the appropriate page structure. Add a new object defining the link attributes.
163+
164+
Open ```local/en/site.json``` and find the appropriate page structure.
165+
Add a new object defining the link attributes.
161166

162167
```
163168
"event": {
164-
"link": "get-involved/events",
165-
"text": "Events"
169+
"link": "get-involved/events",
170+
"text": "Events"
166171
}
167172
```
168173

169174
#### Update the layout to add a link
170-
Using the example layout, open ```/layouts/contribute.hbs``` and add your new link to the markup. It's essential to update the handlebars paths to site.json.
175+
176+
Using the example layout, open ```/layouts/contribute.hbs``` and add your new
177+
link to the markup. It's essential to update the handlebars paths to site.json.
171178

172179
```
173180
{{site.locale}}/{{site.getinvolved.events.link}}

0 commit comments

Comments
 (0)