-
Notifications
You must be signed in to change notification settings - Fork 6
/
alpaca-device.mustache
40 lines (36 loc) · 1.12 KB
/
alpaca-device.mustache
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{{! Alpaca Docstring Template - Derived from Google by Bob Denny 10-Apr-2022}}
{{! We always want raises and remarks sections, no Yields}}
{{summaryPlaceholder}}
{{extendedSummaryPlaceholder}}
{{#parametersExist}}
Args:
{{#args}}
{{var}} ({{typePlaceholder}}): {{descriptionPlaceholder}}
{{/args}}
{{#kwargs}}
{{var}} ({{typePlaceholder}}, optional): {{descriptionPlaceholder}}. Defaults to {{&default}}.
{{/kwargs}}
{{/parametersExist}}
{{#returnsExist}}
Returns:
{{#returns}}
{{typePlaceholder}}: {{descriptionPlaceholder}}
{{/returns}}
{{/returnsExist}}
Raises:
{{#exceptionsExist}}
{{#exceptions}}
{{type}}: {{descriptionPlaceholder}}
{{/exceptions}}
{{/exceptionsExist}}
{{descriptionPlaceholder}}Exception: {{descriptionPlaceholder}}
{{descriptionPlaceholder}}Exception: {{descriptionPlaceholder}}
DriverException: An error occurred that is not described by
one of the more specific ASCOM exceptions.
The device did not *successfully* complete the request.
{{#placeholder}}
Notes:
* {{descriptionPlaceholder}}
* {{descriptionPlaceholder}}
* {{descriptionPlaceholder}}
{{/placeholder}}