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
6d2f003c
Commit
6d2f003c
authored
Oct 10, 2012
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update formatter to not include orange blocks all over docsite page
parent
7e542d78
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
docs/man/man1/ansible.1
+2
-2
docsite/searchindex.js
+0
-0
hacking/module_formatter.py
+8
-3
No files found.
docs/man/man1/ansible.1
View file @
6d2f003c
...
...
@@ -2,12 +2,12 @@
.\" Title: ansible
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
.\" Date: 10/
08
/2012
.\" Date: 10/
10
/2012
.\" Manual: System administration commands
.\" Source: Ansible 0.8
.\" Language: English
.\"
.TH "ANSIBLE" "1" "10/
08
/2012" "Ansible 0\&.8" "System administration commands"
.TH "ANSIBLE" "1" "10/
10
/2012" "Ansible 0\&.8" "System administration commands"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
docsite/searchindex.js
View file @
6d2f003c
This diff is collapsed.
Click to expand it.
hacking/module_formatter.py
View file @
6d2f003c
...
...
@@ -90,7 +90,8 @@ 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("<code>" + r"\1" + "</code>", t)
t
=
_CONST
.
sub
(
r"\1"
,
t
)
return
t
def
json_ify
(
text
):
...
...
@@ -123,9 +124,13 @@ def rst_ify(text):
t
=
_ITALIC
.
sub
(
r'*'
+
r"\1"
+
r"*"
,
text
)
t
=
_BOLD
.
sub
(
r'**'
+
r"\1"
+
r"**"
,
t
)
t
=
_MODULE
.
sub
(
r'``'
+
r"\1"
+
r"``"
,
t
)
# mdehaan is disabling because he finds all the Sphinx orange distracting
#t = _MODULE.sub(r'``' + r"\1" + r"``", t)
t
=
_MODULE
.
sub
(
r"\1"
,
t
)
t
=
_URL
.
sub
(
r"\1"
,
t
)
t
=
_CONST
.
sub
(
r'``'
+
r"\1"
+
r"``"
,
t
)
# ditto
# t = _CONST.sub(r'``' + r"\1" + r"``", t)
t
=
_CONST
.
sub
(
r"\1"
,
t
)
return
t
...
...
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