Gentoo Logo
Gentoo Spaceship




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
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Federico Ferri <mescalinum@g.o>
Subject: Re: Stats test server running, please check it out
Date: Tue, 11 Aug 2009 19:21:48 +0200
-----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-----



References:
Stats test server running, please check it out
-- Sebastian Pipping
Re: Stats test server running, please check it out
-- Federico Ferri
Re: Stats test server running, please check it out
-- Sebastian Pipping
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Stats test server running, please check it out
Next by thread:
Re: Stats test server running, please check it out
Previous by date:
Re: Stats test server running, please check it out
Next by date:
Re: Multimedia overlay


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.