mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
51fa87c446
Closes #12419. The command used to search the docs for state examples is below. This generates a file in Vim's quickfix format that can be loaded with the -q flag. find . -type f \( -name '*.rst' -o -name '*.py' \) -print0 | xargs -0 -P10 -n1 awk ' BEGIN { RS=""; FS="\n" } { linenr = linect; linect += (NF + 1) } /^\s+[a-zA-Z0-9'\''_-]+:\n\s+[a-zA-Z0-9'\''_-]+:\n\s+- / { print FILENAME "|" linenr + 2 "|", $1 } ' > ./salt-states.quickfix |
||
---|---|---|
.. | ||
auth/all | ||
cli | ||
clients | ||
clouds/all | ||
configuration | ||
file_server | ||
internals | ||
modules | ||
netapi/all | ||
output/all | ||
pillar | ||
renderers | ||
returners | ||
roster/all | ||
runners | ||
states | ||
tops | ||
wheel/all | ||
clientacl.rst | ||
index.rst | ||
peer.rst | ||
python-api.rst |