sphinx-autoapi/tests/dotnetexample/conf.py

34 lines
852 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
2019-01-27 05:20:45 +00:00
templates_path = ["_templates"]
source_suffix = ".rst"
master_doc = "index"
project = u"dotnetexample"
copyright = u"2015, readthedocs"
author = u"readthedocs"
2019-01-27 05:20:45 +00:00
version = "0.1"
release = "0.1"
language = None
2019-01-27 05:20:45 +00:00
exclude_patterns = ["_build"]
pygments_style = "sphinx"
todo_include_todos = False
2019-01-27 05:20:45 +00:00
html_theme = "sphinx_rtd_theme"
htmlhelp_basename = "dotnetexampledoc"
extensions = ["autoapi.extension", "sphinxcontrib.dotnetdomain"]
2019-01-27 05:20:45 +00:00
autoapi_type = "dotnet"
2015-08-03 18:28:53 +00:00
# Turn this on for debugging
# autoapi_keep_files = True
2019-01-27 05:20:45 +00:00
autoapi_dirs = ["example/Identity/src/"]
2015-08-03 18:55:53 +00:00
import os
SITE_ROOT = os.path.dirname(os.path.realpath(__file__))
DIR = os.path.join(SITE_ROOT, autoapi_dirs[0])
2015-08-03 18:55:53 +00:00
if not os.path.exists(DIR):
2019-01-27 05:20:45 +00:00
os.system(
"git clone https://github.com/aspnet/Identity %s"
% os.path.join(SITE_ROOT, "example/Identity")
)