Hello all,
Sorry for the delay. Here are my first documentation drafts - I mean
*really* drafts, just the basic structure and one or other things ready.
Since I'm used to DocBook, I thought I could help by doing the initial
efforts.
Notes:
1) I have used dockbook-xsl 1.68.2 and docbook 4.5, which is the latest
stable (enough) version. We can upgrade to docbook 5.0 later when it
gets mature.
2) The XSLT processor used was xsltproc, which is at least 10x faster
then saxon, but any processor could be used. The command line to compile:
# xsltproc --timing --output index.htm --xinclude stylesheets/onechunk.xsl cherrypy.xml
I guess this gives others some resources to start to play, and later I
plan to make a script to build all target documentations automatically.
There are already stylesheets for onechunk, chunked and htmlhelp
targets.
Note: the stylesheets include absolute paths that match my system.
Anyone could patch that for matching his own system; the build scripts
will fix that automatically in the future.
3) I have made the first level (cherrypy.xml - the book), second level
(preface.xml, tutorial.xml, users.xml, administration.xml,
developers.xml, docs.xml, appendix.xml - the chapters) and some third or
higher level sections. The chapters are:
preface.xml: Preface: Introduction, About, License, Support, etc.
tutorial.xml: Tutorial
users.xml: Users Guide
administration.xml: Administrators Guide
developers.xml: Developers reference/API
docs.xml: Documentation writers
appendix.xml: FAQ, Recipes, Resources, What's New
4) Specially the "users", "admins" and "developers" chapters are pretty
empty and we need to define what should go inside them. Adding new
sections is easy: just use one of the existing section files (such as
introduction) as template. Probably subsections should stay in the saame
file as their parent section to keep number of files reduced - but if a
subsection is very huge, it won't hurt splitting and including it.
By the way, I like the CherryPy 1.0 documentation and although I think
we can do really better, there are lots of things that could be borrowed
from it: it's not a wasted job.
5) I've activated the "use.id.as.filename" flag in the chunked/htmlhelp
stylesheets, so the default file names will be the id names. Every
book/chapter/section will generate a html file for chunked outputs. For
overriding that, use the <?dbhtml filename="xxxx.html"?> directive, as I
did on the cherrypy.xml file.
6) I've also included a basic CSS stylesheet, and we will probably want
to customize it. Is there any good web designer wanting to help us with
it ?
7) Resources:
* For an introduction to using docbook tools, please check:
http://www.sagehill.net/docbookxsl/ToolsSetup.html
* "DocBook 5.0: The Definitive Guide" (reference, including tags)
http://www.docbook.org/tdg5/en/html/docbook.html
Next I'll start making the build scripts.
I took the liberty of assigning some tasks to some of us, but of course
nobody has obligation to do anything and these can be changed at will.
So I think the next steps are:
* Review these files I created; [Sylvain, Remi?]
* Define the topics/sections that should go inside the chapters
[Sylvain, Remi?]
* Write the documentation project guidelines: formatting, styles
[Sylvain]
* Define who will write what [Sylvain, Howe, Remi?]
* Write better the about/copyright/credits sections of the book. I did
a pretty basic work there (if we can call that "work") [Sylvain, Howe,
Remi?]
* Write the Cheetah macros that will be used to [Howe]
* Write the build scripts for all documentation targets [Howe]
* Define the order of topics writing [Sylvain]
* SVN repository access to the documentation writers [Remi].
I personally would like to get a separated SVN repository, so that we
won't mess around with the core CherryPy. Is that possible, Remi ?
--
Best regards,
Steve mailto:
ho...@carcass.dhs.org