Merge pull request #1658 from jpmens/docs_2

module_formatter: re-instate code
pull/1660/merge
Michael DeHaan 12 years ago
commit ce487a8544

@ -66,8 +66,7 @@ def html_ify(text):
t = _BOLD.sub("<b>" + r"\1" + "</b>", t) t = _BOLD.sub("<b>" + r"\1" + "</b>", t)
t = _MODULE.sub("<span class='module'>" + r"\1" + "</span>", t) t = _MODULE.sub("<span class='module'>" + r"\1" + "</span>", t)
t = _URL.sub("<a href='" + r"\1" + "'>" + r"\1" + "</a>", t) t = _URL.sub("<a href='" + r"\1" + "'>" + r"\1" + "</a>", t)
#t = _CONST.sub("<code>" + r"\1" + "</code>", t) t = _CONST.sub("<code>" + r"\1" + "</code>", t)
t = _CONST.sub(r"\1", t)
return t return t
def json_ify(text): def json_ify(text):

@ -35,7 +35,7 @@ short_description: Sets attributes of files
description: description:
- Sets attributes of files, symlinks, and directories, or removes - Sets attributes of files, symlinks, and directories, or removes
files/symlinks/directories. Many other modules support the same options as files/symlinks/directories. Many other modules support the same options as
the file module - including M(copy), M(template), and M(assemble). the M(file) module - including M(copy), M(template), and M(assemble).
options: options:
path: path:
description: description:

Loading…
Cancel
Save