Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

integrate optional page into web site

  • Loading branch information...
commit 8d30c24416adbacb1b3ba701077ca87e691b6b1a 1 parent d3e70b8
scoder scoder authored

Showing 2 changed files with 9 additions and 1 deletion. Show diff stats Hide diff stats

  1. +1 0  .hgignore
  2. +8 1 doc/docstructure.py
1  .hgignore
@@ -10,6 +10,7 @@ cython_debug/
10 10 .git/
11 11 .gitrev
12 12 .coverage
  13 +funding.txt
13 14 *.orig
14 15 *.rej
15 16 *.dep
9 doc/docstructure.py
... ... @@ -1,7 +1,14 @@
1 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 +
2 9 SITE_STRUCTURE = [
3 10 ('lxml', ('main.txt', 'intro.txt', '../INSTALL.txt', # 'lxml2.txt',
4   - 'performance.txt', 'compatibility.txt', 'FAQ.txt')),
  11 + 'performance.txt', 'compatibility.txt', 'FAQ.txt') + funding),
5 12 ('Developing with lxml', ('tutorial.txt', '@API reference',
6 13 'api.txt', 'parsing.txt',
7 14 'validation.txt', 'xpathxslt.txt',

0 comments on commit 8d30c24

Please sign in to comment.
Something went wrong with that request. Please try again.