Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1c7b926

Browse files
authored
Merge pull request #56 from tacaswell/doc_fixes
DOC: update documentation build
2 parents 1dc2965 + 1bb5e8b commit 1c7b926

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

doc/source/conf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
'sphinx.ext.mathjax',
3737
'sphinx.ext.viewcode',
3838
'sphinx.ext.autosummary',
39-
'matplotlib.sphinxext.only_directives',
4039
'matplotlib.sphinxext.plot_directive',
4140
'IPython.sphinxext.ipython_directive',
4241
'IPython.sphinxext.ipython_console_highlighting',
@@ -47,7 +46,7 @@
4746
autosummary_generate = True
4847

4948
numpydoc_show_class_members = False
50-
autodoc_default_flags = ['members']
49+
autodoc_default_options = {'members': True}
5150

5251

5352
# Add any paths that contain templates here, relative to this directory.

doc/source/index.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Composable cycles
55
===================
66

7-
.. htmlonly::
7+
.. only:: html
88

99
:Version: |version|
1010
:Date: |today|
@@ -50,7 +50,6 @@ hashable (as it will eventually be used as the key in a :obj:`dict`).
5050
from __future__ import print_function
5151
from cycler import cycler
5252
53-
5453
color_cycle = cycler(color=['r', 'g', 'b'])
5554
color_cycle
5655

0 commit comments

Comments
 (0)