Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sebastian Pipping wrote:
> Federico Ferri wrote:
>> FEATURES
>> can link feature to make.conf man page:
>> http://linuxreviews.org/man/make.conf/ (unfortunately this man page is
>> rendered with no anchors over variable/features, so you could do
>> better ^__^
>
> the output of neither
>
> # man2html -r make.conf.5 > make.conf.5.html
>
> nor
>
> # groff -man -Thtml make.conf.5 > make.conf.5.html
>
> make me really happy
>
> do you know any alternative coming with more anchors and external CSS
> support?
# nope for css, but you could do something like this:
# imagine you have the feature list in a file
# (I don't know how to extract it automatically, but perhaps someone does)
$ cat featurelist
assume-digests
buildpkg
buildsyspkg
...
userpriv
usersandbox
usersync
webrsync-gpg
$ bzcat /usr/share/man/man5/make.conf.5.bz2 | man2html -r > make.html
# basically now you have to match <DT><B>featurename</B>
# and add a anchor tag to it:
$ eval `echo sed; cat featurelist | sed 's,^\(.*\),-e
'\''s:<DT><B>\1</B>:<DT><B><A NAME="feature_\1">\1</A></B>:'\'',';
echo make.html` > make_anchors.html
this will give you anchor to features, e.g.
make_anchor.html#feature_buildpkg
a bit tricky the sed - could be easier, but this version is fast
because it builds a giant sed expression instead of calling sed n times.
- --
Federico Ferri
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkqBqKwACgkQV/B5axfzrPsegwCdFo95i26IF9+jeUSLntVI4nhS
msgAnRw4I4D1MwPUf1yBY8gJh3PHtX9S
=cx8u
-----END PGP SIGNATURE-----
|
|