Skip to content

Commit 3692ef4

Browse files
committed
update Makefile and conf.py for current version of sphinx
1 parent 3153dfa commit 3692ef4

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

doc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ ctrlplot-servomech.png: ../control/tests/ctrlplot_test.py
3838

3939
# Catch-all target: route all unknown targets to Sphinx using the new
4040
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
41-
html pdf clean doctest: Makefile $(FIGS)
41+
html latexpdf clean doctest: Makefile $(FIGS)
4242
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

doc/conf.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
try:
2424
import sphinx_rtd_theme
2525
html_theme = 'sphinx_rtd_theme'
26-
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
2726
except ImportError:
2827
html_theme = 'default'
2928

@@ -49,13 +48,13 @@
4948

5049
# If your documentation needs a minimal Sphinx version, state it here.
5150
#
52-
needs_sphinx = '3.1'
51+
needs_sphinx = '3.4'
5352

5453
# Add any Sphinx extension module names here, as strings. They can be
5554
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
5655
# ones.
5756
extensions = [
58-
'sphinx.ext.autodoc', 'sphinx.ext.todo', 'sphinx.ext.napoleon',
57+
'sphinx.ext.autodoc', 'sphinx.ext.todo',
5958
'sphinx.ext.intersphinx', 'sphinx.ext.imgmath',
6059
'sphinx.ext.autosummary', 'nbsphinx', 'numpydoc',
6160
'sphinx.ext.linkcode', 'sphinx.ext.doctest'

0 commit comments

Comments
 (0)