source: branches/lib/HELP_SOURCE/help.readme

Last change on this file was 19575, checked in by westram, 3 weeks ago
  • reintegrates 'help' into 'trunk'
    • preformatted text gets checked for width now (to enforce it fits into the arb help window).
    • fixed help following these checks, using the following steps:
      • ignore problems in foreign documentation.
      • increase default help window width.
      • introduce control comments to
        • accept oversized preformatted sections.
        • enforce preformatted style for whole sections.
        • simply define single-line preformatted sections
          Used intensive for definition of internal script languages.
    • fixed several non-related problems found in documentation.
    • minor layout changes for HTML version of arb help (more compacted; highlight anchored/all sections).
    • refactor system interface (GUI version) and use it from help module.
  • adds: log:branches/help@19532:19574
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.6 KB
Line 
1
2ARB documentation
3-----------------
4
5    Sources for ARB helpfiles are located in 'HELP_SOURCE/source'.
6
7    They contain plain text which is converted into .xml and
8    stored in 'HELP_SOURCE/Xml'.
9
10    These .xml files are converted into
11    - Hypertext (stored in 'lib/help_html') and
12    - Arb helpfiles (stored in 'lib/help')
13
14    The difference between the original helpfiles
15    from 'HELP_SOURCE/source' and the resulting ones
16    in 'lib/help' is the formatting.
17
18
19    The ARB software displays the helpfiles located in 'lib/help'.
20    When you press the 'BROWSE' button, it displays those in 'lib/help_html'.
21
22    The latter is also made available at http://help.arb-home.de/arb.html
23    (updates from trunk every 24h)
24
25
26    When editing helpfiles from inside the ARB software, it depends
27    on DEBUG mode, what happens:
28    - with DEBUG mode enable this edits the files in 'HELP_SOURCE/source'
29      (if they are available)
30    - in userland it edits the files in 'HELP_SOURCE/source'. After editing the
31      changes are packed into an archive (ready to be sent to arb developers).
32
33
34ARB help "syntax"
35-----------------
36
37    # comment
38    UP                  <target>                   # may occur multiple times
39    SUB                 <target>                   # may occur multiple times
40
41    TITLE               concise title
42
43                        verbose subtitle
44
45    OCCURRENCE          ARB_PROGRAM/Menu/Submenu/Buttonname
46
47    # historical section types (each allowed to occur once):
48    DESCRIPTION         <running text>
49    NOTES               <running text>
50    EXAMPLES            <running text>
51    WARNINGS            <running text>
52    BUGS                <running text>
53
54    # custom section type (each 'name' allowed to occur once):
55    SECTION             name
56
57                        <running text>
58
59
60  <running text>:
61  - should contain empty lines (to separate paragraphs, ...).
62    - uses indentation (first line defines for whole paragraph;
63      same indentation results in same structure-level).
64  - lists can be defined by
65    - using digits as first character (numbered-lists).
66    - using '-' or '*' as first character (bullet-lists).
67    - has to be first char of a paragraph (or consecutive line).
68    - may be of same indentation-level as superior structure-level.
69    - no empty lines needed between consecutive list-entries.
70    - may be nested.
71  - paragraphs containing multiple consecutive space characters
72    - will not reflow, i.e. they will be handled as "preformatted" text or
73      ASCII art.
74    - they will be displayed in monospaced font in html version.
75    - their width is limited (currently defaults to 91 chars; depends on
76      help window default width). See also 'PREFORMATTED' below.
77  - may contain links to other documents/resources using 'LINK{<target>}'
78
79
80  <target>:
81  - another name.hlp file (=internal link)
82  - name.ps and name.pdf file (=files delivered with arb)
83  - URLs starting with http[s]://, ftp:// or file:// (=external link)
84  - email addresses: name@domain.tl
85  - ticket number: #NUM (=link to arb bug tracker)
86
87  Control comments:
88  - '# PREFORMATTED WIDTH <num>' forces the next block to be handled as "preformatted"
89                                 and increases the allowed width to <num>.
90                                 <num> may be DEFAULT to force a preformatted text block
91                                 with default width.
92  - '# PREFORMATTED RESET'       resets the allowed width to the default (see above).
93  - '# PREFORMATTED 1'           defines the next block to be a preformatted text block
94                                 with default width. Does auto-RESET after block.
Note: See TracBrowser for help on using the repository browser.