All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: [PATCH] docs: install documentation which is referenced in man pages
Date: Wed, 13 Jun 2012 09:58:54 +0200	[thread overview]
Message-ID: <20120613075853.GA22553@aepfle.de> (raw)
In-Reply-To: <1339514061.24104.81.camel@zakaz.uk.xensource.com>

On Tue, Jun 12, Ian Campbell wrote:

> On Mon, 2012-06-11 at 16:56 +0100, Olaf Hering wrote:
> > xl.cfg.5 refers to non-existant files named xl-disk-configuration and
> > xl-network-configuration. Adjust to new DOCDIR location.
> 
> The reason for omitting the extension is that it can be .html or .txt
> depending on the context which the link is given in.

How is that link ' F<xl-network-configuration>' supposed to be filled?
I think F refers to a local filename.


> > +DOC_MAN_REFS    := misc/sedf_scheduler_mini-HOWTO.txt \
> > +			misc/xl-disk-configuration.txt \
> > +			misc/vbd-interface.txt \
> > +			misc/xl-network-configuration.markdown
> 
> Any reason not to install the whole of $(DOC_TXT) instead of just this
> subset?

Most of it looks like developer documentation to me. In the end
kexec_and_kdump.txt, vtd.txt and perhaps the xen cmdline docu could be
installed in addition to the files above.

> > diff -r a70b35deb2b5 -r d5280420afc9 docs/man/xl.cfg.pod.5
> > --- a/docs/man/xl.cfg.pod.5
> > +++ b/docs/man/xl.cfg.pod.5
> > @@ -255,13 +255,13 @@ devices which the guest will contain.
> >  
> >  Specifies the disks (both emulated disks and Xen virtual block
> >  devices) which are to be provided to the guest, and what objects on
> > -the they should map to.  See F<docs/misc/xl-disk-configuration.txt>.
> > +the they should map to.  See F<@DOCDIR@/xl-disk-configuration.txt>.
> >  
> >  =item B<vif=[ "NET_SPEC_STRING", "NET_SPEC_STRING", ...]>
> >  
> >  Specifies the networking provision (both emulated network adapters,
> >  and Xen virtual interfaces) to provided to the guest.  See
> > -F<docs/misc/xl-network-configuration.markdown>.
> > +F<@DOCDIR@/xl-network-configuration.markdown>.
> 
> I'm slightly concerned about what all this will mean for the HTML
> generated docs, in particular the ones hosted at
> http://xenbits.xen.org/docs/unstable/. Currently they aren't actual
> working links there but they do at least reference the real path in the
> source tree.

I think the tool which generates the html files could be smarter and
turn the string 'F<@DOCDIR@' into a html link.

> At the very least it would be simpler to deal with this if the misc part
> of the path was retainined, both in these references and in the actual
> install location (e.g. @DOCDIR@/misc).

I will change that part and put it into a /misc directory.

Olaf

  reply	other threads:[~2012-06-13  7:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-11 15:56 [PATCH] docs: install documentation which is referenced in man pages Olaf Hering
2012-06-12 15:14 ` Ian Campbell
2012-06-13  7:58   ` Olaf Hering [this message]
2012-06-13  8:06     ` Ian Campbell
2012-06-13 13:13       ` Olaf Hering
2012-06-26 16:19         ` Ian Campbell

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=20120613075853.GA22553@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=Ian.Campbell@citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /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.