public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [Documentation] Use doxygen or another tool to generate a documentation ?
@ 2005-08-19 21:34 Stephane Wirtel
  2005-08-19 21:46 ` Pekka Enberg
  0 siblings, 1 reply; 10+ messages in thread
From: Stephane Wirtel @ 2005-08-19 21:34 UTC (permalink / raw)
  To: linux-kernel


Hi all, 

I don't know if there is a project based on Doxygen to make 
(or generate) a documentation of the kernel.

Do you think that will be interesting to make a such document ?

I want to learn the kernel's engine, but I don't know how to help the
kernel hackers.

Best regards, 

Stephane

-- 
Stephane Wirtel <stephane.wirtel@belgacom.net>
                <stephane.wirtel@gmail.com>



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Documentation] Use doxygen or another tool to generate a documentation ?
  2005-08-19 21:34 [Documentation] Use doxygen or another tool to generate a documentation ? Stephane Wirtel
@ 2005-08-19 21:46 ` Pekka Enberg
  2005-08-19 23:23   ` Stephane Wirtel
  0 siblings, 1 reply; 10+ messages in thread
From: Pekka Enberg @ 2005-08-19 21:46 UTC (permalink / raw)
  To: Stephane Wirtel; +Cc: linux-kernel

On 8/20/05, Stephane Wirtel <stephane.wirtel@belgacom.net> wrote:
> I don't know if there is a project based on Doxygen to make
> (or generate) a documentation of the kernel.
> 
> Do you think that will be interesting to make a such document ?

The kernel already has it's own API documentation generator called
kerneldoc. See the file Documentation/kernel-doc-nano-HOWTO.txt for
details.

                      Pekka

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Documentation] Use doxygen or another tool to generate a documentation ?
  2005-08-19 21:46 ` Pekka Enberg
@ 2005-08-19 23:23   ` Stephane Wirtel
  2005-08-20  7:41     ` Sam Ravnborg
  0 siblings, 1 reply; 10+ messages in thread
From: Stephane Wirtel @ 2005-08-19 23:23 UTC (permalink / raw)
  To: Pekka Enberg; +Cc: Stephane Wirtel, linux-kernel

Le Saturday 20 August 2005 a 00:08, Pekka Enberg ecrivait: 
> On 8/20/05, Stephane Wirtel <stephane.wirtel@belgacom.net> wrote:
> > I don't know if there is a project based on Doxygen to make
> > (or generate) a documentation of the kernel.
> > 
> > Do you think that will be interesting to make a such document ?
> 
> The kernel already has it's own API documentation generator called
> kerneldoc. See the file Documentation/kernel-doc-nano-HOWTO.txt for
> details.

Ok, with scripts/kernel-doc, I can produce some html files containing 
the functions' documentation.

make pdfdocs or others targets don't work :|

Do you have ideas ?

Thanks
-- 
Stephane Wirtel <stephane.wirtel@belgacom.net>
                <stephane.wirtel@gmail.com>



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Documentation] Use doxygen or another tool to generate a documentation ?
  2005-08-19 23:23   ` Stephane Wirtel
@ 2005-08-20  7:41     ` Sam Ravnborg
  2005-08-20  9:19       ` Stephane Wirtel
  0 siblings, 1 reply; 10+ messages in thread
From: Sam Ravnborg @ 2005-08-20  7:41 UTC (permalink / raw)
  To: Stephane Wirtel; +Cc: Pekka Enberg, linux-kernel

> 
> Ok, with scripts/kernel-doc, I can produce some html files containing 
> the functions' documentation.
> 
> make pdfdocs or others targets don't work :|

You probarly need some additional packages.
But it's not easy to help you with no log of what happened.

	Sam

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Documentation] Use doxygen or another tool to generate a documentation ?
  2005-08-20  7:41     ` Sam Ravnborg
@ 2005-08-20  9:19       ` Stephane Wirtel
  2005-08-20 17:37         ` Sam Ravnborg
  0 siblings, 1 reply; 10+ messages in thread
From: Stephane Wirtel @ 2005-08-20  9:19 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: Stephane Wirtel, Pekka Enberg, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 626 bytes --]

Le Saturday 20 August 2005 a 09:08, Sam Ravnborg ecrivait: 
> > 
> > Ok, with scripts/kernel-doc, I can produce some html files containing 
> > the functions' documentation.
> > 
> > make pdfdocs or others targets don't work :|
> 
> You probarly need some additional packages.
> But it's not easy to help you with no log of what happened.
Yes, sorry, 

Kernel : 2.6.12 from the git repository of Linus.

In make_docs.log.tar.bz2, you can find log files from make htmldocs,
make psdocs and make pdfdocs.

Thanks, 

			Stephane



-- 
Stephane Wirtel <stephane.wirtel@belgacom.net>
                <stephane.wirtel@gmail.com>



[-- Attachment #2: make_docs.log.tar.bz2 --]
[-- Type: application/octet-stream, Size: 3152 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Documentation] Use doxygen or another tool to generate a documentation ?
  2005-08-20  9:19       ` Stephane Wirtel
@ 2005-08-20 17:37         ` Sam Ravnborg
  2005-08-21 12:28           ` Stephane Wirtel
  2005-08-21 15:12           ` Martin Waitz
  0 siblings, 2 replies; 10+ messages in thread
From: Sam Ravnborg @ 2005-08-20 17:37 UTC (permalink / raw)
  To: Stephane Wirtel, Martin Waitz; +Cc: Pekka Enberg, linux-kernel

On Sat, Aug 20, 2005 at 11:19:41AM +0200, Stephane Wirtel wrote:
> Le Saturday 20 August 2005 a 09:08, Sam Ravnborg ecrivait: 
> > > 
> > > Ok, with scripts/kernel-doc, I can produce some html files containing 
> > > the functions' documentation.
> > > 
> > > make pdfdocs or others targets don't work :|
> > 
> > You probarly need some additional packages.
> > But it's not easy to help you with no log of what happened.
> Yes, sorry, 
> 
> Kernel : 2.6.12 from the git repository of Linus.
> 
> In make_docs.log.tar.bz2, you can find log files from make htmldocs,
> make psdocs and make pdfdocs.

>From your log-files I could not see what went wrong. It seems to be
error in the generated files.
Maybe Martin can help - Martin?

	Sam

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Documentation] Use doxygen or another tool to generate a documentation ?
  2005-08-20 17:37         ` Sam Ravnborg
@ 2005-08-21 12:28           ` Stephane Wirtel
  2005-08-21 15:12           ` Martin Waitz
  1 sibling, 0 replies; 10+ messages in thread
From: Stephane Wirtel @ 2005-08-21 12:28 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: Stephane Wirtel, Martin Waitz, Pekka Enberg, linux-kernel

Le Saturday 20 August 2005 a 19:08, Sam Ravnborg ecrivait: 
> On Sat, Aug 20, 2005 at 11:19:41AM +0200, Stephane Wirtel wrote:
> > Le Saturday 20 August 2005 a 09:08, Sam Ravnborg ecrivait: 
> > > > 
> > > > Ok, with scripts/kernel-doc, I can produce some html files containing 
> > > > the functions' documentation.
> > > > 
> > > > make pdfdocs or others targets don't work :|
> > > 
> > > You probarly need some additional packages.
> > > But it's not easy to help you with no log of what happened.
> > Yes, sorry, 
> > 
> > Kernel : 2.6.12 from the git repository of Linus.
> > 
> > In make_docs.log.tar.bz2, you can find log files from make htmldocs,
> > make psdocs and make pdfdocs.
> 
> From your log-files I could not see what went wrong. It seems to be
> error in the generated files.
> Maybe Martin can help - Martin?
No news from Martin, 

Sam, Could you generate the documentation in PDF format, and send me ?

Thanks, 

Stephane 
-- 
Stephane Wirtel <stephane.wirtel@belgacom.net>
                <stephane.wirtel@gmail.com>



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Documentation] Use doxygen or another tool to generate a documentation ?
  2005-08-20 17:37         ` Sam Ravnborg
  2005-08-21 12:28           ` Stephane Wirtel
@ 2005-08-21 15:12           ` Martin Waitz
  2005-08-21 18:32             ` Stephane Wirtel
  1 sibling, 1 reply; 10+ messages in thread
From: Martin Waitz @ 2005-08-21 15:12 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: Stephane Wirtel, Pekka Enberg, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 449 bytes --]

hoi :)

On Sat, Aug 20, 2005 at 07:37:06PM +0200, Sam Ravnborg wrote:
> > In make_docs.log.tar.bz2, you can find log files from make htmldocs,
> > make psdocs and make pdfdocs.
> 
> From your log-files I could not see what went wrong. It seems to be
> error in the generated files.

kerneldoc could not understand a macro definition.

please try
http://tali.admingilde.org/patches/linux-docbook/docbook-fixes.patch

-- 
Martin Waitz

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Documentation] Use doxygen or another tool to generate a documentation ?
  2005-08-21 15:12           ` Martin Waitz
@ 2005-08-21 18:32             ` Stephane Wirtel
  2005-08-22  7:45               ` Martin Waitz
  0 siblings, 1 reply; 10+ messages in thread
From: Stephane Wirtel @ 2005-08-21 18:32 UTC (permalink / raw)
  To: Sam Ravnborg, Stephane Wirtel, Pekka Enberg, linux-kernel

\b

> On Sat, Aug 20, 2005 at 07:37:06PM +0200, Sam Ravnborg wrote:
> > > In make_docs.log.tar.bz2, you can find log files from make htmldocs,
> > > make psdocs and make pdfdocs.
> > 
> > From your log-files I could not see what went wrong. It seems to be
> > error in the generated files.
> 
> kerneldoc could not understand a macro definition.
> 
> please try
> http://tali.admingilde.org/patches/linux-docbook/docbook-fixes.patch
Martin, your patch works for the htmldocs target, but not for the
pdfdocs, I think there is a bug in a latex package. I don't know which
one, but it's the same error.

Thanks for your patch, 

Stephane

-- 
Stephane Wirtel <stephane.wirtel@belgacom.net>
                <stephane.wirtel@gmail.com>



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Documentation] Use doxygen or another tool to generate a documentation ?
  2005-08-21 18:32             ` Stephane Wirtel
@ 2005-08-22  7:45               ` Martin Waitz
  0 siblings, 0 replies; 10+ messages in thread
From: Martin Waitz @ 2005-08-22  7:45 UTC (permalink / raw)
  To: Stephane Wirtel; +Cc: Sam Ravnborg, Pekka Enberg, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 394 bytes --]

hoi :)

On Sun, Aug 21, 2005 at 08:32:42PM +0200, Stephane Wirtel wrote:
> Martin, your patch works for the htmldocs target, but not for the
> pdfdocs, I think there is a bug in a latex package. I don't know which
> one, but it's the same error.

yes, some pdfdocs are broken and I haven't found the cause yet.
I guess we have to ditch xmlto, at least for PDF/PS.

-- 
Martin Waitz

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-08-22 22:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-19 21:34 [Documentation] Use doxygen or another tool to generate a documentation ? Stephane Wirtel
2005-08-19 21:46 ` Pekka Enberg
2005-08-19 23:23   ` Stephane Wirtel
2005-08-20  7:41     ` Sam Ravnborg
2005-08-20  9:19       ` Stephane Wirtel
2005-08-20 17:37         ` Sam Ravnborg
2005-08-21 12:28           ` Stephane Wirtel
2005-08-21 15:12           ` Martin Waitz
2005-08-21 18:32             ` Stephane Wirtel
2005-08-22  7:45               ` Martin Waitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox