Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
Initial docs setup (#15)
Browse files Browse the repository at this point in the history
* #14 initial docs setup

* remove some boilerplate

* fix syspath and incl. README

* readthedocs requirements
  • Loading branch information
hjacobs committed Mar 6, 2019
1 parent a099473 commit 9b9d298
Show file tree
Hide file tree
Showing 10 changed files with 374 additions and 22 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ dist/
.cache/
.pytest_cache/
.tox/
docs/_build
2 changes: 2 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ tox = "*"
coverage = "*"
twine = "*"
responses = "*"
sphinx = "*"
sphinx-rtd-theme = "*"

[requires]
python_version = "3.7"
134 changes: 113 additions & 21 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pykube-ng
.. image:: https://img.shields.io/badge/license-apache-blue.svg
:target: https://pypi.python.org/pypi/pykube-ng/

Python client library for Kubernetes.
Pykube (pykube-ng) is a lightweight Python 3+ client library for Kubernetes.

This is a fork of `kelproject/pykube <https://github.com/kelproject/pykube>`_ which is no longer maintained (archived). Here the original text of the pykube README:

Expand Down
19 changes: 19 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SOURCEDIR = .
BUILDDIR = _build

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
7 changes: 7 additions & 0 deletions docs/api/modules.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pykube
======

.. toctree::
:maxdepth: 4

pykube
72 changes: 72 additions & 0 deletions docs/api/pykube.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
.. _pykube-package:

pykube package
==============

Submodules
----------

pykube.config module
--------------------

.. automodule:: pykube.config
:members:
:undoc-members:
:show-inheritance:

pykube.exceptions module
------------------------

.. automodule:: pykube.exceptions
:members:
:undoc-members:
:show-inheritance:

pykube.http module
------------------

.. automodule:: pykube.http
:members:
:undoc-members:
:show-inheritance:

pykube.mixins module
--------------------

.. automodule:: pykube.mixins
:members:
:undoc-members:
:show-inheritance:

pykube.objects module
---------------------

.. automodule:: pykube.objects
:members:
:undoc-members:
:show-inheritance:

pykube.query module
-------------------

.. automodule:: pykube.query
:members:
:undoc-members:
:show-inheritance:

pykube.utils module
-------------------

.. automodule:: pykube.utils
:members:
:undoc-members:
:show-inheritance:


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

.. automodule:: pykube
:members:
:undoc-members:
:show-inheritance:

0 comments on commit 9b9d298

Please sign in to comment.