File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 22
22
23
23
def eprint (s ):
24
24
print >> sys.stderr, s
25
-
25
+
26
26
def decode (s ):
27
27
if sys.version_info[0 ] < 3 and isinstance (s, str ):
28
28
return s.decode(' utf-8' , ' ignore' )
62
62
s, _ = re.subn(' \b\n\b ' , ' ' , s)
63
63
if not module_list:
64
64
s, _ = re.subn(' `[^`]+`' , linkify, s)
65
-
65
+
66
66
extensions = []
67
67
if use_pygments:
68
- extensions = [' codehilite(linenums=False)' ]
68
+ extensions = [' markdown.extensions. codehilite(linenums=False)' ]
69
69
s = markdown.markdown(s.strip(), extensions = extensions)
70
70
return s
71
71
83
83
separators. Also, packages are translated as directories
84
84
containing `index.html` corresponding to the `__init__` module,
85
85
while modules are translated as regular HTML files with an
86
- `.m.html` suffix. (Given default values of
86
+ `.m.html` suffix. (Given default values of
87
87
`pdoc.html_module_suffix` and `pdoc.html_package_name`.)
88
88
"""
89
89
if module.name == m.name:
You can’t perform that action at this time.
0 commit comments