OpenStack API site
Go to file
Shane Gleeson d295a15851 Fix bug #1379883 Confusion between roles and domains
Moved Grant, Check and Revoke role for domain user to the domain section of the api-ref instead of the role section. This keeps everything consistent.

Change-Id: I67b3aa53305cd8fa35166bf46dbb2c3e60178b49
Closes-Bug: #1379883
2015-02-10 13:57:35 +00:00
api-guide Imported Translations from Transifex 2015-01-27 06:02:03 +00:00
api-quick-start Adds escape characters around default openrc env variables 2015-01-23 21:05:37 -06:00
api-ref Fix bug #1379883 Confusion between roles and domains 2015-02-10 13:57:35 +00:00
api-ref-guides Imported Translations from Transifex 2015-01-31 06:02:41 +00:00
tools Ignore <option> tags in generatepot 2015-01-01 20:39:34 +08:00
www Adds the common OpenStack client, sahara client, and trove client 2014-12-04 07:55:02 -06:00
.gitignore Enable building of translated manuals 2014-04-24 20:14:13 +02:00
.gitreview Complete api-site split from openstack-manuals. 2012-09-25 10:20:38 -07:00
LICENSE bug 944097 adding apache license to openstack-manuals repo 2012-03-09 08:37:46 -06:00
README.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:35 +00:00
doc-test.conf Change comments for developer.o.o 2014-05-09 16:43:06 +02:00
doc-tools-check-languages.conf Add doc-tools-check-languages.conf 2014-08-16 06:53:48 +02:00
pom.xml Update to clouddocs-maven-plugin 2.1.3 2014-09-22 19:56:41 +02:00
test-requirements.txt Updated from global requirements 2015-01-27 02:25:52 +00:00
tox.ini Make sure that tox uses python2 by default 2014-10-31 08:40:25 +01:00

README.rst

API-Site repository

This repository contains documentation for the OpenStack project.

For more details, see the OpenStack Documentation wiki page.

It includes these pages and PDFs:

  • API Quick Start
  • API Complete Reference (web pages)
  • API Reference PDFs
  • API Guide (in progress)

In addition to these, this repository contains:

  • developer.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 20 and later:

yum install maven

Build and update API docs

For more details about the Gerrit workflow, see Gerrit Workflow.

To build and updates any of the API documents:

  1. Open a Terminal window.

  2. Change into a directory where you want to clone api-site.

  3. Run this command to clone openstack/api-site:

    git clone https://github.com/openstack/api-site
  4. CD into the api-site directory.

  5. Run these commands to ensure you have the latest changes:

    git remote update
    git checkout master
    git pull origin master
  6. To checkout a new branch:

    git checkout -b "*my_branch*"

    Otherwise, to checkout an existing review:

    git review d change-number /* where change-number is the change number of the review
  7. Make your changes.

  8. Run this command to build the docs locally:

    mvn clean generate-sources
  9. To check in your changes, see Gerrit Workflow.

  • The root of the generated HTML (API site) documentation is:

    api-site/api-ref/target/docbkx/html/api-ref.html
  • The root of the generated API guide (in progress) is:

    api-site/api-guide/target/docbkx/webhelp/api-guide/index.html
  • The generated PDFs for the API pages are at:

    api-site/api-ref-guides/target/docbkx/pdf/*.pdf
  • The root of the API quick start is at:

    api-site/api-quick-start/target/docbkx/webhelp/api-quick-start-onepager-external/api-quick-start-onepager.pdf

Run tests

Install the python tox package and run tox from the top-level directory to use the same tests that are done as part of our Jenkins gating jobs.

If you like to run individual tests, run:

  • tox -e checkniceness - to run the niceness tests
  • tox -e checksyntax - to run syntax checks
  • tox -e checkdeletions - to check that no deleted files are referenced
  • tox -e checkbuild - to actually build the manual

tox will use the openstack-doc-tools package for execution of these tests. openstack-doc-tools has a requirement on maven for the build check.

Contribute

Our community welcomes all people interested in open source cloud computing, and encourages you to join the OpenStack Foundation.

The best way to get involved with the community is to talk with others online or at a meetup and offer contributions through our processes, 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.

If you would like to contribute to the documents, please see the Documentation HowTo.

Bugs

Bugs should be filed on Launchpad, and not GitHub:

https://bugs.launchpad.net/openstack-api-site/

Install

See OpenStack to learn more about the OpenStack project.