diff options
author | Monty Taylor <mordred@inaugust.com> | 2012-06-13 15:55:21 -0400 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2012-06-14 14:24:05 -0400 |
commit | 6e1157059efdaed3a0d638efc6b4a1e4db955832 (patch) | |
tree | 15c3b9064ad6765ec94a8c013ce7754189b56798 /doc | |
parent | a8d7043266a5cb070b602b13cf7a7421cffe8467 (diff) | |
download | python-glanceclient-6e1157059efdaed3a0d638efc6b4a1e4db955832.tar.gz |
Add initial docs.0.1.0
Change-Id: I1f8407597105a914945c932ff55945c8005e273c
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/conf.py | 60 | ||||
-rw-r--r-- | doc/source/index.rst | 17 |
2 files changed, 77 insertions, 0 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py new file mode 100644 index 0000000..2e295e7 --- /dev/null +++ b/doc/source/conf.py @@ -0,0 +1,60 @@ +# -*- coding: utf-8 -*- +# + +import sys, os + +project = 'python-glanceclient' + +# -- General configuration ----------------------------------------------------- + +# Add any Sphinx extension module names here, as strings. They can be extensions +# coming with Sphinx (named 'sphinx.ext.*') or your custom ones. +extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx'] + +# autodoc generation is a bit aggressive and a nuisance when doing heavy +# text edit cycles. +# execute "export SPHINX_DEBUG=1" in your terminal to disable + +# Add any paths that contain templates here, relative to this directory. +templates_path = ['_templates'] + +# The suffix of source filenames. +source_suffix = '.rst' + +# The master toctree document. +master_doc = 'index' + +# General information about the project. +copyright = u'OpenStack LLC' + +# If true, '()' will be appended to :func: etc. cross-reference text. +add_function_parentheses = True + +# If true, the current module name will be prepended to all description +# unit titles (such as .. function::). +add_module_names = True + +# The name of the Pygments (syntax highlighting) style to use. +pygments_style = 'sphinx' + +# -- Options for HTML output --------------------------------------------------- + +# The theme to use for HTML and HTML Help pages. Major themes that come with +# Sphinx are currently 'default' and 'sphinxdoc'. +html_theme = 'nature' + +# Output file base name for HTML help builder. +htmlhelp_basename = '%sdoc' % project + + +# Grouping the document tree into LaTeX files. List of tuples +# (source start file, target name, title, author, documentclass [howto/manual]). +latex_documents = [ + ('index', + '%s.tex' % project, + u'%s Documentation' % project, + u'OpenStack LLC', 'manual'), +] + +# Example configuration for intersphinx: refer to the Python standard library. +intersphinx_mapping = {'http://docs.python.org/': None} diff --git a/doc/source/index.rst b/doc/source/index.rst new file mode 100644 index 0000000..b06aa4e --- /dev/null +++ b/doc/source/index.rst @@ -0,0 +1,17 @@ +Python bindings to the OpenStack Images API +=========================================== + +This is a client for OpenStack Images API. Contents: + +.. toctree:: + :maxdepth: 1 + + api/autoindex + +Indices and tables +================== + +* :ref:`genindex` +* :ref:`modindex` +* :ref:`search` + |