diff options
| author | Georg Brandl <georg@python.org> | 2008-11-09 20:43:36 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2008-11-09 20:43:36 +0100 |
| commit | 9f96010e91fe9f168dc760a348ac0bd3a237b35c (patch) | |
| tree | c58ab91a897f43287f6e137f0fb635e684d99ef2 /tests | |
| parent | d0d960d5f8c719b4e8a1694174e7b4d0e147474c (diff) | |
| download | sphinx-9f96010e91fe9f168dc760a348ac0bd3a237b35c.tar.gz | |
Add classes to toctree items that indicate depth.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_build.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_build.py b/tests/test_build.py index c62c2f8c..069d7116 100644 --- a/tests/test_build.py +++ b/tests/test_build.py @@ -70,6 +70,8 @@ HTML_XPATH = { 'contents.html': { ".//meta[@name='hc'][@content='hcval']": '', ".//td[@class='label']": '[Ref1]', + ".//li[@class='toctree-l1']/a": 'Testing various markup', + ".//li[@class='toctree-l2']/a": 'Admonitions', }, } |
