openstackdocstheme/.zuul.yaml
Dean Troyer b0166265a8 Add starlingxdocs theme support
At the PTG the Docs team and dhellmann decided that openstackdocstheme
was the proper place to keep the modifications required to build
a theme for StarlingX and other OpenStack Foundation-related projects.

This is a minimal set of changes to support a second theme with a couple
of visual changes thrown in to make obvious that the correct theme
is being used. The remainder of the visual work will follow.
Both PNG and SVG versions of the logo are included.

Add an additional jobs to build the docs and PDF with the new theme.

Modify the wording in README.rst and the docs index page regarding
the distinction between openstackdocstheme the module and openstackdocs
and starlingxdocs the themes and their intended uses.

There are a number of hard-coded OpenStack-isms that will eventually
need to be addressed.

Change-Id: I594136a0ea66d61f60dafc6a853137470efc7d42
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-10-05 06:32:51 +00:00

59 lines
1.7 KiB
YAML

# parent job is defined in openstack-manuals
- job:
name: openstackdocsstheme-tox-manuals-buildpdf
parent: build-tox-manuals-base
vars:
tox_envlist: buildpdf
- job:
name: openstackdocsstheme-tox-manuals-buildpdf-starlingxpdf
parent: build-tox-manuals-base
vars:
tox_envlist: buildpdf-starlingxdocs
- job:
name: openstack-tox-docs-starlingxdocs
parent: openstack-tox-docs
vars:
tox_envlist: docs-starlingxdocs
- project:
templates:
- check-requirements
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- openstackdocsstheme-tox-manuals-buildpdf
- openstackdocsstheme-tox-manuals-buildpdf-starlingxpdf
- openstack-tox-pep8
- build-openstack-api-ref:
# Override files section of the job so that this builds
# if we change the template.
files:
- ^tox.ini$
- ^api-ref/.*
- ^doc/.*$
- ^openstackdocstheme/.*$
- ^.*\.txt$
- ^.*\.rst$
# Run the docs build using the starlingxdocs theme
- openstack-tox-docs-starlingxdocs
gate:
jobs:
- openstackdocsstheme-tox-manuals-buildpdf
- openstackdocsstheme-tox-manuals-buildpdf-starlingxpdf
- openstack-tox-pep8
- build-openstack-api-ref:
files:
- ^tox.ini$
- ^api-ref/.*
- ^doc/.*$
- ^openstackdocstheme/.*$
- ^.*\.txt$
- ^.*\.rst$
- openstack-tox-docs-starlingxdocs
post:
jobs:
- publish-openstack-python-branch-tarball