]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
link to bare RFCs, too
authorAlan T. DeKok <aland@freeradius.org>
Fri, 25 Jan 2019 15:35:42 +0000 (10:35 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 25 Jan 2019 15:35:42 +0000 (10:35 -0500)
scripts/asciidoc/conf2adoc

index 5bc87e378b8fc62794045958e4f8cbdaa0bf014e..05d4234a6aff670c6c9144faac0c6a4470c47973 100755 (executable)
@@ -162,6 +162,8 @@ sub process_file {
                #
                #  Auto-link to RFCs
                #
+               $line =~ s,RFC (\d+),https://tools.ietf.org/html/rfc${2}\[RFC $1\],g;
+
                $line =~ s,Section ([^ ]+) of RFC (\d+),https://tools.ietf.org/html/rfc${2}#section-${1}\[Section $1 of RFC $2\],g;
                $line =~ s,RFC (\d+) Section ([\d\.]+),https://tools.ietf.org/html/rfc${1}#section-${2}\[RFC $1 Section $2\],g;