projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18113af
)
add link-creation for RFCs
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 11 Apr 2023 16:18:34 +0000
(17:18 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 11 Apr 2023 16:18:34 +0000
(17:18 +0100)
openpower/pandoc_img.py
patch
|
blob
|
history
diff --git
a/openpower/pandoc_img.py
b/openpower/pandoc_img.py
index d60fac53343607d0d568829b6cfca6190d02da96..f665d5dab19efa21ac707657dbab4eb74089ec47 100755
(executable)
--- a/
openpower/pandoc_img.py
+++ b/
openpower/pandoc_img.py
@@
-102,6
+102,11
@@
def inlinenotes(k, v, f, meta):
'openpower/isa/branch': 'Branch pseudocode',
'openpower/transcendentals': 'Transcendentals',
}
+ if link.startswith("ls") and link[2].isdigit():
+ out.write(" found RFC %s\n" % link)
+ return [Link(['', [], []],
+ [Str("{RFC "+link+"}")],
+ ['#%s' % link, '']), Str(v[find_brack+2:])]
if link in lookups:
out.write(" found %s\n" % lookups[link])
return [Link(['', [], []],