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
Copy file name to clipboardExpand all lines: pages/contribute.mdx
+2-7Lines changed: 2 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,7 @@
1
1
---
2
-
meta:
3
-
title: Scaleway Write for the Community program
4
-
description: This page explains how to participate in the Scaleway Write for the Community program.
5
-
content:
6
-
h1: Write for the Community program
7
-
paragraph: This page explains how to participate in the Scaleway Write for the Community program.
2
+
title: Scaleway Write for the Community program
3
+
description: This page explains how to participate in the Scaleway Write for the Community program.
8
4
tags: write-for-the-community community contribute git voucher
9
-
cta: false
10
5
---
11
6
12
7
Join the Scaleway **Write for the Community** program, an initiative for making our [open-source Documentation](https://github.com/scaleway/docs-content/) a truly collaborative knowledge center.
Copy file name to clipboardExpand all lines: pages/guidelines.mdx
+31-39Lines changed: 31 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,6 @@
1
1
---
2
-
meta:
3
-
title: Scaleway Documentation Guidelines
4
-
description: Discover comprehensive guidelines on writing and formatting for our documentation site. Ensure consistency and clarity with our style guide, covering grammar, terminology, and best practices.
5
-
content:
6
-
h1: Scaleway Documentation Guidelines
7
-
paragraph: Discover comprehensive guidelines on writing and formatting for our documentation site. Ensure consistency and clarity with our style guide, covering grammar, terminology, and best practices.
2
+
title: Scaleway Documentation Guidelines
3
+
description: Discover comprehensive guidelines on writing and formatting for our documentation site. Ensure consistency and clarity with our style guide, covering grammar, terminology, and best practices.
8
4
tags: style-guide guidelines wording grammar
9
5
dates:
10
6
validation: 2025-02-11
@@ -99,14 +95,14 @@ If you are creating a new page, it may be easiest to duplicate an existing page
99
95
100
96
More information about the different sections of each page can be found by following the links in the table above.
101
97
102
-
## Page content
98
+
## Page content
103
99
104
100
### Headers
105
101
106
102
- There can be only one H1 on each page (the page title, defined in the [metadata](#metadata))
107
103
- Use H2s (e.g. `## My subtitle`) to divide the page into subsections, and H3s (e.g. `### My sub-subtitle`) to divide the subsections (if appropriate). You can go up to 5 hierarchy levels (H5). In the right "Jump-to" menu, only H2s and H3s are visible and clickable.
108
104
- Headers also serve as anchors. Link to a header anchor as follows `[text to display](#header-with-spaces-replaced-by-dashes)`
109
-
- No headers should be orphaned. If you begin with H2, go down in sequence. The next step should either be another H2 or a level lower (in this case, H3).
105
+
- No headers should be orphaned. If you begin with H2, go down in sequence. The next step should either be another H2 or a level lower (in this case, H3).
110
106
- All headers should be in [sentence case](https://en.wikipedia.org/wiki/Letter_case#Sentence_case). Product names should nonetheless be capitalized as appropriate.
111
107
112
108
### Numbered steps
@@ -158,28 +154,28 @@ Markdown syntax:
158
154
````
159
155
```python
160
156
my_list=[1,6,9,4]
161
-
my_list[1]=3
157
+
my_list[1]=3
162
158
print(my_list)
163
159
```
164
-
````
160
+
````
165
161
166
162
Renders as:
167
163
168
164
```python
169
165
my_list=[1,6,9,4]
170
-
my_list[1]=3
166
+
my_list[1]=3
171
167
print(my_list)
172
168
```
173
169
174
170
### Inline code
175
171
176
-
Use inline code to reference information in your text, such as environment variables, placeholder values, and single-line short code snippets.
172
+
Use inline code to reference information in your text, such as environment variables, placeholder values, and single-line short code snippets.
177
173
178
174
Markdown syntax (backticks):
179
175
180
176
````
181
-
Do not forget to replace `<YOUR INSTANCE NAME>` with the name of your Instance.
182
-
````
177
+
Do not forget to replace `<YOUR INSTANCE NAME>` with the name of your Instance.
178
+
````
183
179
184
180
Renders as:
185
181
@@ -225,14 +221,14 @@ When linking to an external page, copy and paste the full link exactly as it app
225
221
226
222
When writing a "fake" or example link that does not lead to a real page, put it in inline code by using backticks: ```` `www/example-link.com` ````.
227
223
228
-
When including a "fake" or example link in a code box with an `<a href>` tag or similar, include the keyword `URLexample` in the URL:
224
+
When including a "fake" or example link in a code box with an `<a href>` tag or similar, include the keyword `URLexample` in the URL:
229
225
230
226
````
231
227
```php
232
228
<?php
233
229
more code here
234
230
?>
235
-
231
+
236
232
To go to the next page <A HREF="URLexample/nextpage.php">click here</A>
237
233
```
238
234
````
@@ -244,7 +240,7 @@ Use a console icon when referring in the documentation to the equivalent icon in
| Note | Extra information that may not be relevant in all cases or to all users |````<Message type="note"> </Message>````| <Messagetype="note"> This is a note </Message> |
252
+
| Note | Extra information that may not be relevant in all cases or to all users |````<Message type="note"> </Message>````| <Messagetype="note"> This is a note </Message> |
257
253
| Tip | Information about a different way to accomplish something, or how to go further |````<Message type="tip"> </Message>````| <Messagetype="tip"> This is a tip </Message> |
258
254
| Important | Critical warnings and information that the user must read to avoid unwanted consequences or mistakes |````<Message type="important"> </Message>````| <Messagetype="important"> This is important </Message> |
259
255
@@ -273,15 +269,15 @@ Tabs syntax:
273
269
274
270
```
275
271
<Tabs id="example-tabs">
276
-
272
+
277
273
<TabsTab label="Tab one">
278
274
This is the content of tab one
279
275
</TabsTab>
280
-
276
+
281
277
<TabsTab label="Tab two">
282
278
This is the content of tab two
283
279
</TabsTab>
284
-
280
+
285
281
<TabsTab label="Tab three">
286
282
This is the content of tab three
287
283
</TabsTab>
@@ -309,7 +305,7 @@ Read more about the [tab component](/components/docs/#tabs).
309
305
310
306
### Pronouns
311
307
312
-
When addressing the user, say "you". When referring to Scaleway, say "Scaleway", "it", or "we".
308
+
When addressing the user, say "you". When referring to Scaleway, say "Scaleway", "it", or "we".
@@ -377,13 +373,13 @@ Use the [Oxford comma](https://en.wikipedia.org/wiki/Serial_comma) (also known a
377
373
### Dates and times
378
374
379
375
- For times, use the 24-hour format. If it is necessary to use the 12-hour format, use `a.m.` or `p.m.` appropriately
380
-
- For dates, use `day/month/year` or `DD/MM/YY`.
376
+
- For dates, use `day/month/year` or `DD/MM/YY`.
381
377
- You can also write out the date, e.g. ` 14 January 2022`. Avoid ordinals, e.g. `14th January`. For a full list of allowed date formats, see the [UX writing guide](https://ultraviolet.scaleway.com/6dd9b5c45/p/45cfa5-date-and-time/b/210929).
382
378
383
379
### Bits and bytes
384
380
385
381
- Add a space between the bits/bytes abbreviation and the number, e.g. `100 MB`, `1 Gbps`
@@ -452,12 +448,8 @@ Diagrams and schemas should be produced in accordance with Scaleway visual desig
452
448
453
449
```
454
450
---
455
-
meta:
456
-
title: How to create an Instance
457
-
description: Learn how to create a cloud instance with Scaleway in simple steps. Follow this guide to efficiently set up and manage your compute resources.
458
-
content:
459
-
h1: How to create an Instance
460
-
paragraph: Learn how to create a cloud instance with Scaleway in simple steps. Follow this guide to efficiently set up and manage your compute resources.
451
+
title: How to create an Instance
452
+
description: Learn how to create a cloud instance with Scaleway in simple steps. Follow this guide to efficiently set up and manage your compute resources.
461
453
tags: instance create
462
454
dates:
463
455
validation: 2024-06-10
@@ -467,16 +459,16 @@ categories:
467
459
---
468
460
```
469
461
470
-
-**meta: title** and **meta: description**: The title and description of the page, used by external search engines when indexing and displaying results. The description should be between 120 and 160 characters, and SEO-optimized, using clear, engaging language suitable for a wide audience.
471
-
-**content: h1**: The main title that displays on the documentation page.
472
-
-**content: paragraph**: The description that displays on some documentation pages (e.g. when the page is linked to from a [product card](https://www.scaleway.com/en/docs/components/docs-editor/#productcard).
473
-
-**tags**: The tags used by internal and external search engines to help users find the page
462
+
-**title**: The title of the page, used by external search engines and the main title that displays on the documentation page.
463
+
-**description**: The description, used by external search engines. It should be between 120 and 160 characters, and SEO-optimized, using clear, engaging language suitable for a wide audience. Also displays on some
464
+
documentation pages (e.g. when the page is linked to from a [product card](https://www.scaleway.com/en/docs/components/docs-editor/#productcard)).
465
+
-**tags**: The tags used by internal and external search engines to help users find the page
474
466
-**dates: posted**: The date the page was originally created, in the format `yyyy-mm-dd`. This displays on the generated page.
475
-
-**dates: validation**: The date the page was last validated, in the format `yyyy-mm-dd`. This displays on the generated page, and is used by the Documentation team when identifying documentation pages that need reviewing.
467
+
-**dates: validation**: The date the page was last validated, in the format `yyyy-mm-dd`. This displays on the generated page, and is used by the Documentation team when identifying documentation pages that need reviewing.
476
468
-**categories**: The overall product [category](https://github.com/scaleway/docs-content/blob/main/menu/filters.json) that the documentation fits into, used by the site's internal Algolia search.
477
469
478
470
<Messagetype="note">
479
-
The `meta: title` and `content: title` should be the same, other than in exceptional cases. Titles should be in [sentence case](https://en.wikipedia.org/wiki/Letter_case#Sentence_case). Different page types should have different types of titles:
471
+
Titles should be in [sentence case](https://en.wikipedia.org/wiki/Letter_case#Sentence_case). Different page types should have different types of titles:
480
472
-**How to**: How to + infinitve verb + 5 words maximum
481
473
-**Tutorial**: Start with a gerund, e.g. "Deploying WordPress with LEMP on Ubuntu Focal Fossa"
482
474
-**Troubleshooting**: The title should describe the problem, e.g. "Auto-configuration is not working"
0 commit comments