mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Add classes to toctree items that indicate depth.
This commit is contained in:
@@ -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',
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user