mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-25 13:10:17 +00:00
Fix documentation search (#1201)
This commit is contained in:
parent
61c805ff6b
commit
a7d29a3638
1 changed files with 2 additions and 4 deletions
|
@ -13,9 +13,7 @@
|
||||||
# add these directories to sys.path here. If the directory is relative to the
|
# 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.
|
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
||||||
import copy, sys
|
import copy, sys
|
||||||
import sphinx_rtd_theme
|
|
||||||
from os.path import abspath, dirname, join
|
from os.path import abspath, dirname, join
|
||||||
from recommonmark.parser import CommonMarkParser
|
|
||||||
path = dirname(dirname(abspath(__file__)))
|
path = dirname(dirname(abspath(__file__)))
|
||||||
sys.path.append(path)
|
sys.path.append(path)
|
||||||
sys.path.append(join(path, 'plexapi'))
|
sys.path.append(join(path, 'plexapi'))
|
||||||
|
@ -25,6 +23,7 @@ extensions = [
|
||||||
'sphinx.ext.autodoc',
|
'sphinx.ext.autodoc',
|
||||||
'sphinx.ext.viewcode',
|
'sphinx.ext.viewcode',
|
||||||
'sphinx.ext.napoleon',
|
'sphinx.ext.napoleon',
|
||||||
|
'sphinx_rtd_theme',
|
||||||
]
|
]
|
||||||
|
|
||||||
# -- Monkey-patch docstring to not auto-link :ivars ------------------------
|
# -- Monkey-patch docstring to not auto-link :ivars ------------------------
|
||||||
|
@ -71,7 +70,7 @@ master_doc = 'index'
|
||||||
|
|
||||||
# General information about the project.
|
# General information about the project.
|
||||||
project = 'Python PlexAPI'
|
project = 'Python PlexAPI'
|
||||||
copyright = '2017, M.Shepanski'
|
copyright = '2023, M.Shepanski'
|
||||||
author = 'M.Shepanski'
|
author = 'M.Shepanski'
|
||||||
|
|
||||||
# The version info for the project you're documenting, acts as replacement for
|
# The version info for the project you're documenting, acts as replacement for
|
||||||
|
@ -133,7 +132,6 @@ todo_include_todos = False
|
||||||
# a list of builtin themes.
|
# a list of builtin themes.
|
||||||
# html_theme = 'alabaster'
|
# html_theme = 'alabaster'
|
||||||
html_theme = "sphinx_rtd_theme"
|
html_theme = "sphinx_rtd_theme"
|
||||||
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
|
|
||||||
html_static_path = ['_static']
|
html_static_path = ['_static']
|
||||||
html_context = {'css_files': ['_static/custom.css']}
|
html_context = {'css_files': ['_static/custom.css']}
|
||||||
html_theme_options = {
|
html_theme_options = {
|
||||||
|
|
Loading…
Reference in a new issue