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: contributing/content-style.md
+35-19
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,7 @@
3
3
Thank you for your interest in contributing to the Platform.sh docs!
4
4
It's nice to share the goal of having clear and up-to-date documentation.
5
5
6
-
This content style guide should help make sure the Platform.sh docs are clear and consistent.
7
-
It's intended for use by all contributors,
8
-
from Platform.sh engineers to people from the community.
6
+
This content style guide should help make sure the Platform.sh docs are clear and consistent. It's intended for use by all contributors,from Platform.sh engineers to people from the community.
9
7
10
8
<!-- vale Platform.condescending = NO -->
11
9
## Table of contents
@@ -39,12 +37,11 @@ from Platform.sh engineers to people from the community.
39
37
40
38
## About the audience
41
39
42
-
The goal of Platform.sh's documentation is to help tech-savvy users self-educate
43
-
on how to use and get the most out of Platform.sh.
44
-
Readers are generally familiar with common web development tools and practices
45
-
(such as Git, branching, web servers, and databases),
46
-
but not necessarily with server administration.
47
-
Make sure to provide enough context, potentially by linking to existing resources elsewhere.
40
+
The goal of Platform.sh and Upsun's documentation is to help tech-savvy users self-educate on how to use and get the most out of Platform.sh.
41
+
42
+
Readers are generally familiar with common web development tools and practices, but it's best not to assume an in-depth knowledge of processes related to Upsun or Platform.sh. Remember, our audience may be comprised of more than developers, so try to explain concepts as simply as possible.
43
+
44
+
Make sure to provide enough context, potentially by linking to existing resources elsewhere. Try to include as many examples as you sit fit to demonstrate the process you're taking the user through.
48
45
49
46
## Style defaults
50
47
@@ -56,17 +53,15 @@ For a quick summary of that guide, see the [Google style guide highlights](https
56
53
Platform.sh docs should be in standard U.S. spelling,
57
54
with reference to the [Merriam-Webster dictionary](https://www.merriam-webster.com/).
58
55
59
-
The name of the company is always written as "Platform.sh", not only "Platform".
60
-
It shouldn't be used as a link.
56
+
The name of the company is always written as "Platform.sh" or "Upsun", not only "Platform".
61
57
62
58
## Address the reader directly
63
59
64
-
In keeping with the Platform.sh value that to "tell it like it is",
60
+
In keeping with the Platform.sh value that is to "tell it like it is",
65
61
focus texts on readers and talk to them directly.
66
62
67
63
This means using the second person ("you") and telling them what to do.
68
-
Unless you have a very good reason (such as an action that has to be done by Platform.sh manually),
69
-
avoid the first person ("we", "us", and "our").
64
+
Unless you have a very good reason (such as an action that has to be done by Platform.sh manually), avoid the first person ("we", "us", and "our").
@@ -78,7 +73,14 @@ Part of this directness is also avoiding using `please`.
78
73
Only use `please` if you're asking for something that benefits Platform.sh
79
74
or inconveniences the reader.
80
75
81
-
So it's OK in phrases like `If you get an error, please open a support ticket.`
76
+
So it's okay in phrases like `If you get an error, please open a support ticket.`
77
+
78
+
{{< note theme="info" title="Using first person in articles" >}}
79
+
It should be noted that the first person plural ("we", "us", and "our") can be used in articles on DevCenter. The style of this content is more conversational in tone, and suits the use of the collective first person when guiding the user through a process.
80
+
For example, the sentences below are acceptable for articles:
81
+
- 'Our content will be loaded directly in the assistant on OpenAI.'
82
+
- 'Now that our Chainlit application is deployed and available, it would be great to add some form of authentication to make sure only you and your folks can access it.'
83
+
{{< /note >}}
82
84
83
85
## Aim for neutral text
84
86
@@ -91,6 +93,12 @@ Use | Avoid
91
93
Be careful not to break anything | Of course, you naturally have to avoid breaking anything
92
94
Making this small change can have large effects | Surprisingly, making this tiny change can have huge effects
93
95
96
+
{{< note theme="info" title="Using neutral text in articles" >}}
97
+
98
+
It should be noted that the technical articles on DevCenter are allowed less neutrality than the documentation, as this content is naturally more conversational in tone.
99
+
100
+
{{< /note >}}
101
+
94
102
## Use inclusive language
95
103
96
104
In keeping with the Platform.sh value of being diverse,
@@ -119,7 +127,6 @@ To make your content as accessible as possible, the purpose of a link should be
119
127
Avoid links with text like `click here`
120
128
and instead try to include meaning inside the link itself.
121
129
122
-
Remember to use the [proper format for links](./markup-format.md#links)
123
130
124
131
The supporting documentation for the Web Content Accessibility Guidelines
125
132
explains [why link purpose in the text alone is good](https://www.w3.org/WAI/WCAG21/Understanding/link-purpose-link-only).
Formatting our links this way allows for our content to easily be converted to markdown. It also allows our content to be easily interpreted by any large language models that might be used. This is a way of ensuring our content remains AI-friendly.
147
+
131
148
### Link at the end of sentences in sentence case
132
149
133
-
Readers often scan through text looking for links and other important information.
134
-
Having links in the middle of sentences can make them harder to parse.
150
+
Readers often scan through text looking for links and other important information. Having links in the middle of sentences can make them harder to parse.
135
151
136
152
Put links at the end of sentences and keep them in sentence case.
137
153
@@ -205,7 +221,7 @@ By avoiding overly wordy phrases, you help make it clearer what needs to be done
205
221
206
222
For example, try to avoid using sentences starting with `There is/are` or `It is` too often.
207
223
While there are times when this makes sense, often you can rephrase the sentence to be more direct.
208
-
Such phrases work well for rhythm and emphasis, but that is usually less important in technical writing.
224
+
Such phrases work well for rhythm and emphasis, but that is usually less important in technical writing for both documentation and technical blogs or articles.
209
225
210
226
Similar arguments apply to passive sentences.
211
227
Sometimes, they work well, such as when the subject would be `the system`
0 commit comments