mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Add test for meta directive and add visitor functions for latex and text writers.
This commit is contained in:
@@ -7,6 +7,10 @@ Testing various markup
|
||||
|
||||
.. contents:: TOC
|
||||
|
||||
.. meta::
|
||||
:author: Me
|
||||
:keywords: docs, sphinx
|
||||
|
||||
|
||||
Admonitions
|
||||
-----------
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user