Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added history for type() and template for new functions
- Loading branch information
1 parent
f4eb40d
commit 948898a
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
layout: default | ||
title: FUNCTION NAME | ||
published: false | ||
tags: [reference, functions, more, tags] | ||
--- | ||
|
||
[%CFEngine_function_prototype(arguments, here)%] | ||
|
||
**Description:** Brief description of function. | ||
|
||
**Return type:** `data|int|real|string|(i|r|s)list|class|(i|r)range|` | ||
|
||
**Arguments:** | ||
|
||
* `arguments`: `type`, in the range `.*` | ||
* `here`: `tyep`, in the range: `true,false,yes,no,on,off` | ||
|
||
|
||
Write a detailed description here. | ||
|
||
**Example:** | ||
|
||
The whole thing: | ||
|
||
[%CFEngine_include_snippet(type.cf)%] | ||
|
||
Or, selected sections: | ||
|
||
[%CFEngine_include_snippet(type.cf, #\+begin_src cfengine3, .*end_src)%] | ||
|
||
Output: | ||
|
||
[%CFEngine_include_snippet(type.cf, #\+begin_src\s+example_output\s*, .*end_src)%] | ||
|
||
**History:** | ||
|
||
* Introduced in VERSION | ||
* Behavior foo added in VERSION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters