Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Dec 2000 22:51:45 +0000
From:      Nik Clayton <nik@freebsd.org>
To:        Michael Lucas <mwlucas@blackhelicopters.org>
Cc:        doc@freebsd.org
Subject:   Re: troubleshooting tree revisited
Message-ID:  <20001203225144.A4078@canyon.nothing-going-on.org>
In-Reply-To: <20001130164838.A42727@blackhelicopters.org>; from mwlucas@blackhelicopters.org on Thu, Nov 30, 2000 at 04:48:39PM -0500
References:  <20001130164838.A42727@blackhelicopters.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 30, 2000 at 04:48:39PM -0500, Michael Lucas wrote:
> jkh suggested a nice file that contained the decision tree, and that
> could be parsed to generate HTML.  That's a great idea.  I'm
> completely unqualified to do it properly.  (I'm qualified to do it
> suckily, but I don't have time to make something that sucks.)  If
> you're capable and willing to do this, please stop me now.

Unless I misunderstand what you want, I think DocBook's FAQ support
would do what you want.  So you end up with something like:

  Question 1:  What do you want to do?

  Answer:

    Install FreeBSD?  Go to question 2.

    Configure FreeBSD?  Go to question 12.

    Install an application?  Go to question 37.

    Configure an installed application?  Go to question 68.

  Question 2:  Have you got a FreeBSD CD?

  Answer:

    Yes?  Go to question 3.

    No?  Go to question 4.

  ...

If that's the sort of thing you want to do then I'd recommend writing it
in DocBook using the <question> and <answer> elements.  See the FAQ for
detailed examples.

Don't worry about how you then put each question on a page of its own,
that's something that the stylesheets can do (and will do, given
appropriate thumping by me).

Does that solve the problem?

N
-- 
Internet connection, $19.95 a month.  Computer, $799.95.  Modem, $149.95.
Telephone line, $24.95 a month.  Software, free.  USENET transmission,
hundreds if not thousands of dollars.  Thinking before posting, priceless.
Somethings in life you can't buy.  For everything else, there's MasterCard.
  -- Graham Reed, in the Scary Devil Monastery


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?20001203225144.A4078>