Skip to content
Snippets Groups Projects
Unverified Commit d5d02051 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Move back to RST in docs.

parent 386e2001
No related branches found
No related tags found
No related merge requests found
......@@ -12,11 +12,13 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import django
import os
import sys
sys.path.insert(0, os.path.abspath('..'))
os.environ['DJANGO_SETTINGS_MODULE'] = 'biscuit.core.settings'
os.environ['LOCAL_SETTINGS_FILE'] = os.path.abspath(os.path.join('..', 'local.cfg'))
os.environ['LOCAL_SETTINGS_FILE'] = os.path.abspath(
os.path.join('..', 'local.cfg'))
django.setup()
# -- Project information -----------------------------------------------------
......@@ -41,7 +43,6 @@ release = '1.0dev0'
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'recommonmark',
'sphinx.ext.autodoc',
'sphinxcontrib_django',
'sphinx_autodoc_typehints',
......@@ -56,7 +57,7 @@ templates_path = ['_templates']
# You can specify multiple suffix as a list of string:
#
# source_suffix = ['.rst', '.md']
source_suffix = ['.rst', '.md']
source_suffix = '.rst'
# The master toctree document.
master_doc = 'index'
......
File moved
......@@ -36,7 +36,6 @@ django-local-settings = {version = "^1.0-alpha.1", allows-prereleases = true}
sphinx = "^2.1"
sphinxcontrib-django = "^0.5.0"
sphinx-autodoc-typehints = "^1.7"
recommonmark = "^0.6.0"
[build-system]
requires = ["poetry>=0.12"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment