1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
import os
if os.path.exists(os.path.join(os.path.dirname(__file__), '..', 'funding.txt')):
funding = ('../funding.txt',)
else:
funding = ()
SITE_STRUCTURE = [
('lxml', ('main.txt', 'intro.txt', '../INSTALL.txt', # 'lxml2.txt',
'performance.txt', 'compatibility.txt', 'FAQ.txt') + funding),
('Developing with lxml', ('tutorial.txt', '@API reference',
'api.txt', 'parsing.txt',
'validation.txt', 'xpathxslt.txt',
'objectify.txt', 'lxmlhtml.txt',
'cssselect.txt', 'elementsoup.txt',
'html5parser.txt')),
('Extending lxml', ('resolvers.txt', 'extensions.txt',
'element_classes.txt', 'sax.txt', 'capi.txt')),
('Developing lxml', ('build.txt', 'lxml-source-howto.txt',
'@Release Changelog', '../CREDITS.txt')),
]
HREF_MAP = {
"API reference" : "apidoc/lxml.html"
}
BASENAME_MAP = {
'main' : 'index',
'INSTALL' : 'installation',
'CREDITS' : 'credits',
}
|