File size: 713 Bytes
714e7c4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | import sphinx
from packaging.version import parse as parse_version
# -- General configuration ------------------------------------------------
extensions = ['matplotlib.sphinxext.plot_directive',
'matplotlib.sphinxext.figmpl_directive']
templates_path = ['_templates']
source_suffix = '.rst'
master_doc = 'index'
project = 'tinypages'
copyright = '2014, Matplotlib developers'
version = '0.1'
release = '0.1'
exclude_patterns = ['_build']
pygments_style = 'sphinx'
# -- Options for HTML output ----------------------------------------------
if parse_version(sphinx.__version__) >= parse_version('1.3'):
html_theme = 'classic'
else:
html_theme = 'default'
html_static_path = ['_static']
|