Skip to content

Commit

Permalink
Fix #51: enable conda support on rtd
Browse files Browse the repository at this point in the history
  • Loading branch information
cehbrecht committed Sep 5, 2018
1 parent cdee9b5 commit 73d4569
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 16 deletions.
7 changes: 1 addition & 6 deletions {{cookiecutter.project_repo_name}}/docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#
import os
import sys
# sys.path.insert(0, os.path.abspath('..'))
sys.path.insert(0, os.path.abspath('../../'))


# -- General configuration ---------------------------------------------
Expand All @@ -38,11 +38,6 @@
'pywps.ext_autodoc',
]

autoapi_type = 'python'
autoapi_dirs = ['../../{{ cookiecutter.project_slug }}']
autoapi_file_pattern = '*.py'
autoapi_options = ['members', 'undoc-members', 'private-members']

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ You can also use the ``Makefile`` to start and stop the service:
Run {{ cookiecutter.project_name }} as Docker container
-{{ '-' * (cookiecutter.project_name|count + 23) }}

You can also run {{ cookiecutter.project_name }} as a Docker container, see the :ref:`Tutorial <tutorial>`.
You can also run {{ cookiecutter.project_name }} as a Docker container.

Use Ansible to deploy {{ cookiecutter.project_name }} on your System
-{{ '-' * (cookiecutter.project_name|count + 36) }}
Expand All @@ -105,4 +105,4 @@ First install dependencies for the documentation::


.. _Ansible playbook: http://ansible-wps-playbook.readthedocs.io/en/latest/index.html
.. _example: http://ansible-wps-playbook.readthedocs.io/en/latest/tutorial.html
.. _example: https://ansible-wps-playbook.readthedocs.io/en/latest/testing.html
8 changes: 8 additions & 0 deletions {{cookiecutter.project_repo_name}}/readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
build:
image: latest

python:
version: 3.6

conda:
file: environment.yml
3 changes: 1 addition & 2 deletions {{cookiecutter.project_repo_name}}/requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
-r requirements.txt
pytest
flake8
pytest-flake8
sphinx>=1.7
sphinx-autoapi
-e git+https://github.com/huard/sphinx-autodoc-pywps.git#egg=sphinx_autodoc_pywps
bumpversion
6 changes: 0 additions & 6 deletions {{cookiecutter.project_repo_name}}/rtd.txt

This file was deleted.

0 comments on commit 73d4569

Please sign in to comment.