-
Notifications
You must be signed in to change notification settings - Fork 1
/
conf.py
43 lines (30 loc) · 1.12 KB
/
conf.py
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
35
36
37
38
39
40
41
42
43
"""Configuration file for Sphinx."""
# -- Path setup --------------------------------------------------------------
import sys
from pathlib import Path
PROJECT_ROOT = Path(__file__).resolve().parents[1].as_posix()
sys.path.append(PROJECT_ROOT)
# -- Project information -----------------------------------------------------
project = "CLY?!"
copyright = "2022, Mateus Oliveira"
author = "Mateus Oliveira"
# -- General configuration ---------------------------------------------------
extensions = [
"sphinx.ext.autodoc",
"sphinx_rtd_theme",
"sphinx.ext.napoleon",
"sphinx.ext.githubpages",
]
nitpick_ignore = [
("py:class", "argparse.Action"),
("py:class", "argparse.ArgumentParser"),
("py:class", "argparse.HelpFormatter"),
("py:class", "argparse.Namespace"),
("py:class", "argparse._ArgumentGroup"),
("py:class", "argparse._SubParsersAction"),
("py:class", "pathlib.Path"),
("py:class", "subprocess.CalledProcessError"),
("py:class", "subprocess.CompletedProcess"),
]
# -- Options for HTML output -------------------------------------------------
html_theme = "sphinx_rtd_theme"