1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
import os
import sys
sys.path.insert(0, os.path.abspath("../"))
from questionary import __version__ # noqa: E402
project = "Questionary"
copyright = "2021, Questionary"
author = "Questionary"
version = __version__
release = __version__
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.intersphinx",
"sphinx.ext.viewcode",
"sphinx.ext.napoleon",
"sphinx_copybutton",
"sphinx_autodoc_typehints",
]
autodoc_typehints = "description"
copybutton_prompt_text = r">>> |\.\.\. |\$ "
copybutton_prompt_is_regexp = True
html_theme = "sphinx_rtd_theme"
html_theme_options = {
"navigation_depth": 2,
}
autodoc_member_order = "alphabetical"
|