Skip to content

Commit

Permalink
Initial cut at documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dims committed Jan 11, 2017
1 parent 3220a96 commit 0ca9210
Show file tree
Hide file tree
Showing 17 changed files with 4,890 additions and 0 deletions.
82 changes: 82 additions & 0 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# -*- coding: utf-8 -*-
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import os
import sys

from recommonmark.parser import CommonMarkParser

sys.path.insert(0, os.path.abspath('../..'))
# -- General configuration ----------------------------------------------------

source_parsers = {
'.md': CommonMarkParser,
}

source_suffix = ['.rst', '.md']

# 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

# The suffix of source filenames.
source_suffix = '.rst'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = u'kubernetes-python-client'
copyright = u'2017, Kubernetes'

# 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_path = ["."]
# html_theme = '_theme'
# html_static_path = ['static']

# 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'Kubernetes', 'manual'),
]

# Example configuration for intersphinx: refer to the Python standard library.
#intersphinx_mapping = {'http://docs.python.org/': None}
4 changes: 4 additions & 0 deletions doc/source/contributing.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
============
Contributing
============
.. include:: ../../CONTRIBUTING.md
26 changes: 26 additions & 0 deletions doc/source/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
.. kubernetes-python-client documentation master file, created by
sphinx-quickstart on Tue Jul 9 22:26:36 2013.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to kubernetes-python-client's documentation!
========================================================

Contents:

.. toctree::
:maxdepth: 2

readme
installation
usage
modules
contributing

Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

12 changes: 12 additions & 0 deletions doc/source/installation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
============
Installation
============

At the command line::

$ pip install kubernetes

Or, if you have virtualenvwrapper installed::

$ mkvirtualenv kubernetes
$ pip install kubernetes
222 changes: 222 additions & 0 deletions doc/source/kubernetes.client.apis.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,222 @@
kubernetes.client.apis package
==============================

Submodules
----------

kubernetes.client.apis.apis_api module
--------------------------------------

.. automodule:: kubernetes.client.apis.apis_api
:members:
:undoc-members:
:show-inheritance:

kubernetes.client.apis.apps_api module
--------------------------------------

.. automodule:: kubernetes.client.apis.apps_api
:members:
:undoc-members:
:show-inheritance:

kubernetes.client.apis.apps_v1beta1_api module
----------------------------------------------

.. automodule:: kubernetes.client.apis.apps_v1beta1_api
:members:
:undoc-members:
:show-inheritance:

kubernetes.client.apis.authentication_api module
------------------------------------------------

.. automodule:: kubernetes.client.apis.authentication_api
:members:
:undoc-members:
:show-inheritance:

kubernetes.client.apis.authentication_v1beta1_api module
--------------------------------------------------------

.. automodule:: kubernetes.client.apis.authentication_v1beta1_api
:members:
:undoc-members:
:show-inheritance:

kubernetes.client.apis.authorization_api module
-----------------------------------------------

.. automodule:: kubernetes.client.apis.authorization_api
:members:
:undoc-members:
:show-inheritance:

kubernetes.client.apis.authorization_v1beta1_api module
-------------------------------------------------------

.. automodule:: kubernetes.client.apis.authorization_v1beta1_api
:members:
:undoc-members:
:show-inheritance:

kubernetes.client.apis.autoscaling_api module
---------------------------------------------

.. automodule:: kubernetes.client.apis.autoscaling_api
:members:
:undoc-members:
:show-inheritance:

kubernetes.client.apis.autoscaling_v1_api module
------------------------------------------------

.. automodule:: kubernetes.client.apis.autoscaling_v1_api
:members:
:undoc-members:
:show-inheritance:

kubernetes.client.apis.batch_api module
---------------------------------------

.. automodule:: kubernetes.client.apis.batch_api
:members:
:undoc-members:
:show-inheritance:

kubernetes.client.apis.batch_v1_api module
------------------------------------------

.. automodule:: kubernetes.client.apis.batch_v1_api
:members:
:undoc-members:
:show-inheritance:

kubernetes.client.apis.batch_v2alpha1_api module
------------------------------------------------

.. automodule:: kubernetes.client.apis.batch_v2alpha1_api
:members:
:undoc-members:
:show-inheritance:

kubernetes.client.apis.certificates_api module
----------------------------------------------

.. automodule:: kubernetes.client.apis.certificates_api
:members:
:undoc-members:
:show-inheritance:

kubernetes.client.apis.certificates_v1alpha1_api module
-------------------------------------------------------

.. automodule:: kubernetes.client.apis.certificates_v1alpha1_api
:members:
:undoc-members:
:show-inheritance:

kubernetes.client.apis.core_api module
--------------------------------------

.. automodule:: kubernetes.client.apis.core_api
:members:
:undoc-members:
:show-inheritance:

kubernetes.client.apis.core_v1_api module
-----------------------------------------

.. automodule:: kubernetes.client.apis.core_v1_api
:members:
:undoc-members:
:show-inheritance:

kubernetes.client.apis.extensions_api module
--------------------------------------------

.. automodule:: kubernetes.client.apis.extensions_api
:members:
:undoc-members:
:show-inheritance:

kubernetes.client.apis.extensions_v1beta1_api module
----------------------------------------------------

.. automodule:: kubernetes.client.apis.extensions_v1beta1_api
:members:
:undoc-members:
:show-inheritance:

kubernetes.client.apis.logs_api module
--------------------------------------

.. automodule:: kubernetes.client.apis.logs_api
:members:
:undoc-members:
:show-inheritance:

kubernetes.client.apis.policy_api module
----------------------------------------

.. automodule:: kubernetes.client.apis.policy_api
:members:
:undoc-members:
:show-inheritance:

kubernetes.client.apis.policy_v1beta1_api module
------------------------------------------------

.. automodule:: kubernetes.client.apis.policy_v1beta1_api
:members:
:undoc-members:
:show-inheritance:

kubernetes.client.apis.rbac_authorization_api module
----------------------------------------------------

.. automodule:: kubernetes.client.apis.rbac_authorization_api
:members:
:undoc-members:
:show-inheritance:

kubernetes.client.apis.rbac_authorization_v1alpha1_api module
-------------------------------------------------------------

.. automodule:: kubernetes.client.apis.rbac_authorization_v1alpha1_api
:members:
:undoc-members:
:show-inheritance:

kubernetes.client.apis.storage_api module
-----------------------------------------

.. automodule:: kubernetes.client.apis.storage_api
:members:
:undoc-members:
:show-inheritance:

kubernetes.client.apis.storage_v1beta1_api module
-------------------------------------------------

.. automodule:: kubernetes.client.apis.storage_v1beta1_api
:members:
:undoc-members:
:show-inheritance:

kubernetes.client.apis.version_api module
-----------------------------------------

.. automodule:: kubernetes.client.apis.version_api
:members:
:undoc-members:
:show-inheritance:


Module contents
---------------

.. automodule:: kubernetes.client.apis
:members:
:undoc-members:
:show-inheritance:
Loading

0 comments on commit 0ca9210

Please sign in to comment.