Add test for meta directive and add visitor functions for latex and text writers.

This commit is contained in:
Georg Brandl
2008-10-18 17:29:56 +00:00
parent 4b9119f990
commit 3a1af61b9f
4 changed files with 16 additions and 0 deletions

View File

@@ -7,6 +7,10 @@ Testing various markup
.. contents:: TOC
.. meta::
:author: Me
:keywords: docs, sphinx
Admonitions
-----------

View File

@@ -54,6 +54,10 @@ HTML_XPATH = {
".//dt[@id='test_autodoc.function']/em": '**kwds',
".//dd": 'Return spam.',
},
'markup.html': {
".//meta[@name='author'][@content='Me']": '',
".//meta[@name='keywords'][@content='docs, sphinx']": '',
},
}
class NslessParser(ET.XMLParser):