diff --git a/README.rst b/README.rst index 4c25a3dd3..2514611a7 100644 --- a/README.rst +++ b/README.rst @@ -86,6 +86,8 @@ Then: For more details, see the `cookiecutter-pypackage tutorial`_. +See the `babybird `_ example of a generated bird. + Development ----------- diff --git a/{{cookiecutter.project_slug}}/docs/source/conf.py b/{{cookiecutter.project_slug}}/docs/source/conf.py index 0683107c5..d315f5809 100755 --- a/{{cookiecutter.project_slug}}/docs/source/conf.py +++ b/{{cookiecutter.project_slug}}/docs/source/conf.py @@ -35,7 +35,7 @@ 'sphinx.ext.viewcode', 'sphinx.ext.napoleon', 'sphinx.ext.todo', - #'pywps.ext_autodoc', # Available on master branch. Will be distributed with the 4.2 release. + 'pywps.ext_autodoc', ] autoapi_type = 'python' diff --git a/{{cookiecutter.project_slug}}/docs/source/index.rst b/{{cookiecutter.project_slug}}/docs/source/index.rst index e756b0db7..81ae79202 100644 --- a/{{cookiecutter.project_slug}}/docs/source/index.rst +++ b/{{cookiecutter.project_slug}}/docs/source/index.rst @@ -6,6 +6,7 @@ installation configuration + processes changes Indices and tables diff --git a/{{cookiecutter.project_slug}}/docs/source/processes.rst b/{{cookiecutter.project_slug}}/docs/source/processes.rst new file mode 100644 index 000000000..9eb1dfbdd --- /dev/null +++ b/{{cookiecutter.project_slug}}/docs/source/processes.rst @@ -0,0 +1,29 @@ +.. _processes: + +Processes +========= + +.. contents:: + :local: + :depth: 1 + +Sleep +----- + +.. autoprocess:: {{ cookiecutter.project_slug }}.processes.wps_sleep.Sleep + :docstring: + :skiplines: 1 + +Wordcounter +----------- + +.. autoprocess:: {{ cookiecutter.project_slug }}.processes.wps_wordcounter.WordCounter + :docstring: + :skiplines: 1 + +InOut +----- + +.. autoprocess:: {{ cookiecutter.project_slug }}.processes.wps_inout.InOut + :docstring: + :skiplines: 1 diff --git a/{{cookiecutter.project_slug}}/requirements.txt b/{{cookiecutter.project_slug}}/requirements.txt index 903ca4dfb..b09518cf6 100644 --- a/{{cookiecutter.project_slug}}/requirements.txt +++ b/{{cookiecutter.project_slug}}/requirements.txt @@ -1,4 +1,4 @@ -pywps>=4.1.0 +pywps>=4.0.0 jinja2 click psutil diff --git a/{{cookiecutter.project_slug}}/rtd.txt b/{{cookiecutter.project_slug}}/rtd.txt new file mode 100644 index 000000000..81c2c2908 --- /dev/null +++ b/{{cookiecutter.project_slug}}/rtd.txt @@ -0,0 +1,6 @@ +-e git+https://github.com/geopython/pywps.git#egg=pywps +jinja2 +click +psutil +sphinx>=1.7 +sphinx-autoapi