← Back to team overview

openstack-doc-core team mailing list archive

Re: Tox builds - individual books?

 

On 06/11/2015 08:01 AM, Lana Brindley wrote:

On 11 Jun 2015, at 1:59 pm, Andreas Jaeger <aj@xxxxxxxx> wrote:

On 06/11/2015 05:06 AM, Lana Brindley wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everyone,

Just curious, is there the will (and ability of course), to set up our
RST books so that tox can run them individually? I did a bit of poking
around (with Matt's help), and it seems as though only the Networking
Guide is set up that way, but it should be simple enough to change
tox.ini to have a [testenv:bookname] for each one. Am I on the right
track here, or is there something obvious I'm missing?

You're on the right track.

This can be easily added but haven't done it since building is really quick and I wanted to avoid too much duplication that needed to be changed. Also, with common files, it's good to build all guides at the same time.

This is true.


Btw. you can also just run the commands manually.

Can we document this somewhere? This will probably be good enough.

Yeah, we can document this on the howto section...




Why do you want to do this?

It came up because some of my team were complaining about the lag having to run it over all books for quick changes.

If it indeed is a problem, we can readd these to tox.ini. Patches are welcome...

Andreas
--
 Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
  SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton,
       HRB 21284 (AG Nürnberg)
    GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126



Follow ups

References