mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Use reStructuredText syntax in example docstring
This commit is contained in:
parent
71e68a26f4
commit
8b743099c4
@ -176,8 +176,9 @@ Documenting Salt modules is easy! Just add a python docstring to the function.
|
||||
'''
|
||||
A function to make some spam with eggs!
|
||||
|
||||
CLI Example:
|
||||
salt '*' test.spam eggs
|
||||
CLI Example::
|
||||
|
||||
salt '*' test.spam eggs
|
||||
'''
|
||||
return eggs
|
||||
|
||||
@ -234,7 +235,8 @@ function, test.ping:
|
||||
Just used to make sure the minion is up and responding
|
||||
Return True
|
||||
|
||||
CLI Example:
|
||||
salt '*' test.ping
|
||||
CLI Example::
|
||||
|
||||
salt '*' test.ping
|
||||
'''
|
||||
return True
|
||||
|
Loading…
Reference in New Issue
Block a user