From: Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>
To: Jonathan Corbet <corbet@lwn.net>
Cc: Michal Marek <mmarek@suse.cz>,
Herbert Xu <herbert@gondor.apana.org.au>,
linux-doc@vger.kernel.org, Stephan Mueller <smueller@chronox.de>,
Daniel Vetter <daniel.vetter@ffwll.ch>,
intel-gfx <intel-gfx@lists.freedesktop.org>,
Randy Dunlap <rdunlap@infradead.org>,
linux-kernel@vger.kernel.org,
dri-devel <dri-devel@lists.freedesktop.org>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Subject: Re: [PATCH v2] scripts/kernel-doc: Adding cross-reference links to html documentation.
Date: Mon, 13 Jul 2015 17:19:42 -0300 [thread overview]
Message-ID: <55A41D5E.2070700@collabora.co.uk> (raw)
In-Reply-To: <20150709175632.49f6ee64@lwn.net>
On 07/09/2015 08:56 PM, Jonathan Corbet wrote:
> On Fri, 26 Jun 2015 12:08:57 -0300
> Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk> wrote:
>
>> To ease the navigation in the documentation we should use <links> inside
>> those tags so readers can easily jump between methods directly.
>>
>> This was discussed in 2014[1] and is implemented by getting a list
>> of <refentries> from the DocBook XML to generate a database. Then it looks
>> for <function>,<structnames> and <paramdef> tags that matches the ones in
>> the database. As it only links existent references, no broken links are
>> added.
>
> So I put a lot more time into this today than I really had available. I
Thanks, I really appreciate that.
> think it's cool stuff, and we definitely want it. But can I ask for one
> more pass? In particular:
>
> - It makes the docs build a lot more noisy, that would be nice to fix.
Fair enough. It was showing all the commands. I did change that to a
fancy "XMLREF Documentation/DocBook/FooBar.xml" message.
>
> - A bit more documentation in the script would be nice. It also is happy
> to run with silly arguments; a detail since nobody will run it
> directly, but still...
I did improve the documentation and also fixed the silly argument thing.
>
> - Most importantly, it breaks "make htmldocs"; in particular, vast
> amounts of error spew results when it gets around to media_api.html. I
> spent a while trying to figure out what was going on but didn't come up
> with anything conclusive; my suspicion is that it has to do with the
> separate makefile in Documentation/DocBook/media/.
I'm not sure about this.
media-api is spitting lots of warnings with or without the documentation
patch.
I compared the number of files and they're the same (excepting those
auxiliary db files). For me, both builds actually spits 2825 lines on
STDERR...
I also did a smoke check in the media-api html documentation and it
looks fine.
Would you mind to check again if it happens with the v3 of my patch I'm
sending next?
Danilo
>
> Thanks,
>
> jon
>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
WARNING: multiple messages have this Message-ID (diff)
From: Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>
To: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org, Randy Dunlap <rdunlap@infradead.org>,
Daniel Vetter <daniel.vetter@ffwll.ch>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Herbert Xu <herbert@gondor.apana.org.au>,
Stephan Mueller <smueller@chronox.de>,
Michal Marek <mmarek@suse.cz>,
linux-kernel@vger.kernel.org,
intel-gfx <intel-gfx@lists.freedesktop.org>,
dri-devel <dri-devel@lists.freedesktop.org>
Subject: Re: [PATCH v2] scripts/kernel-doc: Adding cross-reference links to html documentation.
Date: Mon, 13 Jul 2015 17:19:42 -0300 [thread overview]
Message-ID: <55A41D5E.2070700@collabora.co.uk> (raw)
In-Reply-To: <20150709175632.49f6ee64@lwn.net>
On 07/09/2015 08:56 PM, Jonathan Corbet wrote:
> On Fri, 26 Jun 2015 12:08:57 -0300
> Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk> wrote:
>
>> To ease the navigation in the documentation we should use <links> inside
>> those tags so readers can easily jump between methods directly.
>>
>> This was discussed in 2014[1] and is implemented by getting a list
>> of <refentries> from the DocBook XML to generate a database. Then it looks
>> for <function>,<structnames> and <paramdef> tags that matches the ones in
>> the database. As it only links existent references, no broken links are
>> added.
>
> So I put a lot more time into this today than I really had available. I
Thanks, I really appreciate that.
> think it's cool stuff, and we definitely want it. But can I ask for one
> more pass? In particular:
>
> - It makes the docs build a lot more noisy, that would be nice to fix.
Fair enough. It was showing all the commands. I did change that to a
fancy "XMLREF Documentation/DocBook/FooBar.xml" message.
>
> - A bit more documentation in the script would be nice. It also is happy
> to run with silly arguments; a detail since nobody will run it
> directly, but still...
I did improve the documentation and also fixed the silly argument thing.
>
> - Most importantly, it breaks "make htmldocs"; in particular, vast
> amounts of error spew results when it gets around to media_api.html. I
> spent a while trying to figure out what was going on but didn't come up
> with anything conclusive; my suspicion is that it has to do with the
> separate makefile in Documentation/DocBook/media/.
I'm not sure about this.
media-api is spitting lots of warnings with or without the documentation
patch.
I compared the number of files and they're the same (excepting those
auxiliary db files). For me, both builds actually spits 2825 lines on
STDERR...
I also did a smoke check in the media-api html documentation and it
looks fine.
Would you mind to check again if it happens with the v3 of my patch I'm
sending next?
Danilo
>
> Thanks,
>
> jon
>
next prev parent reply other threads:[~2015-07-13 20:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-24 19:10 [PATCH] scripts/kernel-doc: Adding cross-reference links to html documentation Danilo Cesar Lemes de Paula
2015-06-24 21:22 ` Daniel Vetter
2015-06-26 14:11 ` Danilo Cesar Lemes de Paula
2015-06-26 15:08 ` [PATCH v2] " Danilo Cesar Lemes de Paula
2015-06-26 15:08 ` Danilo Cesar Lemes de Paula
2015-06-30 17:01 ` Daniel Vetter
2015-07-09 23:56 ` Jonathan Corbet
2015-07-13 20:19 ` Danilo Cesar Lemes de Paula [this message]
2015-07-13 20:19 ` Danilo Cesar Lemes de Paula
2015-07-13 20:32 ` [PATCH v3] " Danilo Cesar Lemes de Paula
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55A41D5E.2070700@collabora.co.uk \
--to=danilo.cesar@collabora.co.uk \
--cc=corbet@lwn.net \
--cc=daniel.vetter@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=herbert@gondor.apana.org.au \
--cc=intel-gfx@lists.freedesktop.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mmarek@suse.cz \
--cc=rdunlap@infradead.org \
--cc=smueller@chronox.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.