All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@citrix.com>
To: Andrew Cooper <andrew.cooper3@citrix.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	Ian Jackson <Ian.Jackson@citrix.com>,
	Lars Kurth <lars.kurth@xen.org>,
	xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: Missing Xen ARM documentation on the website
Date: Wed, 17 Jun 2015 10:51:23 +0100	[thread overview]
Message-ID: <5581431B.9060404@citrix.com> (raw)
In-Reply-To: <5580C6BB.4020401@citrix.com>

Hi,

On 17/06/2015 02:00, Andrew Cooper wrote:
> On 16/06/2015 23:35, Julien Grall wrote:
>> Hi,
>>
>> It seems that the online documentation [1] doesn't contain the ARM
>> part. It's a directory under docs/misc.
>>
>> I'm happy to fix it if someone point me to the scripts which generate
>> the online doc.
>>
>> Regards,
>>
>> [1] http://xenbits.xen.org/docs/unstable/
>>
>
> It looks like you just need to extend the globs in the "Documentation
> sources" section near the top of docs/Makefile.  They currently don't
> recurse into misc/arm/.  Perhaps also a tweak to docs/gen-html-index,
> but it looks as if it should be able to cope with subdirectories.

It looks that gen-html-index needs to be modified. When you have 2 file 
with the same name, the final result it:

<li><a href="arm/passthrough.txt">passthrough</a></li>
<li><a href="arm/device-tree/passthrough.txt">passthrough</a></li>

I guess we want to print the directory name (or something similar) and 
add another layer of indentation:
    Misc
      Arm
        passthrough
        device-tree
           passthrough

> It might be worth using $(shell find $XXX) to collect all documents of a
> specific src type, which would be more resilient to addition of new
> subdirs in the future.  The rest of the makefile should be able to cope.

Good idea.

Regards,

-- 
Julien Grall

  reply	other threads:[~2015-06-17  9:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-16 22:35 Missing Xen ARM documentation on the website Julien Grall
2015-06-17  1:00 ` Andrew Cooper
2015-06-17  9:51   ` Julien Grall [this message]
2015-06-17 10:10     ` Ian Campbell
2015-06-17 14:01       ` Julien Grall

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=5581431B.9060404@citrix.com \
    --to=julien.grall@citrix.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@citrix.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=lars.kurth@xen.org \
    --cc=xen-devel@lists.xenproject.org \
    /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.