mirror of
https://git.rtems.org/rtems-docs/
synced 2025-10-19 05:20:08 +08:00
README: Add coding of spaces and no trailing white space.
This commit is contained in:
16
README.txt
16
README.txt
@@ -258,11 +258,13 @@ existing documentation for an example and if unsure ask.
|
|||||||
1. All text is to be formatted to wrap at 80 columns. Do not manually line feed
|
1. All text is to be formatted to wrap at 80 columns. Do not manually line feed
|
||||||
before 80.
|
before 80.
|
||||||
|
|
||||||
2. Pasted text such as console output can exceed 80 columns however it is
|
2. Do not insert tab characters, use spaces, no trailing white space.
|
||||||
|
|
||||||
|
3. Pasted text such as console output can exceed 80 columns however it is
|
||||||
preferred even this text is wrapped at 80 columns. Long lines in code block
|
preferred even this text is wrapped at 80 columns. Long lines in code block
|
||||||
text causes issues with the PDF output.
|
text causes issues with the PDF output.
|
||||||
|
|
||||||
3. The headings use the following:
|
4. The headings use the following:
|
||||||
|
|
||||||
Heading Description
|
Heading Description
|
||||||
1 ###### Part
|
1 ###### Part
|
||||||
@@ -272,7 +274,7 @@ existing documentation for an example and if unsure ask.
|
|||||||
5 ^^^^^^ Sub-sub-sub-section
|
5 ^^^^^^ Sub-sub-sub-section
|
||||||
6 ~~~~~~ Sub-sub-sub-sub-section
|
6 ~~~~~~ Sub-sub-sub-sub-section
|
||||||
|
|
||||||
3. For literal output, such as shell commands and code use '::' at the trailing
|
5. For literal output, such as shell commands and code use '::' at the trailing
|
||||||
edge of the previous paragraph. If the '.. code-block::' with
|
edge of the previous paragraph. If the '.. code-block::' with
|
||||||
'c' for C code and 'shell' for shell code and terminal output. If you need
|
'c' for C code and 'shell' for shell code and terminal output. If you need
|
||||||
line number use:
|
line number use:
|
||||||
@@ -280,7 +282,7 @@ existing documentation for an example and if unsure ask.
|
|||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
:linenos:
|
:linenos:
|
||||||
|
|
||||||
4. Use the directives for 'note', 'warning', and 'topic'. Do not add 'TIP',
|
6. Use the directives for 'note', 'warning', and 'topic'. Do not add 'TIP',
|
||||||
'Important' or 'Warning' to the text. Let the mark-up language handle
|
'Important' or 'Warning' to the text. Let the mark-up language handle
|
||||||
this. The supported directives are:
|
this. The supported directives are:
|
||||||
|
|
||||||
@@ -290,7 +292,7 @@ existing documentation for an example and if unsure ask.
|
|||||||
|
|
||||||
These directives reference specific CSS sytle support.
|
These directives reference specific CSS sytle support.
|
||||||
|
|
||||||
5. Images are placed in the 'images' directory. Do not place images in the
|
7. Images are placed in the 'images' directory. Do not place images in the
|
||||||
source directories. Using a common 'images' tree of images promotes sharing
|
source directories. Using a common 'images' tree of images promotes sharing
|
||||||
of images. To add an image use:
|
of images. To add an image use:
|
||||||
|
|
||||||
@@ -299,7 +301,7 @@ existing documentation for an example and if unsure ask.
|
|||||||
:align: center
|
:align: center
|
||||||
:alt: This is the alt text for some output types.
|
:alt: This is the alt text for some output types.
|
||||||
|
|
||||||
6. Callouts can be implement manually using a liternal block which can using
|
8. Callouts can be implement manually using a liternal block which can using
|
||||||
'::' or a code block and topic block is used for the items. For
|
'::' or a code block and topic block is used for the items. For
|
||||||
example:
|
example:
|
||||||
|
|
||||||
@@ -328,7 +330,7 @@ existing documentation for an example and if unsure ask.
|
|||||||
works and makes the number as visible as possible. Use hanging indents if an
|
works and makes the number as visible as possible. Use hanging indents if an
|
||||||
items extends over a single line.
|
items extends over a single line.
|
||||||
|
|
||||||
7. Use the RTEMS domain references for URLs and mailing lists. For example to
|
9. Use the RTEMS domain references for URLs and mailing lists. For example to
|
||||||
insert the RTEMS developers list use:
|
insert the RTEMS developers list use:
|
||||||
|
|
||||||
:r:list:`devel`
|
:r:list:`devel`
|
||||||
|
Reference in New Issue
Block a user