Skip to content

Commit

Permalink
doc (sphinx): change theme and remove tensorflow from the requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterDeWeirdt committed Jan 29, 2020
1 parent 575421d commit 00af3e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 5 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
sys.path.insert(0, os.path.abspath('..'))

import sgrna_modeler
import sphinx_rtd_theme

# -- General configuration ---------------------------------------------

Expand All @@ -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']
Expand Down Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 00af3e0

Please sign in to comment.