Description: Fix sphinx for newer matplotlib
 The htmlonly directive has been removed in matplotlib 3.
Author: Stuart Prescott <stuart@debian.org>
Forwarded: https://github.com/bumps/bumps/pull/20
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -52,7 +52,6 @@
               'sphinx.ext.mathjax',
               #'only_directives',
               #'matplotlib.sphinxext.mathmpl',
-              'matplotlib.sphinxext.only_directives',
               'matplotlib.sphinxext.plot_directive',
               #'inheritance_diagram',
               'dollarmath',
@@ -282,4 +281,4 @@
 
 # Generate tutorials
 import gentut
-gentut.make()
\ No newline at end of file
+gentut.make()
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -1,4 +1,4 @@
-.. htmlonly::
+.. only:: html
 
    :Release: |version|
    :Date:    |today|
