[telepathy-doc/master] Put a link for the raw source above the examples in the appendix
Davyd Madeley
davyd at madeley.id.au
Wed Apr 8 20:36:12 PDT 2009
---
docs/book/insert-examples.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/docs/book/insert-examples.py b/docs/book/insert-examples.py
index 8e82a68..778bc31 100755
--- a/docs/book/insert-examples.py
+++ b/docs/book/insert-examples.py
@@ -147,6 +147,8 @@ for nicename in included_files:
print >> sys.stderr, e
continue
+ s.append (etree.XML ('<para><ulink url="%s">Source File</ulink></para>' % os.path.join ('examples', nicename)))
+
# syntax highlight the contents
if pygments:
# syntax highlighting
--
1.5.6.5
More information about the telepathy-commits
mailing list