Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
ce487a85
Commit
ce487a85
authored
Nov 23, 2012
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1658 from jpmens/docs_2
module_formatter: re-instate code
parents
3981c729
068ef0e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
hacking/module_formatter.py
+1
-2
library/file
+1
-1
No files found.
hacking/module_formatter.py
View file @
ce487a85
...
...
@@ -66,8 +66,7 @@ def html_ify(text):
t
=
_BOLD
.
sub
(
"<b>"
+
r"\1"
+
"</b>"
,
t
)
t
=
_MODULE
.
sub
(
"<span class='module'>"
+
r"\1"
+
"</span>"
,
t
)
t
=
_URL
.
sub
(
"<a href='"
+
r"\1"
+
"'>"
+
r"\1"
+
"</a>"
,
t
)
#t = _CONST.sub("<code>" + r"\1" + "</code>", t)
t
=
_CONST
.
sub
(
r"\1"
,
t
)
t
=
_CONST
.
sub
(
"<code>"
+
r"\1"
+
"</code>"
,
t
)
return
t
def
json_ify
(
text
):
...
...
library/file
View file @
ce487a85
...
...
@@ -35,7 +35,7 @@ short_description: Sets attributes of files
description:
- Sets attributes of files, symlinks, and directories, or removes
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:
path:
description:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment