From 16c0de0fc4e8b315c7b654e9dfc0366f2eaf288a Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Oct 08 2012 19:12:20 +0000 Subject: Update `Scripts/Bash/help.docbook' file. --- diff --git a/Documentation/Models/Docbook/Tcar-ug/Scripts/Bash/help.docbook b/Documentation/Models/Docbook/Tcar-ug/Scripts/Bash/help.docbook index 0b003be..c89a199 100644 --- a/Documentation/Models/Docbook/Tcar-ug/Scripts/Bash/help.docbook +++ b/Documentation/Models/Docbook/Tcar-ug/Scripts/Bash/help.docbook @@ -14,7 +14,7 @@ - help + centos-art help --help --quiet @@ -41,20 +41,118 @@ The help functionality exists to create - and maintain documentation structures inside &TCAR;. The - documentation structure and documentation format implemented - by this functionality is described in and - , respectively. + and maintain documentation manuals inside &TCAR;. The + documentation structure and format implemented by + help functionality are described in + + and , respectively. - Documentation Entry Format + Documentation Entries - ... + The documentation entry identifies the specific file you want + to work with inside a documentation manual. The help + functionality recognizes documentation entries in the + following two formats: + + + + Path style + + + This format uses paths to represent the documentation entries + you want to work with. This format assumes you are using the + first path component as chapter and the rest of the path as + section identifier both inside tcar-fs + documentation manual as parent documentation structure. The + field related to the part sectioning structure in the + documentation entry (the second field) is assumed empty, as + well. For example, if you want to document the directory + trunk/Scripts/Bash/Functions/Help, + then you can do it with the following command: + + + + centos-art help --edit trunk/Scripts/Bash/Functions/Help + + + + + + Colon style + + + This format uses colons to represent the documentation entries + you want to work with. In this format, the whole documentation + entry is divided in fields using colon as separator character. + Documentation entries written this way use each field to + specify manual, part, chapter and section identifiers (in this + order). The section identifier can use a path style or hyphen + style to separate + components. For example, if you want to document the directory + trunk/Scripts/Bash/Functions/Help, + then you can do it with any of the following commands: + + + + centos-art help --edit tcar-fs::trunk:Scripts/Bash/Functions/Help + centos-art help --edit tcar-fs::trunk:scripts-bash-functions-help + + + + The documentation manual name specified in the first field of + a colon style documentation entry, must match the name the + name of the directory where the documentation manual is stored + in. By default documentation manuals are written in + trunk/Documentation/Models/Texinfo or + trunk/Documentation/Models/Docbook directories, based on + whether they are written in Texinfo or Docbook documentation + format. + + + The match relation between the manual name you provide in the + documentation entry and the related directory name inside + &TCAR; is case insensitive. The same is true for all other + documentation entry fields. + + + + + + + + From these documentation entry formats, the colon style + provides more flexibility than path style does. You can use + documentation entries written in colon style to create and + maintain different documentation manuals, including the + tcar-fs documentation manual. This is something + you cannot do with documentation entries written in path style + because they confine all documentation actions to + tcar-fs documentation manual. + + Supported Documentation Formats + + + The help functionality provides support + for the following documentation formats: + + + + + + Texinfo (See ) + + + + + + New Document Structures @@ -157,15 +255,6 @@ trunk/Identity/Models/Themes - - - This last format assummes you are using the - trunk chapter inside tcar-fs - documentation manual as parent documentation structure. The - field related to the part sectioning structure in the - documentatin entry (second field) is assumed empty, as well. - -