Skip to content

Commit aec99a3

Browse files
committed
Fixing conf.py
1 parent d476b9a commit aec99a3

File tree

1 file changed

+46
-15
lines changed

1 file changed

+46
-15
lines changed

docs/conf.py

Lines changed: 46 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,63 @@
11
# Configuration file for the Sphinx documentation builder.
2+
#
3+
# This file only contains a selection of the most common options. For a full
4+
# list see the documentation:
5+
# https://www.sphinx-doc.org/en/master/usage/configuration.html
26

37
# -- Path setup --------------------------------------------------------------
48

5-
import os
6-
import sys
7-
sys.path.insert(0, os.path.abspath('..'))
9+
# If extensions (or modules to document with autodoc) are in another directory,
10+
# add these directories to sys.path here. If the directory is relative to the
11+
# documentation root, use os.path.abspath to make it absolute, like shown here.
12+
#
13+
# import os
14+
# import sys
15+
# sys.path.insert(0, os.path.abspath('.'))
16+
817

918
# -- Project information -----------------------------------------------------
1019

11-
project = 'omnivista_py'
12-
copyright = '2024, Phillip Jerome Yosief'
13-
author = 'Phillip Jerome Yosief'
20+
project = "Basic Sphinx Example Project"
21+
copyright = "2022, Read the Docs core team"
22+
author = "Read the Docs core team"
1423

15-
# The full version, including alpha/beta/rc tags
16-
release = '0.3.8'
1724

1825
# -- General configuration ---------------------------------------------------
26+
# -- General configuration
1927

2028
extensions = [
21-
'sphinx.ext.autodoc',
22-
'sphinx.ext.napoleon',
23-
'sphinx_autodoc_typehints',
29+
"sphinx.ext.duration",
30+
"sphinx.ext.doctest",
31+
"sphinx.ext.autodoc",
32+
"sphinx.ext.autosummary",
33+
"sphinx.ext.intersphinx",
2434
]
2535

26-
templates_path = ['_templates']
27-
exclude_patterns = []
36+
intersphinx_mapping = {
37+
"rtd": ("https://docs.readthedocs.io/en/stable/", None),
38+
"python": ("https://docs.python.org/3/", None),
39+
"sphinx": ("https://www.sphinx-doc.org/en/master/", None),
40+
}
41+
intersphinx_disabled_domains = ["std"]
42+
43+
templates_path = ["_templates"]
44+
45+
# -- Options for EPUB output
46+
epub_show_urls = "footnote"
47+
48+
# List of patterns, relative to source directory, that match files and
49+
# directories to ignore when looking for source files.
50+
# This pattern also affects html_static_path and html_extra_path.
51+
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
2852

2953
# -- Options for HTML output -------------------------------------------------
3054

31-
html_theme = 'sphinx_rtd_theme'
32-
html_static_path = ['_static']
55+
# The theme to use for HTML and HTML Help pages. See the documentation for
56+
# a list of builtin themes.
57+
#
58+
html_theme = "sphinx_rtd_theme"
59+
60+
# Add any paths that contain custom static files (such as style sheets) here,
61+
# relative to this directory. They are copied after the builtin static files,
62+
# so a file named "default.css" will overwrite the builtin "default.css".
63+
html_static_path = ["_static"]

0 commit comments

Comments
 (0)