Giter VIP home page Giter VIP logo

api-site's Introduction

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.

api-site's People

Contributors

dian4554 avatar annegentle avatar ajaeger avatar fifieldt avatar taka-miyagishi avatar bcwaldon avatar berendt avatar jasondunsmore avatar muroi avatar sharwell avatar laurelmichaels avatar pcrews avatar zqfan avatar russell avatar kshatrix avatar kaufers avatar hagiwarayuj avatar dhrish2004 avatar cyrilroelandtenovance avatar dhague avatar jogo avatar maurorodrigues avatar emonty avatar mallow111 avatar liyingjun avatar vishvananda avatar vikomall avatar frostman avatar sc68cal avatar annp1987 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.