Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

integrate optional page into web site

  • Loading branch information...
commit 8d30c24416adbacb1b3ba701077ca87e691b6b1a 1 parent d3e70b8
scoder scoder authored
Showing with 9 additions and 1 deletion.
  1. +1 −0  .hgignore
  2. +8 −1 doc/docstructure.py
1  .hgignore
View
@@ -10,6 +10,7 @@ cython_debug/
.git/
.gitrev
.coverage
+funding.txt
*.orig
*.rej
*.dep
9 doc/docstructure.py
View
@@ -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',
Please sign in to comment.
Something went wrong with that request. Please try again.