Fixed sphinx docs

This commit is contained in:
Martin Mahner 2019-12-05 12:32:46 +01:00
parent 634861bc04
commit 9307d5f0a3
3 changed files with 2 additions and 5 deletions

View file

@ -5,12 +5,10 @@ name = "pypi"
[packages] [packages]
dpaste = {editable = true,extras = ["dev"],path = "."} dpaste = {editable = true,extras = ["dev"],path = "."}
docutils = "==0.15"
[scripts] [scripts]
runserver = "sh -c \"./manage.py migrate && ./manage.py runserver 0:8000\"" runserver = "sh -c \"./manage.py migrate && ./manage.py runserver 0:8000\""
test = "pytest dpaste" test = "pytest dpaste"
cleanup = "sh -c \"isort -rc dpaste && black --skip-string-normalization --line-length=80 --exclude='/(migrations)/' dpaste\"" cleanup = "sh -c \"isort -rc dpaste && black --skip-string-normalization --line-length=80 --exclude='/(migrations)/' dpaste\""
docs = "sphinx-build docs docs/_build/html" docs = "sphinx-build docs docs/_build/html"
[pipenv]
allow_prereleases = true

View file

@ -86,7 +86,7 @@ try:
'logo_only': True, 'logo_only': True,
'display_version': False, 'display_version': False,
} }
html_logo = "_static/logo.svg" html_logo = "docs/_static/logo.svg"
except ImportError: except ImportError:
html_theme = 'alabaster' html_theme = 'alabaster'

View file

@ -56,7 +56,6 @@ dev =
sphinx-autobuild sphinx-autobuild
sphinx-rtd-theme sphinx-rtd-theme
sphinxcontrib-httpdomain sphinxcontrib-httpdomain
docutils==0.15
[options.packages.find] [options.packages.find]
where = . where = .