+1 on Kamil's thoughts.
The auto-generated documentation is great for libraries (i.e. an equivalent of pydoc), but
I would not support having "user" documentation done this way.
I believe that the first step should be 'consolidation' of all the documentation
we have, and sorting it into three categories
* code documentation
* development documentation
* user documentation
Code documentation are docstrings + possibly stuff like "ResultsDB Scheme" and
documentation tightly related to 'understanding the code'.
Development documentation would be AutoQA architecture, ResulsDB Writeup, Depcheck
descriptions...
While by user documentation, I mean stuff like "how to install autotest"
"How to update AutoQA repoinfo.conf", but also "understanding
depcheck/upgradepath errors" and other things which are not really related to the
code itself.
I don't have any problem with code and devel doc being autogenerated (and hence
tightly coupled with autoqa releases & git), but I'd like to have the users doc on
wiki.
The only thing I'd gladly got rid of is the spread of documentation between trac &
wiki. I'd keep one, and personaly prefer wiki over trac.
J.
----- Original Message -----
From: "Kamil Paral" <kparal(a)redhat.com>
To: "AutoQA development" <autoqa-devel(a)lists.fedorahosted.org>
Sent: Wednesday, July 13, 2011 10:16:10 AM
Subject: Re: Documentation Demo with Sphinx
> I spent a little bit of time and put together a really small demo of
> what our documentation could look like using Sphinx
> (
http://sphinx.pocoo.org/). I stress that this is a _demo_ and I
> didn't
> spend much time on it - the content is pretty sparse and not very
> good.
> If we're interested in looking into this more, I can spend more time
> on it.
>
> For the demo, I converted the AutoQA wiki page verbatim (other than
> the
> added section for module docs) and generated doc for bodhi_utils. I
> listed some of what I think the advantages and disadvantages of
> switching to Sphinx would be.
>
> Code:
> -
https://github.com/tflink/autoqa-devel
> * To generate the HTML docs, go to the doc/ dir and type 'make html'
>
> Demo:
> -
http://tflink.fedorapeople.org/autoqa/sphinxdemo/
It really looks good. I am not sure of the immediate benefits though
(when the extra work is taken into account).
* I think these auto-generated pages are good for module
documentation.
They really are. The question is whether we need it currently. The
developers who checkout out our code will probably always look at the
current doc with pydoc or some IDE or display source code. I don't see
anything we currently offer to the wide public. Once we have support
for user-provided tests, I agree this is a great tool to have the docs
online.
* I think it's little too complicated for free-text documentation.
I imagine a situation when we publish documentation like "How to write
AutoQA tests" or "Depcheck help" with the new release and after a week
or two we want to change something. Add more examples, fix typos, etc.
Will we have to always push to git, tag it, deploy it? I don't think
it worth it, at least currently. I understand it's good to have "How
to write AutoQA tests" for 0.5 and for 0.6 separated and publish it
only after new release. But again, I think it makes sense once we
support public API for user-provided tests. Until that time it's more
of a documentation for us than for anyone else.
Maybe we should separate documentation "for us, the developers" and
for "the others, test writers" and then talk about them separately
(location, generation, etc).
Josef has some more thoughts on this, I suppose he'll write some of
them here soon.
_______________________________________________
autoqa-devel mailing list
autoqa-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/autoqa-devel