03e400ba70
test.py is a modified copy of validate.py. I introduced a new name to not cause race conditions with the existing Jenkins job which actually uses validate.py. This patch introduces the following new parameters and changes the default behaviour of the script. By default the script will do nothing. --check-build: With this parameter the script tries to build all books affected by modified files. --check-syntax: With this parameter the script checks if modified files are still using valid XML syntax. --with-niceness: Using this parameter together with --check-syntax will also check the syntax for niceness issues (for example trailing whitespaces). --non-voting: With this parameter set the script always returns 0 as exit code. Possible Jenkins jobs: ./tools/test.py --check-build ./tools/test.py --check-syntax ./tools/test.py --check-syntax --with-niceness --non-voting The force parameter is also available (as in validate.py). But I think it's not meaningful to force the build of all books or the syntax check of all files because this will result again in very long runtimes. We should not use the --non-voting parameter on Jenkins. It should be possible to simply define non-voting jobs. Then the job is failed in the review request, but Jenkins still gives +1. Change-Id: I2ed6f80beb109c60bd7f0ca2417426f776383973 |
||
---|---|---|
.tx | ||
doc/src/docbkx | ||
tools | ||
www | ||
.gitignore | ||
.gitreview | ||
LICENSE | ||
README.rst |
Openstack Manuals
This repository contains the cloud administrator documentation for the OpenStack project. It includes documentation for:
- OpenStack Compute
- OpenStack Identity Service
- OpenStack Image Service
- OpenStack Object Storage
- OpenStack Dashboard
- OpenStack Network Connectivity
- OpenStack Volumes
For more details, see the OpenStack Documentation HowTo wiki page.
In addition to the guides, this repository contains:
- api.openstack.org:
doc/src/docbkx/openstack-api-site
- docs.openstack.org:
www
Prerequisites
Apache Maven must be installed to build the documentation.
To install Maven 3 for Ubuntu 12.04 and later,and Debian wheezy and later:
apt-get install maven
On Fedora 15 and later:
yum install maven3
Building
The different manuals are in subdirectories of the
openstack-manuals/doc/src/docbkx
directory.
For example, the root directory of the OpenStack Compute
Administration Guide is
openstack-manuals/doc/src/docbkx/openstack-compute-admin
.
To build a specific guide, look for a pom.xml
file
within a subdirectory, then run the mvn
command in that
directory. For example:
cd openstack-manuals/doc/src/docbkx/openstack-compute-admin
mvn clean generate-sources
The generated PDF documentation file is:
openstack-manuals/doc/src/docbkx/openstack-compute-admin/target/docbkx/webhelp/trunk/openstack-compute/admin/os-compute-adminguide-trunk.pdf
The root of the generated HTML documentation is:
openstack-manuals/doc/src/docbkx/openstack-compute-admin/target/docbkx/webhelp/os-compute-adminguide/content/index.html
Contributing
Our community welcomes all people interested in open source cloud
computing, and there are no formal membership requirements. The best way
to join the community is to talk with others online or at a meetup and
offer contributions through Launchpad, the OpenStack wiki, blogs, or on IRC at
#openstack
on irc.freenode.net
.
We welcome all types of contributions, from blueprint designs to documentation to testing to deployment scripts.
Installing
Refer to http://docs.openstack.org to see where these documents are published and to learn more about the OpenStack project.