Skip to content

Commit 68fc61a

Browse files
author
Eric Sethna
authored
Merge pull request #793 from mattermost/style-guide-updates
Style Guide Updates
2 parents f006779 + 32784b4 commit 68fc61a

File tree

6 files changed

+136
-341
lines changed

6 files changed

+136
-341
lines changed

source/guides/core.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ Development Process
1414
/process/release-process*
1515
/process/accepting-pull-request*
1616
/process/community-systems*
17-
/process/documentation-guidelines*
1817
/process/marketing-guidelines*
1918

2019
Documentation Style Guide
@@ -23,7 +22,7 @@ Documentation Style Guide
2322
.. toctree::
2423
:maxdepth: 3
2524

26-
/process/mattermost-doc-style.rst
25+
/process/documentation-guidelines*
2726

2827
Joining the Team
2928
-------------------------

source/process/documentation-guidelines.md

Lines changed: 0 additions & 208 deletions
This file was deleted.
File renamed without changes.

source/process/sg_document-structure.rst

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Document structure
1+
Document Structure
22
==================
33

44
Structure and organization are an important part of a document's ease of use and its understandability. Information should be organized and presented in a logical order, with similar subjects grouped together in the same section.
@@ -7,23 +7,26 @@ In most cases, a document has a title, an introductory paragraph, and one or mor
77

88
Try to keep only one topic in a page. Shorter topics are easier to reuse in other documents, are easier to write and edit, and are easier to translate.
99

10-
Document title
10+
Document Title
1111
--------------
1212

1313
Use a title that accurately reflects the content of the document. People scan the table of contents looking for answers; it's often faster than using the built-in search engine.
1414

1515
Use title case for document titles. For more information and an example of capitalization, see :ref:`capital`.
1616

17-
Introductory paragraph
17+
Introductory Paragraph
1818
----------------------
1919

20-
Each page should have an introduction that acts as a short description of the document. The short description should be a single paragraph of no more than 3 sentences. Keep in mind that the description is displayed in the search results along with the page title. People read the description to help them decide if the document is the one that they want.
20+
Each page should have an introduction that acts as a short description of the document. The short description should be a single paragraph of no more than three sentences. Keep in mind that the description is displayed in the search results along with the page title. People read the description to help them decide if the document is the one that they want.
2121

22-
Document sections
22+
Table of Contents
23+
------------------
24+
25+
If the document contains more than four sections or subsections, add a table of contents to help the user navigate the document, see :ref:`table-of-contents`.
26+
27+
Document Sections
2328
-----------------
2429

2530
To make pages easier for people to quickly scan for the content that they're looking for, break your document up into logical sections. Each section should have a title, and the title should relate to the content of the section.
2631

2732
A section title is not required if you have only one section.
28-
29-
Avoid subsections. If you find that you need subsections, quite often the document is too long, or too complex, and needs to be broken up into several pages.

0 commit comments

Comments
 (0)