Add classes to toctree items that indicate depth.

This commit is contained in:
Georg Brandl
2008-11-09 20:43:36 +01:00
parent 489a12c032
commit 4c3f2f0d7e
3 changed files with 12 additions and 4 deletions

View File

@@ -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',
},
}