Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/blender.1.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/blender.1.py b/doc/blender.1.py
index c77e5ccbc3d..576b58758cd 100644
--- a/doc/blender.1.py
+++ b/doc/blender.1.py
@@ -31,12 +31,12 @@ def man_format(data):
data = data.replace("-", "\\-")
data = data.replace("\t", " ")
# data = data.replace("$", "\\fI")
-
+
data_ls = []
for w in data.split():
if w.startswith("$"):
w = "\\fI" + w[1:] + "\\fR"
-
+
data_ls.append(w)
data = data[:len(data) - len(data.lstrip())] + " ".join(data_ls)
@@ -90,16 +90,16 @@ lines = [line.rstrip() for line in blender_help.split("\n")]
while lines:
l = lines.pop(0)
if l.startswith("Environment Variables:"):
- fw('.SH "ENVIRONMENT VARIABLES"\n')
+ fw('.SH "ENVIRONMENT VARIABLES"\n')
elif l.endswith(":"): # one line
- fw('.SS "%s"\n\n' % l)
+ fw('.SS "%s"\n\n' % l)
elif l.startswith("-") or l.startswith("/"): # can be multi line
fw('.TP\n')
fw('.B %s\n' % man_format(l))
-
+
while lines:
- # line with no
+ # line with no
if lines[0].strip() and len(lines[0].lstrip()) == len(lines[0]): # no white space
break
@@ -112,7 +112,7 @@ while lines:
l = l[1:] # remove first whitespace (tab)
fw('%s\n' % man_format(l))
-
+
else:
if not l.strip():
fw('.br\n')