Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Oct 1999 00:40:53 +0100 (BST)
From:      Andrew Boothman <andrew@ukug.uk.FreeBSD.org>
To:        Mark Ovens <mark@dogma.freebsd-uk.eu.org>
Cc:        nbm@mithrandr.moira.org, wosch@cs.tu-berlin.de, nik@freebsd.org, doc@freebsd.org, Andrew Boothman <andrew@dogma.freebsd-uk.eu.org>
Subject:   Re: Automatic Documentation Index
Message-ID:  <XFMail.991006004053.andrew@ukug.uk.FreeBSD.org>
In-Reply-To: <19991004234956.A977@marder-1>

next in thread | previous in thread | raw e-mail | index | archive | help

On 04-Oct-99 Mark Ovens wrote:
> Seems like a good thing to me. I've just tried it out (had to change
> the paths to the FAQ and Handbook for the DocBook docs). There are
> quite a few ports that install docs other than (& sometimes instead
> of) manpages but don't advertise the fact.

Exactly. Hence the need to index them.

> As a temporary solution, until the +DOC files are added, how about
> looking for html files in the +CONTENTS files? Something like
> 
>       # cd /var/db/pkg
>       # grep '\.html$' */+CONTENTS
> 
> and parsing the output in some way (e.g. if there are several .html
> files installed including "index.html" then just list the index
> and ignore the others). It's not perfect, but it would dig out all
> the "hidden" documentation.

I fully understand what you're getting at here. And I can see how this would
work. I'm a little worried about the possability that this could pick up on
installed files that arn't actually documentation.

I'm not sure if it's likely, but it would really confuse a user to be pointed
to files that aren't documentation. Plus, in the +DOCS file we have a
description of the file that we're linking to, we wouldn't know what the file
is if we link to it this way. Plus, we don't want the ports folk to think that
this negates the need to retrofit +DOCS files to as many ports as possible.

What are everyone else's opinions on this?

---
Andrew Boothman <andrew@ukug.uk.FreeBSD.org>
FreeBSD UK User Group
http://ukug.uk.FreeBSD.org/~andrew/
http://ukug.uk.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.991006004053.andrew>