Debian Codegraph @

doc/docstructure.py

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