From f0d6a0cbb8c4627f7b9f697508615c90c30f6e05 Mon Sep 17 00:00:00 2001 From: rebortg Date: Mon, 7 Dec 2020 20:47:32 +0100 Subject: contributing: improve documentation --- docs/contributing/documentation.rst | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) (limited to 'docs/contributing') diff --git a/docs/contributing/documentation.rst b/docs/contributing/documentation.rst index f15595bf..1766d6ca 100644 --- a/docs/contributing/documentation.rst +++ b/docs/contributing/documentation.rst @@ -261,7 +261,7 @@ Page content The documentation have 3 different types of pages, the same kind of pages must have the same structure to achieve a recognition factor. -For all rst files must follow the same TOC Level syntax and have to start with +All RST files must follow the same TOC Level syntax and have to start with .. code-block:: @@ -272,8 +272,9 @@ For all rst files must follow the same TOC Level syntax and have to start with Configuration mode pages ^^^^^^^^^^^^^^^^^^^^^^^^ -A configuration mode article covers a specific level of a command. -The exact level depends on the command. +A configuration mode folder and article covers a specific level of a command. +The exact level depends on the command. This should provide stability for URLs +used in the forum or blogpost. For example: @@ -281,7 +282,7 @@ For example: * ``set interfaces ethernet`` is written in ``interfaces/ethernet.rst`` The article starts with a short intruducing about the command or the technologie. -Include some helpfull links or background informations. +Please include some helpfull links or background informations. After this a optional section follows. Some commands have requirements like the compatible hardware (e.g. Wifi) or some commands you have to set before. For @@ -290,28 +291,20 @@ example it is recommended to set a route-map before configure bgp. In the configuration part of the page all possible confiuration options should be documented. Use ``.. cfgcmd::`` like described above. -Related Operation command must be documented in the next part of the articel. +Related Operation command must be documented in the next part of the article. Use ``::opcmd..`` for these commands. If there some troubleshooting guides releated to the commands. Explain it in the next optional part. -Examples: - - * ssh - - - Operation mode pages ^^^^^^^^^^^^^^^^^^^^ Operation mode commands, which didn't fit in a related configuraton mode command must documented in this part of the documentation. -.. todo:: - - create structure - +General concepts for troubleshooting belong here as well as detailed process +descriptions. Anything else ^^^^^^^^^^^^^ -- cgit v1.2.3