diff --git a/docs/conf.py b/docs/conf.py index 3da5998..9ebfcb7 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -11,7 +11,6 @@ # All configuration values have a default; values that are commented out # serve to show the default. -import spotipy import sys import os @@ -28,7 +27,10 @@ sys.path.insert(0, os.path.abspath('.')) # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ['sphinx.ext.autodoc'] +extensions = [ + 'sphinx.ext.autodoc', + 'sphinx_rtd_theme' +] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -94,7 +96,7 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'default' +html_theme = 'sphinx_rtd_theme' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 0000000..609f7ac --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,2 @@ +Sphinx~=7.3.7 +sphinx-rtd-theme~=2.0.0 diff --git a/setup.py b/setup.py index dd1ab17..19dab7b 100644 --- a/setup.py +++ b/setup.py @@ -7,12 +7,7 @@ test_reqs = [ 'mock==2.0.0' ] -doc_reqs = [ - 'Sphinx>=1.5.2' -] - extra_reqs = { - 'doc': doc_reqs, 'test': test_reqs }