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-model.md
+65-33Lines changed: 65 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -284,12 +284,48 @@ Use the [procedural content template](https://github.com/github/docs/blob/main/c
284
284
-[Inviting people to manage your enterprise account](https://docs.github.com/en/admin/user-management/managing-users-in-your-enterprise/inviting-people-to-manage-your-enterprise)
285
285
-[Setting up continuous integration using workflow templates](https://docs.github.com/en/actions/guides/setting-up-continuous-integration-using-workflow-templates)
286
286
287
+
### Troubleshooting
288
+
289
+
Troubleshooting content includes built-in errors we expect users to encounter, common problems reported to support, and situations people might encounter while completing tasks. Use troubleshooting sections in guides or procedural articles to keep solutions close to procedures. Work with support and product managers to surface common errors and include them in the documentation.
290
+
291
+
#### Known issues
292
+
Known issues are a subset of troubleshooting content specifically designed to respond to bugs, UX/UI issues, and other product quirks that generate a high volume of support tickets. Where troubleshooting content can describe errors that people *might* encounter, known issues explain problems that people *will* encounter.
293
+
294
+
Like all troubleshooting content, known issues can be a section in an article or a standalone article. If a known issue applies to a specific article, document it in that article. If a known issue applies to a specific set of articles or conceptual grouping of features, or if a product or feature has multiple known issues that should be grouped together, create a dedicated "Known issues with NAME" article.
295
+
296
+
Known issue content for a product or feature does not need to be comprehensive. Unlike other troubleshooting content, some known issues may not have workarounds. The goal of documenting an issue without a workaround is to help people confirm that the issue exists and save them time searching for a solution that doesn't exist yet after GitHub has already determined there isn't a workaround.
297
+
298
+
Product and feature owners (PMs and EMs) should help plan and review known issue content.
299
+
300
+
Use known issues to explain the following situations.
301
+
302
+
- Product behavior that regularly contradicts user expectations, but is not yet prioritized for remediation.
303
+
- Behavior that regularly prevents the use of the product or feature for a common purpose.
304
+
- Rare or severe bugs that GitHub has not yet prioritized fixing, and that are not explained in the product or by existing content on GitHub Docs.
305
+
306
+
#### How to write troubleshooting content
307
+
- Use any GitHub Docs content type to create troubleshooting sections.
308
+
- Whenever possible, keep troubleshooting content contained within procedural content or guides.
309
+
- You can create a troubleshooting article when it makes sense to keep it separate, such as when there’s a large amount of troubleshooting content on a particular topic.
310
+
- You can create a troubleshooting map topic if a product or feature has many troubleshooting articles, for example "[Troubleshooting SSH](https://docs.github.com/en/authentication/troubleshooting-ssh)."
- "[Using GitHub Enterprise Server with a load balancer](https://docs.github.com/enterprise-server@latest/admin/configuration/configuring-network-settings/using-github-enterprise-server-with-a-load-balancer#troubleshooting-connectivity-through-a-load-balancer)"
320
+
-[Known issues](https://docs.github.com/enterprise-server@3.7/admin/release-notes#3.7.8-known-issues) in the GitHub Enterprise Server release notes
321
+
- "[Error: We're doing an SSH key audit](https://docs.github.com/en/authentication/troubleshooting-ssh/error-were-doing-an-ssh-key-audit)"
322
+
287
323
### Combining multiple content types
288
324
289
325
Often, it's helpful to group information in context to help people complete a complex task, understand a set of related tasks, or illustrate an entire workflow. Use longer articles combining content types to ensure people find contextual content in the right place. Longer articles also help eliminate duplication of content and prepare content to scale as more options are added to the product. People most often need longer articles while actively using the product, and they may need to consult the article at different points on their journey.
290
326
291
327
#### How to combine multiple content types in an article
292
-
- Use conceptual, procedural, referential, or troubleshooting content in a longer article, and do not use quickstart or tutorials
328
+
- Use conceptual, procedural, referential, troubleshooting, or known issue content in a longer article, and do not use quickstart or tutorials
293
329
- Use sections of different content types in the article as needed, and follow title guidelines for the content type
294
330
- Most often, these articles will contain at least one procedural section plus at least one additional conceptual, referential, or procedural section
295
331
- Use the content ordering guidelines to organize headers within the article.
@@ -393,7 +429,7 @@ Language and framework guides:
393
429
-[Building and testing Python](https://docs.github.com/en/actions/guides/building-and-testing-python)
394
430
-[Publishing Java packages with Maven](https://docs.github.com/en/actions/guides/publishing-java-packages-with-maven)
395
431
396
-
### Guides
432
+
### Guides
397
433
398
434
We collectively refer to tutorials and quickstarts as "guides" across the site. On `/guides` landing pages, we include tutorials, quickstarts, and certain procedural articles in the list of guides for a doc set.
399
435
@@ -413,29 +449,13 @@ Within an article, there is a standard order of content sections. Every article
413
449
8. Referential content
414
450
9. Prerequisites
415
451
10. Procedural content
416
-
11. Troubleshooting
452
+
11. Troubleshooting content
417
453
12. Further reading (conditional)
418
454
419
455
Here's what some of these elements look like rendered in an article.
420
456
421
457

422
458
423
-
### Intro
424
-
425
-
The top of every page has an intro that provides context and sets expectations, allowing readers to quickly decide if the page is relevant to them. Intros also are displayed in search results to provide contextual information to help readers choose a result.
426
-
427
-
#### How to write an intro
428
-
- Article intros are one to two sentences long.
429
-
- Map topic and category intros are one sentence long.
430
-
- API reference intros are one sentence long.
431
-
- The intro for an API page should define the feature so that a user knows whether the feature meets their needs without reading the entire article.
432
-
- Intros contain a high-level summary of the page’s content, developing the idea presented in a title with more detail.
433
-
- Use approachable synonyms of words in the page’s title to help readers understand the article’s purpose differently. Avoid repeating words from the title when possible.
434
-
- Intros are relatively evergreen and high-level, so they can scale with future changes to the content on the page without needing to be frequently updated.
435
-
- For searchability, include keywords on the page's subject in the intro.
436
-
- When a term in the intro has an acronym we’ll use elsewhere in the article, indicate the acronym.
437
-
- Intros generally don't contain permissions for any tasks contained within the article.
438
-
439
459
### Product callout
440
460
441
461
Use the product callout when a feature is available in specific products only and that availability cannot be conveyed by versioning alone. For example, if a feature is available for GHEC, GHES, and GHAE, you can version content about the feature for GHEC, GHES, and GHAE only. If a feature is available for Pro, Team, GHEC, GHES, and GHAE (but not Free), use a product callout to convey that availability.
@@ -455,6 +475,22 @@ Check the source files and `gated-features` to see how source content is written
455
475
-[Managing a branch protection rule](https://docs.github.com/en/github/administering-a-repository/managing-a-branch-protection-rule)
456
476
-[Managing team synchronization for an organization](https://docs.github.com/en/organizations/managing-saml-single-sign-on-for-your-organization/managing-team-synchronization-for-your-organization)
457
477
478
+
### Intro
479
+
480
+
The top of every page has an intro that provides context and sets expectations, allowing readers to quickly decide if the page is relevant to them. Intros also are displayed in search results to provide contextual information to help readers choose a result.
481
+
482
+
#### How to write an intro
483
+
- Article intros are one to two sentences long.
484
+
- Map topic and category intros are one sentence long.
485
+
- API reference intros are one sentence long.
486
+
- The intro for an API page should define the feature so that a user knows whether the feature meets their needs without reading the entire article.
487
+
- Intros contain a high-level summary of the page’s content, developing the idea presented in a title with more detail.
488
+
- Use approachable synonyms of words in the page’s title to help readers understand the article’s purpose differently. Avoid repeating words from the title when possible.
489
+
- Intros are relatively evergreen and high-level, so they can scale with future changes to the content on the page without needing to be frequently updated.
490
+
- For searchability, include keywords on the page's subject in the intro.
491
+
- When a term in the intro has an acronym we’ll use elsewhere in the article, indicate the acronym.
492
+
- Intros generally don't contain permissions for any tasks contained within the article.
493
+
458
494
### Permissions statements
459
495
460
496
Every procedure includes a permissions statement explaining the role required to take the action described in the procedure, which helps people understand whether they'll be able to complete the task.
@@ -482,6 +518,12 @@ Some articles have content that varies depending on what tool someone uses to co
482
518
### Table of contents
483
519
Tables of contents are automatically generated. For more information see "[Autogenerated mini-TOCs](https://github.com/github/docs/tree/main/content#autogenerated-mini-tocs)."
484
520
521
+
### Conceptual content
522
+
Conceptual content helps people understand or learn about a topic. See "[Conceptual](#conceptual)" above.
523
+
524
+
### Referential content
525
+
Referential content provides structured information related to actively using a product or feature. See "[Referential](#referential)" above.
526
+
485
527
### Prerequisites
486
528
487
529
Prerequisites are information that people need to know before proceeding with a procedure, so that they can prepare everything they need before starting the task.
@@ -501,22 +543,12 @@ Prerequisites are information that people need to know before proceeding with a
501
543
-[Installing GitHub Enterprise Server on AWS](https://docs.github.com/en/enterprise-server@latest/admin/installation/installing-github-enterprise-server-on-aws)
Troubleshooting content includes built-in errors we expect users to encounter, or common problems reported to support. Use troubleshooting sections in guides or procedural articles to keep solutions close to procedures. Work with support ombuds and product managers to surface common errors and include them in the documentation.
546
+
### Procedural content
547
+
Procedural content helps people complete tasks. See "[Procedural](#procedural)" above.
507
548
508
-
#### How to write troubleshooting content
509
-
- Use any GitHub Docs content type to create troubleshooting sections.
510
-
- Whenever possible, keep troubleshooting content contained within procedural content or guides.
511
-
- You can create a troubleshooting article when it makes sense to keep it separate, such as when there’s a large amount of troubleshooting content on a particular topic.
512
-
513
-
#### Title guidelines for troubleshooting content
514
-
- Troubleshooting [noun]
515
-
- Error: [error name]
549
+
### Troubleshooting content
516
550
517
-
#### Examples of troubleshooting content
518
-
- Troubleshooting SSH key generation
519
-
- Placeholder: Upcoming Pages error article
551
+
Troubleshooting content helps people avoid or work through errors. See "[Troubleshooting](#troubleshooting)" above.
0 commit comments