Skip to content

Commit 3cb742a

Browse files
committed
docs configuration fixes
1 parent 72e2b7f commit 3cb742a

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

docs/source/conf.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,30 @@
1212
#
1313
import os
1414
import sys
15-
sys.path.insert(0, os.path.abspath('../..'))
15+
16+
sys.path.insert(0, os.path.abspath("../.."))
17+
18+
import serpapi
1619

1720
# -- Project information -----------------------------------------------------
1821

19-
project = 'serpapi-python'
20-
copyright = '© 2022 SerpApi, LLC'
21-
author = 'Victor Benarbia'
22+
project = "serpapi-python"
23+
copyright = "2023 SerpApi, LLC"
24+
author = "SerpApi, LLC"
2225

2326
# The full version, including alpha/beta/rc tags
24-
release = '1.0.0-beta'
27+
release = serpapi.__version__
2528

2629

2730
# -- General configuration ---------------------------------------------------
2831

2932
# Add any Sphinx extension module names here, as strings. They can be
3033
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
3134
# ones.
32-
extensions = [
33-
'sphinx.ext.githubpages',
34-
'sphinx.ext.autodoc'
35-
]
35+
extensions = ["sphinx.ext.githubpages", "sphinx.ext.autodoc"]
3636

3737
# Add any paths that contain templates here, relative to this directory.
38-
templates_path = ['_templates']
38+
templates_path = ["_templates"]
3939

4040
# List of patterns, relative to source directory, that match files and
4141
# directories to ignore when looking for source files.
@@ -48,12 +48,12 @@
4848
# The theme to use for HTML and HTML Help pages. See the documentation for
4949
# a list of builtin themes.
5050
#
51-
html_theme = 'classic'
51+
html_theme = "alabaster"
5252

5353
# Add any paths that contain custom static files (such as style sheets) here,
5454
# relative to this directory. They are copied after the builtin static files,
5555
# so a file named "default.css" will overwrite the builtin "default.css".
56-
html_static_path = ['_static']
56+
html_static_path = ["_static"]
5757

5858

59-
# -- Extension configuration -------------------------------------------------
59+
# -- Extension configuration -------------------------------------------------

0 commit comments

Comments
 (0)