Mercurial > flash_v2
diff packages/net/common/current/doc/prepare-manpages.sh @ 730:5a900ebdff5f
* cdl/net.cdl: Improve doc links.
* doc/prepare-manpages.sh: Generate namespaced IDs, without shouting.
* doc/tcpip-manpages.sgml: Regenerated.
| author | jlarmour |
|---|---|
| date | Mon, 24 Feb 2003 14:29:34 +0000 |
| parents | e0c0827131d1 |
| children |
line wrap: on
line diff
--- a/packages/net/common/current/doc/prepare-manpages.sh +++ b/packages/net/common/current/doc/prepare-manpages.sh @@ -26,11 +26,11 @@ for manpage in $MANPAGE_LIST do echo "processing $manpage" # get the title for this section - manpage_title=`egrep '^\.Dt' $manpage | awk '{print $2}'` + manpage_title=`egrep '^\.Dt' $manpage | awk '{print $2}' | tr 'A-Z' 'a-z'` # note that _ is illegal in an id, so we canonicalize it to - docbook_section_id=`echo $manpage_title | sed 's/_/-/g'` # now prepare out a section and title - echo " <sect1 id=\"$docbook_section_id\">" >> tcpip-manpages.sgml + echo " <sect1 id=\"net-common-tcpip-manpages-$docbook_section_id\">" >> tcpip-manpages.sgml echo " <title>$manpage_title</title>" >> tcpip-manpages.sgml # we make it <screen> so that it is a monospaced font echo " <screen>" >> tcpip-manpages.sgml
