Fix rendering of links in license documentation
Links in the license boxes were not rendered, e.g. for the CC-BY3.0
license it was literally showing
link:http://creativecommons.org/licenses/by/3.0/us/[CC-BY 3.0]
instead of rendering this as a 'CC-BY 3.0' link that links to
http://creativecommons.org/licenses/by/3.0/us/.
Change-Id: I4bb60b1a01cc38c4a906bed63d1f30780cac63c2
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
diff --git a/Documentation/doc.css.in b/Documentation/doc.css.in
index c49b596..6be89f6 100644
--- a/Documentation/doc.css.in
+++ b/Documentation/doc.css.in
@@ -24,6 +24,7 @@
margin: 0.2em 0 0.2em 0;
}
+#license > .content,
.listingblock > .content {
border: 2px solid silver;
background: #ebebeb;
@@ -33,6 +34,7 @@
overflow: auto;
}
+#license > .content pre,
.listingblock > .content pre {
background: none;
border: 0 solid silver;
diff --git a/Documentation/gen_licenses.py b/Documentation/gen_licenses.py
index 61d2e241..af7cd88 100755
--- a/Documentation/gen_licenses.py
+++ b/Documentation/gen_licenses.py
@@ -134,10 +134,12 @@
p = d[d.index(':')+1:].lower()
print('* ' + p)
print()
- print('----')
+ print('[[license]]')
+ print('[verse]')
+ print('--')
with open(n[2:].replace(':', '/')) as fd:
copyfileobj(fd, stdout)
- print('----')
+ print('--')
print("""
GERRIT