|
|
|
import os |
|
import sys |
|
|
|
|
|
sys.path.insert(0, os.path.abspath('../..')) |
|
sys.path.insert(0, os.path.abspath('../../src')) |
|
|
|
|
|
|
|
project = 'Linguask' |
|
copyright = '2022' |
|
author = 'Multiple' |
|
|
|
release = '0.1' |
|
version = '0.1.0' |
|
|
|
|
|
|
|
extensions = [ |
|
'sphinx.ext.duration', |
|
'sphinx.ext.doctest', |
|
'sphinx.ext.autodoc', |
|
'sphinx.ext.autosummary', |
|
'sphinx.ext.intersphinx', |
|
'autoapi.extension', |
|
|
|
] |
|
|
|
autoapi_type = 'python' |
|
autoapi_dirs = ['../../src'] |
|
|
|
intersphinx_mapping = { |
|
'python': ('https://docs.python.org/3/', None), |
|
'sphinx': ('https://www.sphinx-doc.org/en/master/', None), |
|
} |
|
intersphinx_disabled_domains = ['std'] |
|
|
|
templates_path = ['_templates'] |
|
|
|
|
|
|
|
html_theme = 'sphinx_rtd_theme' |
|
|
|
|
|
epub_show_urls = 'footnote' |
|
|
|
html_context = { |
|
"display_github": True, |
|
"github_repo": "vitsyn-morgunov-and-nikulin/automatic-essay-evaluator", |
|
"github_version": "main", |
|
"conf_py_path": "docs/source/", |
|
} |
|
|
|
|
|
|
|
html_short_title = "topobathy" |
|
html_show_sourcelink = False |
|
html_show_sphinx = True |
|
html_show_copyright = True |
|
|
|
|
|
|
|
|
|
html_static_path = ['_static'] |
|
repository_url = "https://github.com/Vitsyn-Morgunov-and-Nikulin/automatic-essay-evaluator" |
|
html_context = { |
|
"menu_links": [ |
|
( |
|
'<i class="fa fa-github fa-fw"></i> Source Code', |
|
repository_url, |
|
), |
|
( |
|
'<i class="fa fa-book fa-fw"></i> License', |
|
f"{repository_url}/blob/main/LICENSE", |
|
), |
|
], |
|
} |
|
|