6.4.8.1   General Documentation

Figure 6.48: Editing the general documentation of a procedure.

Basics

Procedures can be grouped by Group and Chapters (chapter and section).

Group

This is the top level element of the content hierarchy in the procedure online help. It can be used to apply a vendor-specific tag to a group of procedures. The external procedures supplied with HALCON use the group tag “MVTec Standard Procedures”. If no group is specified, the corresponding procedures are listed under “No group assigned (local procedures)” or “No group assigned (external procedures)” depending on their type.

Chapters

The text fields next to Chapters can be used to specify chapter and section, so that your procedures can be grouped thematically in the list at the bottom of the menus Menu Procedures and Menu Operators.

Note that the logical structure created by the chapter and section information does not correspond to the automatically created directory structure. At least for the external procedures, you can create the corresponding directory structure afterwards, outside of HDevelop. The recognition of the procedures in HDevelop is still ensured, as all subdirectories of the external procedure paths are scanned as well. When editing already existing external procedures, the changed procedures are stored in the paths they were originally found in.

Short Description

Enter a short description. Usually, this should be a single sentence that describes the purpose of the procedure. It appears in the overview sections of the online help of the procedures. Additionally, the short description is displayed in HDevelop's status bar when the procedure is selected from the menu.

Detailed Description

Enter a detailed description of the procedure using Markdown syntax. For more information about the syntax, see section “Using Markdown to Format Text”.

Example

This section of the documentation is intended for code examples. This could be a working program or some code fragments that illustrate the usage of the procedure.

Suggestions

The first field on this tab card allows you to associate keywords with the procedure. Enter a comma-separated list of keywords into this field. The tab card Index of the online help may be used as a reference for keyword suggestions.

Furthermore, you can specify suggested successors, predecessors, and alternatives to the current procedure. Enter comma-separated lists of operator or procedure names into the fields. See Menu Suggestions for the meaning of these fields.

Advanced

The text boxes in this tab card are for advanced usage only. We recommend searching the online reference manual for usage examples.

Attention

Notes about special observances when using the procedure. Supports Markdown syntax (see section “Using Markdown to Format Text”).

Complexity

Notes about intricate details about the procedure usage. Supports Markdown syntax (see section “Using Markdown to Format Text”).

Warning
Usually used to indicate obsolete or deprecated procedures that are kept for backward compatibility. The warning text should indicate the recommended alternative.

A warning icon is displayed in the left column of the program window. Additionally, if the procedure is selected, the warning text will be displayed in the operator window as a reminder.

Supports Markdown syntax (see section “Using Markdown to Format Text”).

References

Bibliographic references with recommended reading about certain aspects of the procedure. Supports Markdown syntax (see section “Using Markdown to Format Text”).

Using Markdown to Format Text

Text entered in the following fields is formatted as Github Flavored Markdown:
Detailed Description, Attention, Complexity, Warning, References

For detailed information about this syntax, see https://github.github.com/gfm. See the list below for examples of common formatting cases.

Inline text formats
Emphasize text with *italic* (italic) or make it strong with **bold** (bold). ~strikethrough~ is also possible.

Code blocks
Insert a code block (i.e., a block of monospaced text) by preceding the lines with four blanks. Alternatively, use three backticks:
```
my code
```

Lists
Insert an ordered list like this:
1. first item
2. second item

Insert an unordered list like this:

* an item
* another item
  * a nested item

Tables
Insert a simple table like this:
| header col 1 | header col 2 |
|--------------|--------------|
| col 1 row 2  | col 2 row 2  |
| col 1 row 3  | col 2 row 3  |

Links
Insert a link like this: [link text](URL)
E.g., [This is a link](https://example.org). If you omit the protocol, the URL is interpreted relative to the file containing the procedure.

Images
Insert an image like this: ![alt text](path/to/image)
Images are referenced relative to the file containing the procedure. They cannot be stored within the procedure file.

References
To reference other procedures, operators, or table of contents, use the autolink syntax:

In the Detailed Description field, syntax-highlighting shows whether a reference can be resolved.

The list of available procedures is loaded during the start of the Procedure Interface dialog and only updated when the dialog is started again. Therefore, features like syntax highlighting will not work for other procedures if they are created or changed while the dialog is open.