| Total Complexity | 0 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | # Configuration file for the Sphinx documentation builder. |
||
| 2 | # |
||
| 3 | # For the full list of built-in configuration values, see the documentation: |
||
| 4 | # https://www.sphinx-doc.org/en/master/usage/configuration.html |
||
| 5 | |||
| 6 | import os |
||
| 7 | import sys |
||
| 8 | |||
| 9 | sys.path.insert(0, os.path.abspath("../../source")) |
||
| 10 | # -- Project information ----------------------------------------------------- |
||
| 11 | # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information |
||
| 12 | |||
| 13 | project = "Novel Editor" |
||
| 14 | copyright = "2020, Yamahara Yoshihiro" |
||
| 15 | author = "Yamahara Yoshihiro" |
||
| 16 | release = "0.9.0 bata" |
||
| 17 | |||
| 18 | # -- General configuration --------------------------------------------------- |
||
| 19 | # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration |
||
| 20 | |||
| 21 | extensions = [ |
||
| 22 | "recommonmark", |
||
| 23 | "sphinx.ext.autodoc", |
||
| 24 | "sphinx.ext.napoleon", |
||
| 25 | "sphinx.ext.viewcode", |
||
| 26 | ] |
||
| 27 | |||
| 28 | templates_path = ["_templates"] |
||
| 29 | exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
||
| 30 | |||
| 31 | language = "ja" |
||
| 32 | |||
| 33 | # -- Options for HTML output ------------------------------------------------- |
||
| 34 | # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output |
||
| 35 | |||
| 36 | html_theme = "sphinx_rtd_theme" |
||
| 37 | html_static_path = ["_static"] |
||
| 38 | |||
| 39 | autodoc_mock_imports = [ |
||
| 40 | "wikipediaapi", |
||
| 41 | "janome", |
||
| 42 | "jaconv", |
||
| 43 | "pyttsx3", |
||
| 44 | "PIL", |
||
| 45 | "customtkinter", |
||
| 46 | "matplotlib", |
||
| 47 | "pycirclize", |
||
| 48 | "pandas", |
||
| 49 | ] |
||
| 50 |