Skip to content

Commit

Permalink
Fix documentation search (#1201)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnyWong16 authored Aug 2, 2023
1 parent 61c805f commit a7d29a3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
import copy, sys
import sphinx_rtd_theme
from os.path import abspath, dirname, join
from recommonmark.parser import CommonMarkParser
path = dirname(dirname(abspath(__file__)))
sys.path.append(path)
sys.path.append(join(path, 'plexapi'))
Expand All @@ -25,6 +23,7 @@
'sphinx.ext.autodoc',
'sphinx.ext.viewcode',
'sphinx.ext.napoleon',
'sphinx_rtd_theme',
]

# -- Monkey-patch docstring to not auto-link :ivars ------------------------
Expand Down Expand Up @@ -71,7 +70,7 @@ def new_resolve_xref(*args):

# General information about the project.
project = 'Python PlexAPI'
copyright = '2017, M.Shepanski'
copyright = '2023, M.Shepanski'
author = 'M.Shepanski'

# The version info for the project you're documenting, acts as replacement for
Expand Down Expand Up @@ -133,7 +132,6 @@ def new_resolve_xref(*args):
# a list of builtin themes.
# html_theme = 'alabaster'
html_theme = "sphinx_rtd_theme"
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
html_static_path = ['_static']
html_context = {'css_files': ['_static/custom.css']}
html_theme_options = {
Expand Down

0 comments on commit a7d29a3

Please sign in to comment.