diff options
| author | Stefan Behnel <stefan_ml@behnel.de> | 2012-10-20 13:55:18 +0200 |
|---|---|---|
| committer | Stefan Behnel <stefan_ml@behnel.de> | 2012-10-20 13:55:18 +0200 |
| commit | 8d30c24416adbacb1b3ba701077ca87e691b6b1a (patch) | |
| tree | a2fba482f36057b86f511f12e4f88b93fe5d0eb5 /doc/docstructure.py | |
| parent | d3e70b8ececa0f6c919b5041d9676ac38ec38e91 (diff) | |
| download | python-lxml-8d30c24416adbacb1b3ba701077ca87e691b6b1a.tar.gz | |
integrate optional page into web site
Diffstat (limited to 'doc/docstructure.py')
| -rw-r--r-- | doc/docstructure.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/docstructure.py b/doc/docstructure.py index 9b8bfef5..86e90d8b 100644 --- a/doc/docstructure.py +++ b/doc/docstructure.py @@ -1,7 +1,14 @@ +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')), + 'performance.txt', 'compatibility.txt', 'FAQ.txt') + funding), ('Developing with lxml', ('tutorial.txt', '@API reference', 'api.txt', 'parsing.txt', 'validation.txt', 'xpathxslt.txt', |
