Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cf5e19 commit 5c0ebdcCopy full SHA for 5c0ebdc
1 file changed
Doc/tools/support.py
@@ -20,7 +20,9 @@ class Options:
20
21
# content components
22
"address=", "iconserver=", "favicon=",
23
- "title=", "uplink=", "uptitle="]
+ "title=", "uplink=", "uptitle=",
24
+ "image-type=",
25
+ ]
26
27
outputfile = "-"
28
columns = 1
@@ -51,7 +53,7 @@ def __init__(self):
51
53
self.args = []
52
54
self.variables = {"address": "",
55
"iconserver": "icons",
- "imgtype": "gif",
56
+ "imgtype": "png",
57
"title": "Global Module Index",
58
}
59
@@ -93,6 +95,8 @@ def parse(self, args):
93
95
self.variables["iconserver"] = val.strip() or "."
94
96
elif opt == "--favicon":
97
self.favicon = val.strip()
98
+ elif opt == "--image-type":
99
+ self.variables["imgtype"] = val.strip()
100
else:
101
self.handle_option(opt, val)
102
if self.uplink and self.uptitle:
0 commit comments