More block markup tests.

This commit is contained in:
Georg Brandl committed 2009-08-09 23:12:01 +02:00
1 parent 8ba78e88e7
commit 8d0c50c5b4
3 files changed
+17

No files matched your search

+1
View File
@@ -25,6 +25,7 @@ today_fmt = '%B %d, %Y'
exclude_trees = ['_build']
keep_warnings = True
pygments_style = 'sphinx'
show_authors = True
rst_epilog = '.. |subst| replace:: global substitution'
+12
View File
@@ -9,6 +9,7 @@ Meta markup
-----------
.. sectionauthor:: Georg Brandl
.. moduleauthor:: Georg Brandl
.. contents:: TOC
@@ -155,6 +156,17 @@ Version markup
Boring stuff.
Code blocks
-----------
.. code-block:: ruby
:linenos:
def ruby?
false
end
Misc stuff
----------
+4
View File
@@ -85,6 +85,8 @@ HTML_XPATH = {
},
'markup.html': {
".//title": 'set by title directive',
".//p/em": 'Section author: Georg Brandl',
".//p/em": 'Module author: Georg Brandl',
# created by the meta directive
".//meta[@name='author'][@content='Me']": '',
".//meta[@name='keywords'][@content='docs, sphinx']": '',
@@ -122,6 +124,8 @@ HTML_XPATH = {
".//a[@class='footnote-reference']": r'\[1\]',
# created by reference lookup
".//a[@href='contents.html#ref1']": '',
# ``seealso`` directive
".//div/p[@class='first admonition-title']": 'See also',
# a ``hlist`` directive
".//table[@class='hlist']/tr/td/ul/li": '^This$',
# a ``centered`` directive