[Pcsclite-cvs-commit] r5758 - /website/matrix.py
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Sun May 15 16:13:39 UTC 2011
Author: rousseau
Date: Sun May 15 16:13:35 2011
New Revision: 5758
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5758
Log:
Add a link to itself to the line number. It is now possible to reference
a specific line of the matrix.
Modified:
website/matrix.py
Modified: website/matrix.py
URL: http://svn.debian.org/wsvn/pcsclite/website/matrix.py?rev=5758&op=diff
==============================================================================
--- website/matrix.py (original)
+++ website/matrix.py Sun May 15 16:13:35 2011
@@ -435,7 +435,8 @@
color = reader['section'] + '_odd'
file_desc.write('<tr class="%s">' % color)
- file_desc.write("<td>%d</td>" % num)
+ file_desc.write("<td><a name=\"%d\" href=\"#%d\">%d</a></td>" % (num,
+ num, num))
for field in fields:
if field == 'iProduct':
file_desc.write("<td><a href='%s.html#%s%s'>%s</a></td>" %
More information about the Pcsclite-cvs-commit
mailing list