clean up documentation makefile and documentation generation script

This commit is contained in:
arvidn
2015-10-07 00:48:43 -04:00
parent 6a7b9d1c4c
commit 41b8429cd1
7 changed files with 1182 additions and 1282 deletions

View File

@@ -782,7 +782,9 @@ def linkify_symbols(string):
# print ' literal: "%s"' % l
ret.append(l)
continue
if l.endswith('::') or '.. code::' in l:
if l.strip() == '.. parsed-literal::' or \
l.strip().startswith('.. code::') or \
(not l.strip().startswith('..') and l.endswith('::')):
# print ' start literal: "%s"' % l
in_literal = True
words = l.split(' ')