From bf0c85fe9b17c46bb0a09d26d5cc9395b70b5fc3 Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Thu, 15 Aug 2019 12:13:00 +0200 Subject: [PATCH] Add dependencies for documentation, advances #12. --- docs/conf.py | 1 + pyproject.toml | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 02847ce15..1fc9e9cab 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -41,6 +41,7 @@ release = '1.0dev0' # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ + 'recommonmark', 'sphinx.ext.autodoc', 'sphinxcontrib_django', 'sphinx_autodoc_typehints', diff --git a/pyproject.toml b/pyproject.toml index 118f9310b..297070ffd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,6 +19,12 @@ Pillow = "^6.1" django-phonenumber-field = {version = "^3.0", extras = ["phonenumbers"]} django-local-settings = {version = "^1.0-alpha.1", allows-prereleases = true} + +[tool.poetry.dev-dependencies] +sphinx = "^2.1" +sphinxcontrib-django = "^0.5.0" +sphinx-autodoc-typehints = "^1.7" +recommonmark = "^0.6.0" [build-system] requires = ["poetry>=0.12"] build-backend = "poetry.masonry.api" -- GitLab