diff options
author | Georg Brandl <georg@python.org> | 2007-12-16 19:36:23 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-12-16 19:36:23 +0000 |
commit | fbe9ed59cbb913f8e89ce7616ada21d90bc81c93 (patch) | |
tree | b9c495469266078507093c08dd2833c9d5cd6688 /sphinx/htmlwriter.py | |
parent | d6deb877df9334bf0efb8cf6cb2aa51f2b27348a (diff) | |
download | sphinx-git-fbe9ed59cbb913f8e89ce7616ada21d90bc81c93.tar.gz |
Several improvements to the latex builder.
Diffstat (limited to 'sphinx/htmlwriter.py')
-rw-r--r-- | sphinx/htmlwriter.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sphinx/htmlwriter.py b/sphinx/htmlwriter.py index 8468e7aff..f6a60b9ea 100644 --- a/sphinx/htmlwriter.py +++ b/sphinx/htmlwriter.py @@ -232,6 +232,11 @@ def translator_class(config, buildername): def depart_acks(self, node): pass + def visit_module(self, node): + pass + def depart_module(self, node): + pass + # these are only handled specially in the SmartyPantsHTMLTranslator def visit_literal_emphasis(self, node): return self.visit_emphasis(node) @@ -297,7 +302,7 @@ def translator_class(config, buildername): text = sphinx_smarty_pants(text) return text - if config.get('use_smartypants', False): + if config.get('html_use_smartypants', False): return SmartyPantsHTMLTranslator else: return HTMLTranslator |