diff --git a/doc/source/conf.py b/doc/source/conf.py index 4ea2ca6..2a4c3bd 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -36,7 +36,6 @@ 'sphinx.ext.mathjax', 'sphinx.ext.viewcode', 'sphinx.ext.autosummary', - 'matplotlib.sphinxext.only_directives', 'matplotlib.sphinxext.plot_directive', 'IPython.sphinxext.ipython_directive', 'IPython.sphinxext.ipython_console_highlighting', @@ -47,7 +46,7 @@ autosummary_generate = True numpydoc_show_class_members = False -autodoc_default_flags = ['members'] +autodoc_default_options = {'members': True} # Add any paths that contain templates here, relative to this directory. diff --git a/doc/source/index.rst b/doc/source/index.rst index c93955e..518fb39 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -4,7 +4,7 @@ Composable cycles =================== -.. htmlonly:: +.. only:: html :Version: |version| :Date: |today| @@ -50,7 +50,6 @@ hashable (as it will eventually be used as the key in a :obj:`dict`). from __future__ import print_function from cycler import cycler - color_cycle = cycler(color=['r', 'g', 'b']) color_cycle