Skip to content

Commit

Permalink
RTD attempt2
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cortes committed Nov 28, 2023
1 parent daec735 commit 6e73915
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
import sys
sys.path.insert(0, os.path.abspath('../'))

import mock
MOCK_MODULES = ['cmfrec.wrapper_double', 'cmfrec.wrapper_float']
sys.modules.update((mod_name, mock.MagicMock()) for mod_name in MOCK_MODULES)
# import mock
# MOCK_MODULES = ['cmfrec.wrapper_double', 'cmfrec.wrapper_float']
# sys.modules.update((mod_name, mock.MagicMock()) for mod_name in MOCK_MODULES)


# -- Project information -----------------------------------------------------

project = 'cmfrec'
copyright = '2020, David Cortes'
copyright = '2023, David Cortes'
author = 'David Cortes'

master_doc = 'index'
Expand All @@ -32,10 +32,17 @@
# 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.napoleon', 'sphinx_rtd_theme']
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.viewcode',
'sphinx.ext.napoleon',
'sphinx_rtd_theme',
'sphinx.ext.intersphinx'
]
napoleon_google_docstring = False
napoleon_use_param = False
napoleon_use_ivar = True
html_theme = "sphinx_rtd_theme"

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
Expand Down

0 comments on commit 6e73915

Please sign in to comment.