From owner-freebsd-doc Mon May 24 2:20: 3 1999 Delivered-To: freebsd-doc@freebsd.org Received: from firewall2.lehman.com (firewall.Lehman.COM [192.147.65.67]) by hub.freebsd.org (Postfix) with ESMTP id 730E914DA3 for ; Mon, 24 May 1999 02:19:40 -0700 (PDT) (envelope-from nclayton@lehman.com) Received: from relay.messaging-svcs2.lehman.com by firewall2.lehman.com (8.8.6/8.8.6) id FAA17903; Mon, 24 May 1999 05:03:49 -0400 (EDT) Received: from lonmailhost.lehman.com by relay.messaging-svcs2.lehman.com (8.9.3/8.8.5) id FAA14144; Mon, 24 May 1999 05:02:37 -0400 (EDT) Received: by lonmailhost.lehman.com (SMI-8.6/Lehman Bros. V1.5) id KAA09632; Mon, 24 May 1999 10:02:36 +0100 Message-ID: <19990524100236.V12185@lehman.com> Date: Mon, 24 May 1999 10:02:36 +0100 From: nclayton@lehman.com To: Greg Black , Nik Clayton Cc: doc@FreeBSD.ORG, freebsd-translate@ngo.org.uk Subject: Re: FDP Directory Reorganisation References: <19990513211458.B70767@catkin.nothing-going-on.org> <19990519214022.D60921@catkin.nothing-going-on.org> <19990520095342.18541.qmail@alice.gba.oz.au> <19990520232510.A54603@catkin.nothing-going-on.org> <19990523023158.105.qmail@alice.gba.oz.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <19990523023158.105.qmail@alice.gba.oz.au>; from Greg Black on Sun, May 23, 1999 at 12:31:58PM +1000 Organization: Lehman Brothers Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, May 23, 1999 at 12:31:58PM +1000, Greg Black wrote: > [Re "articles" and "books":] > > An alternative way of expressing this, without getting in to the SGML, > > is that if it has more than one chapter then it's a book, otherwise it's > > an article. > > This is a semantic distinction based on something that is > utterly irrelevant to any /user/ of the documentation. Agree. 100%. > If the > object of the documentation is to provide help to the users of > the documentation, then the organisation needs to based on > distinctions that make sense to those users. Disagree. Here's why. The organisation *within the repository* is (or should be) of zero interest to the end user of the documentation. There's no reason why the directory hierarchy within the repository, and the directory hierarchy of the installed documentation should map to each other one to one. Categorising things is a hard problem. Take a look at http://www.freebsddiary.com/freebsd/topics.htm for example. Notice how many entries are duplicated under different headings? The IP Filter and Firewall sections, for example. I think trying to categorise based on content within the repository is ultimately futile. There will be cases where there is no clear category for a document to go in. So do you create a new category for this document? Lump it in a "misc" category with some other documents? Misfile it? None of these are good solutions. However, as I say above, I agree with you that a distinction based on SGML element choices is of no interest to the end user. Fortunately, we don't need to make this distinction when we install the documentation. There's no reason why the Makefile that installs each piece of documentation can't have a ${CATEGORIES} variable (or some other appropriate name) that lists the categories of documentation that this document falls into. For example, something that lives in the books/printing directory might have CATEGORIES= books sysadmin printing mswindows in the Makefile, indicating that the formatted documentation should be installed in to /usr/local/share/doc/FDP/{books,sysadmin,printing,mswindows} directories because 1. It's a "book" 2. Printing is a "Sys Admin" topic. 3. Printing is deemed to be important enough to have it's own top level category as well. 4. It explains how Windows hosts can print to printers attached to FreeBSD boxes. This gives the end-user much more freedom when it comes to finding the documentation they need. The installed docs can be copies, or links as necessary, but that's really an implementation issue. The actual categories to be used (or at least a first cut at them) can be decided relatively easily on this list. More importantly, the list of categories can be easily expanded to accommodate new documentation without any of the problems I outline above. In the meantime, back in the repository, we still need to separate out the manual pages from everything else. The books/articles distinction is completely mechanical (there's no discussion about whether something is a book or an article, it's a simple decision) and makes it a little bit easier for people writing new documentation to find example of a particular type of documentation that they can crib from. I'm happy with another distinction between the documentation sets, as long as it can be applied mechanically (i.e., no wondering about which category the documentation goes in to) and fits in with the existing man/ directory. man/articles/books fits that. There's a simple progression in the documentation detail from left to right, and deciding which directory to put the docs in is trivial. doc/ or docs/ doesn't. Manual pages are also "docs". N -- --+==[ Systems Administrator, Year 2000 Test Lab, Lehman Brothers, Inc. ]==+-- --+==[ 1 Broadgate, London, EC2M 7HA 0171-601-0011 x5514 ]==+-- --+==[ Year 2000 Testing: It's about time. . . ]==+-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message