-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathconf.py
62 lines (43 loc) · 1.57 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# mypy: ignore-errors
# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# http://www.sphinx-doc.org/en/master/config
# -- Path setup --------------------------------------------------------------
import os
import sys
from pathlib import Path
sys.path.insert(0, os.path.abspath(".."))
version = Path("../sec_edgar_api/_version.py").read_text(encoding="utf-8")
about = {}
exec(version, about)
# -- Project information -----------------------------------------------------
project = "SEC EDGAR API Wrapper 🤖"
copyright = "2023, Jad Chaar"
author = "Jad Chaar"
release = about["__version__"]
# -- General configuration ---------------------------------------------------
extensions = ["sphinx.ext.autodoc", "sphinx_autodoc_typehints", "m2r2"]
autodoc_member_order = "groupwise"
master_doc = "index"
source_suffix = [".rst", ".md"]
html_sidebars = {
"**": ["about.html", "localtoc.html", "relations.html", "searchbox.html"]
}
templates_path = ["_templates"]
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
# -- Options for HTML output -------------------------------------------------
html_theme = "alabaster"
html_theme_options = {
"description": "Interact with the SEC EDGAR API with ease",
"github_user": "jadchaar",
"github_repo": "sec-edgar-api-python",
"github_banner": True,
"show_related": False,
"show_powered_by": False,
}
html_static_path = []
html_show_sourcelink = False
html_show_copyright = True
html_show_sphinx = False