diff --git a/docs/conf.py b/docs/conf.py index 68944ce..ba45e19 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -14,17 +14,6 @@ # import sys # sys.path.insert(0, os.path.abspath('.')) -# -- Markdown ---------------------------------------------------------------- - -from recommonmark.parser import CommonMarkParser - -source_parsers = { - '.md': CommonMarkParser, -} - -source_suffix = ['.rst', '.md'] -html_theme = 'sphinx_rtd_theme' - # -- Project information ----------------------------------------------------- project = 'librespot-python' @@ -38,6 +27,7 @@ author = 'kokarare1212' # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ + 'recommonmark' ] # Add any paths that contain templates here, relative to this directory. @@ -54,9 +44,19 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme = 'alabaster' +html_theme = 'sphinx_rtd_theme' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] \ No newline at end of file +html_static_path = ['_static'] + + +# -- Markdown ---------------------------------------------------------------- + +source_suffix = ['.rst', '.md'] + +source_parsers = { + '.md': 'recommonmark.parser.CommonMarkParser', +} +