[debian-edu-commits] debian-edu/ 01/02: Make sure anchors ids match link reference ids.
Petter Reinholdtsen
pere at moszumanska.debian.org
Wed Apr 1 08:15:07 UTC 2015
This is an automated email from the git hooks/post-receive script.
pere pushed a commit to branch master
in repository debian-edu-itil-doc-nb.
commit 82fa3297db3e523f6753b7c45fc6b6cceed0d1fc
Author: Petter Reinholdtsen <pere at hungry.com>
Date: Wed Apr 1 10:12:23 2015 +0200
Make sure anchors ids match link reference ids.
---
documentation/scripts/get_manual | 1 +
1 file changed, 1 insertion(+)
diff --git a/documentation/scripts/get_manual b/documentation/scripts/get_manual
index 0e7f5a3..ca914b9 100755
--- a/documentation/scripts/get_manual
+++ b/documentation/scripts/get_manual
@@ -103,6 +103,7 @@ for i in `cat id` ; do
sed "s%<ulink url=\"https://wiki.debian.org/${path1}${i}/%<ulink url=\"https://wiki.debian.org/%g" |
# Make wiki self links actually local
sed "s%<link linkend=\"%<link linkend=\"${ASCIINAME}--%g" |
+ sed "s%<anchor id=\"%<anchor id=\"${ASCIINAME}--%g" |
perl -pe "s%<ulink url=\"https://wiki.debian.org/${path1}/(HowTo/)?(\w+)#\">(.*?)</ulink>%<link linkend='\2'>\3</link>%g" |
perl -pe "s%<ulink url=\"https://wiki.debian.org/${path1}/(HowTo/)?(\w+)#(.*?)\">(.*?)</ulink>%<link linkend='\2--\3'>\4</link>%g" |
perl -000 -pe "s%<para><ulink url=\"https://wiki.debian.org/CategoryPermalink#\">CategoryPermalink</ulink>\s*</para>%%" |
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/upstream/debian-edu-itil-doc-nb.git
More information about the debian-edu-commits
mailing list