diff --git a/docs/conf.py b/docs/conf.py index 09d2a57..6af8e40 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -23,6 +23,7 @@ sys.path.insert(0, os.path.abspath('..')) import sgrna_modeler +import sphinx_rtd_theme # -- General configuration --------------------------------------------- @@ -32,7 +33,7 @@ # 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', 'sphinx.ext.viewcode'] +extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'sphinx_rtd_theme'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -78,13 +79,14 @@ # If true, `todo` and `todoList` produce output, else they produce nothing. todo_include_todos = False - +autodoc_mock_imports = ["tensorflow"] # -- Options for HTML output ------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme = 'alabaster' +#html_theme = 'alabaster' +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 index 15e97a2..963658f 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -4,4 +4,3 @@ numpy>=1.16.4 pandas>=0.24.2 scikit-learn==0.21.2 scipy>=1.3.0 -tensorflow>=1.14.0