Skip to content

Commit

Permalink
updated sphinx extension for rtd
Browse files Browse the repository at this point in the history
  • Loading branch information
andim committed Aug 4, 2022
1 parent b952a47 commit 58af83f
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ------------------------------------------------
Expand All @@ -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']
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 58af83f

Please sign in to comment.