All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: George Dunlap <george.dunlap@citrix.com>, Wei Liu <wei.liu2@citrix.com>
Cc: "Lars Kurth" <lars.kurth@citrix.com>,
	"Stefano Stabellini" <sstabellini@kernel.org>,
	"Konrad Rzeszutek Wilk" <konrad.wilk@oracle.com>,
	"George Dunlap" <George.Dunlap@eu.citrix.com>,
	Xen-devel <xen-devel@lists.xen.org>,
	"Julien Grall" <julien.grall@arm.com>,
	"Jan Beulich" <JBeulich@suse.com>,
	"Ian Jackson" <ian.jackson@citrix.com>,
	"Roger Pau Monné" <roger.pau@citrix.com>
Subject: Re: [PATCH 0/3] docs: User oriented documentation
Date: Wed, 20 Mar 2019 16:51:33 +0000	[thread overview]
Message-ID: <ccd50530-5539-7f75-3a49-b7c957f109d1@citrix.com> (raw)
In-Reply-To: <294e6fd7-1f54-ba4d-3a52-9119844903ec@citrix.com>

On 20/03/2019 16:49, George Dunlap wrote:
> On 3/20/19 12:02 PM, Wei Liu wrote:
>> On Wed, Mar 20, 2019 at 11:35:10AM +0000, Andrew Cooper wrote:
>>> On 20/03/2019 11:28, Wei Liu wrote:
>>>> On Wed, Mar 20, 2019 at 11:23:57AM +0000, Andrew Cooper wrote:
>>>>> On 20/03/2019 11:20, Wei Liu wrote:
>>>>>> On Tue, Mar 19, 2019 at 04:20:04PM +0000, Andrew Cooper wrote:
>>>>>>> This is a project I've been musing over for a long time now, to try and
>>>>>>> address Xen's almost complete absense of documentation.
>>>>>>>
>>>>>>> This series, plus some other in-progress conversion of the command line doc,
>>>>>>> is available to view at:
>>>>>>>
>>>>>>>   https://andrewcoop-xen.readthedocs.io/en/latest/
>>>>>>>
>>>>>>> This is read-the-docs's automatic CI build of documentation from a branch on
>>>>>>> gitlab.  Observe that the docs don't look like they are out of the 90's, and
>>>>>>> are automatically translated into PDF and ePUB format as well.
>>>>>>>
>>>>>>> In due course I'll see about updating xenbits.xen.org/docs to render this as
>>>>>>> well, but I don't have sufficient tuits at the moment.
>>>>>>>
>>>>>>> Andrew Cooper (3):
>>>>>>>   docs/sphinx: Skeleton setup
>>>>>>>   docs/rst: Use pandoc to render ReStructuredText
>>>>>>>   docs/admin-guide: Boot time microcode loading
>>>>>> I don't think these changes introduce new dependencies in the build.
>>>>>> Assuming my observation is correct:
>>>>>>
>>>>>> Acked-by: Wei Liu <wei.liu2@citrix.com>
>>>>> In the short term, no.  In due course, we'll need virtualenv and a bit
>>>>> more integration for anyone wanting to build the sphinx tree locally,
>>>>> but I'm fairly sure we get virtualenv automatically by already having
>>>>> python as a build dependency.
>>>> I don't think python depends on virtualenv -- it's the other way around
>>>> on Debian.
>>>>
>>>> Using virtualenv can isolate build from host python, but that's it.  I
>>>> don't think virtualenv is a hard dependency . Distros already package
>>>> sphinx.
>>> The point of using virtualenv is to get a known-compatible set of
>>> dependencies.  See docs/sphinx/requirements.txt in patch 1.
>>>
>>> Use of the distro-packaged versions of sphinx/rtd-theme/docutils may
>>> work, but can be very hit-and-miss.
>> They can be fixed in due course.
>>
>> In any case, I don't think virtualenv is a hard requirement -- I was
>> thinking more along the line of developer / packager workflow. I think
>> it would be beneficial to have this series in tree, so people can
>> join the effort.
>>
>> What to do on xenbits is another matter.
> It seems like setting up a suitable sphinx environment should be done by
> the user (perhaps with some pointers).  Our make system shouldn't be
> creating its own virtual environment.  Having some scripts in
> automation/ would be useful, but it should be separate from the main doc
> build.

This patch series very deliberately doesn't set up a virtualenv,
(because doing that automatically is not something I'm happy with Xen's
makefiles doing) but does have minimal instructions beside the build
target and one file committed into the tree to allow users to do it
easily.  See patch 1.

~Andrew

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

      reply	other threads:[~2019-03-20 16:51 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-19 16:20 [PATCH 0/3] docs: User oriented documentation Andrew Cooper
2019-03-19 16:20 ` [PATCH 1/3] docs/sphinx: Skeleton setup Andrew Cooper
2019-03-19 16:20 ` [PATCH 2/3] docs/rst: Use pandoc to render ReStructuredText Andrew Cooper
2019-03-19 16:20 ` [PATCH 3/3] docs/admin-guide: Boot time microcode loading Andrew Cooper
2019-03-19 16:40   ` Jan Beulich
2019-03-20 11:20 ` [PATCH 0/3] docs: User oriented documentation Wei Liu
2019-03-20 11:23   ` Andrew Cooper
2019-03-20 11:28     ` Wei Liu
2019-03-20 11:35       ` Andrew Cooper
2019-03-20 11:49         ` Ian Jackson
2019-03-20 12:36           ` Andrew Cooper
2019-03-20 16:43             ` Ian Jackson
2019-03-20 16:47               ` Andrew Cooper
2019-03-20 12:02         ` Wei Liu
2019-03-20 16:49           ` George Dunlap
2019-03-20 16:51             ` Andrew Cooper [this message]

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=ccd50530-5539-7f75-3a49-b7c957f109d1@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=George.Dunlap@eu.citrix.com \
    --cc=JBeulich@suse.com \
    --cc=george.dunlap@citrix.com \
    --cc=ian.jackson@citrix.com \
    --cc=julien.grall@arm.com \
    --cc=konrad.wilk@oracle.com \
    --cc=lars.kurth@citrix.com \
    --cc=roger.pau@citrix.com \
    --cc=sstabellini@kernel.org \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.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.