diff --git a/doc/conf.py b/doc/conf.py index 47eb8f8..8e1ee9a 100755 --- a/doc/conf.py +++ b/doc/conf.py @@ -19,7 +19,7 @@ # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. -sys.path.insert(0, os.path.abspath('../noisyopt')) +sys.path.insert(0, os.path.abspath('../')) import noisyopt # -- General configuration ------------------------------------------------ @@ -40,9 +40,8 @@ 'sphinx.ext.ifconfig', 'sphinx.ext.autosummary', 'sphinx.ext.mathjax', - 'math_dollar', # has to go before numpydoc - 'numpydoc', - 'github'] + 'sphinx.ext.napoleon', + ] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -141,7 +140,7 @@ # 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'] +#html_static_path = ['_static'] # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied @@ -204,7 +203,7 @@ #'pointsize': '10pt', # Additional stuff for the LaTeX preamble. -'preamble': '\usepackage{amssymb}', +#'preamble': '\usepackage{amssymb}', } # Grouping the document tree into LaTeX files. List of tuples