OpenStack API site
Go to file
Tony Breeds 47b401f9eb Add Pillow to test-requirements.txt
Pillow isn't directly needed but it's pulled in via
 Collecting Pillow (from blockdiag>=1.5.0->nwdiag ...)
So cap as per global-requirements until https://launchpad.net/bugs/1501995
is properly fixed

Change-Id: Ie4c35d0416219eeea494db31b1485559337e353b
2015-10-02 15:03:20 +10:00
api-guide Imported Translations from Zanata 2015-09-16 17:56:51 +00:00
api-quick-start Imported Translations from Zanata 2015-09-16 17:56:51 +00:00
api-ref Merge "Add sections describing experimental API" 2015-10-01 15:56:51 +00:00
api-ref-guides Add Shared File Systems API v1,v2 sections 2015-09-30 17:26:52 +03:00
common-rst Updated from openstack-manuals 2015-10-01 09:11:58 +00:00
firstapp Merge "Finish section 1 of fog's firstapp tutorial." 2015-10-01 13:23:08 +00:00
tools Adding tutorial for OpenStack Shade library 2015-08-11 11:35:22 -07:00
www Add missing closing tags in index.html file 2015-08-29 20:11:42 +02:00
.gitignore FirstApp: Move source directory up, rename top-level dir 2015-05-01 17:22:46 +02:00
.gitreview Complete api-site split from openstack-manuals. 2012-09-25 10:20:38 -07:00
doc-test.conf Fixes for syntax check 2015-08-12 13:42:05 +02:00
doc-tools-check-languages.conf Blacklist common-rst for translation 2015-07-23 20:39:47 +02:00
LICENSE bug 944097 adding apache license to openstack-manuals repo 2012-03-09 08:37:46 -06:00
pom.xml Updates pom.xml to use 2.1.4 clouddocs-maven-plugin 2015-04-17 10:38:02 -05:00
README.rst Update README.md for repo project 2015-08-18 07:26:23 +00:00
test-requirements.txt Add Pillow to test-requirements.txt 2015-10-02 15:03:20 +10:00
tox.ini Merge "Always check all files with syntax check" 2015-08-12 20:09:06 +00:00

API-Site repository

This repository contains documentation for the OpenStack project.

For details, see the OpenStack Documentation wiki page, which includes these pages and PDFs:

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

In addition to these documents, this repository contains:

  • developer.openstack.org: www
  • Writing your first OpenStack application tutorial (in progress): firstapp

Prerequisites

To build the documentation, you must install Apache Maven.

To install Maven 3 for Ubuntu 12.04 or later or Debian 7 ("wheezy") or later:

apt-get install maven

On Fedora 20 or later:

yum install maven

To run tests, you must install Python Tox.

To install Tox for Ubuntu 14.04 or later:

apt-get install python-tox python-dev libxml2-dev libxslt1-dev

"Writing your First OpenStack Application" tutorial

To build the "Writing your first OpenStack application" tutorial, you must install Graphviz.

To install Graphviz for Ubuntu 12.04 or later or Debian 7 ("wheezy") or later:

apt-get install graphviz

On Fedora 22 and later:

dnf install graphviz

On openSUSE:

zypper install graphviz

On Mac OSX with Homebrew installed:

brew install graphviz

Build and update API docs

To complete code reviews in this repository, use the standard OpenStack Gerrit workflow . For details, see Gerrit Workflow.

To build and update 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://git.openstack.org/openstack/api-site
  4. CD into the api-site directory.

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

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

    git checkout -b "*my_branch*"

    Otherwise, to check out 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

#. 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

To use the same tests that are used as part of our Jenkins gating jobs, install the Python tox package and run tox from the top-level directory.

To run individual tests:

  • tox -e checkniceness - Niceness tests
  • tox -e checksyntax - Syntax checks
  • tox -e checkdeletions - Verifies that no deleted files are referenced
  • tox -e checkbuild - Builds the manual

To run these tests, the Tox package uses the OpenStack doc tools package.

The OpenStack doc tools require Maven for the build check.

Contribute

Our community welcomes everyone who is 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.

To contribute to the documents, see Documentation HowTo.

Bugs

File bugs on Launchpad and not through GitHub:

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

Install

To learn more about the OpenStack project, see OpenStack.