Skip to content

Commit

Permalink
Fix doc build with underscores in filename patterns.
Browse files Browse the repository at this point in the history
  • Loading branch information
birkenfeld committed Mar 10, 2012
1 parent ee03207 commit bb81e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/generate.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def generate_lexer_docs():
classname,
cls.__doc__,
', '.join(data[2]) or 'None',
', '.join(data[3]).replace('*', '\\*') or 'None',
', '.join(data[3]).replace('*', '\\*').replace('_', '\\') or 'None',
', '.join(data[4]) or 'None'))
if module not in moduledocstrings:
moduledocstrings[module] = mod.__doc__
Expand Down

0 comments on commit bb81e6c

Please sign in to comment.