'matplotlib.sphinxext.plot_directive']
doctest_path = os.path.abspath('../../')
-doctest_global_setup = '''
-import os
-# os.getcwd() -> /doc
-wav_file = os.path.join(os.getcwd(),'../tests/samples/sweep.mp3')
-'''
autodoc_default_flags = 'show-inheritance'
autoclass_content = 'both'
# General information about the project.
project = u'TimeSide'
-copyright = u'2014, Guillaume Pellerin, Paul Brossier, Thomas Fillon'
+copyright = u'2015, Guillaume Pellerin, Paul Brossier, Thomas Fillon'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
#html_additional_pages = {}
# If false, no module index is generated.
-#html_domain_indices = True
+html_domain_indices = True
# This is required to remove the superfluous np module index added by numpydoc
-html_domain_indices = ['py-modindex']
+#html_domain_indices = ['py-modindex']
# If false, no index is generated.
#html_use_index = True
.. testcleanup::
+ import os
os.remove('sweep.ogg')
os.remove('waveform.png')
-.. doctest::
+.. doctest::
>>> import timeside
>>> timeside.core.list_processors() # doctest: +SKIP
Define some processors:
-.. doctest::
+.. doctest::
>>> from timeside.core import get_processor
>>> from timeside.core.tools.test_samples import samples
Then run the *magic* pipeline:
-.. doctest::
+.. doctest::
>>> (decoder | grapher | analyzer | encoder).run()
Render the grapher results:
-.. doctest::
+.. doctest::
>>> grapher.render(output='waveform.png')