blob: ab5c9affd471cb203196f4fe23edae3ca5eade65 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001# Process poky-ref-manual and yocto-project-qs manual (<word>-<word>-<word> style)
Patrick Williamsc124f4f2015-09-15 14:41:29 -05002# For example:
3# "ulink" href="http://www.yoctoproject.org/docs/1.3/poky-ref-manual/poky-ref-manual.html#faq"
4# -> "link" href="../poky-ref-manual/faq.html"
Brad Bishop316dfdd2018-06-25 12:45:53 -04005s@"ulink" href="http://www.yoctoproject.org/docs/[^/]*/([a-z]*-[a-z]*-[a-z]*)/[a-z]*-[a-z]*-[a-z]*.html#([^"]*)"/@"link" href="../1/2.html"@g
Patrick Williamsc124f4f2015-09-15 14:41:29 -05006
7# Processes all other manuals (<word>-<word> style)
8# For example:
9# "ulink" href="http://www.yoctoproject.org/docs/1.3/kernel-manual/kernel-manual.html#faq"
10# -> "link" href="../kernel-manual/faq.html"
Brad Bishop316dfdd2018-06-25 12:45:53 -040011s@"ulink" href="http://www.yoctoproject.org/docs/[^/]*/([a-z]*-[a-z]*)/[a-z]*-[a-z]*.html#([^"]*)"@"link" href="../1/2.html"@g
Patrick Williamsc124f4f2015-09-15 14:41:29 -050012
13# Process cases where just an external manual is referenced without an id anchor
14# For example:
15# "ulink" href="http://www.yoctoproject.org/docs/1.3/kernel-manual/kernel-manual.html
16# -> "link" href="../kernel-manual/index.html"
Brad Bishop316dfdd2018-06-25 12:45:53 -040017s@"ulink" href="http://www.yoctoproject.org/docs/[^/]*/([a-z]*-[a-z]*-[a-z]*)/[a-z]*-[a-z]*-[a-z]*.html"@"link" href="../1/index.html"@g
18s@"ulink" href="http://www.yoctoproject.org/docs/[^/]*/([a-z]*-[a-z]*)/[a-z]*-[a-z]*.html"@"link" href="../1/index.html"@g