Esempio n. 1
0
# Allow duplicate toc entries.
#epub_tocdup = True

# Choose between 'default' and 'includehidden'.
#epub_tocscope = 'default'

# Fix unsupported image types using the PIL.
#epub_fix_images = False

# Scale large images.
#epub_max_image_width = 0

# How to display URL addresses: 'footnote', 'no', or 'inline'.
#epub_show_urls = 'inline'

# If false, no index is generated.
#epub_use_index = True

autoclass_content = 'both'

# Do the rst generation if in READ_THE_DOCS
if os.environ.get('READTHEDOCS', None) == 'True':
    from sphinx_python_api_utils.make_rst import make_rst

    for f in os.listdir("."):
        if (os.path.isfile(f) and f.endswith(".rst")
                and f != "index.rst" and f != "modules.rst"):
            os.remove(f)
    make_rst(rootpath="../../spinnman", excludes=[], destdir=".",
            force=True, separatemodules=True)
Esempio n. 2
0
# Allow duplicate toc entries.
#epub_tocdup = True

# Choose between 'default' and 'includehidden'.
#epub_tocscope = 'default'

# Fix unsupported image types using the PIL.
#epub_fix_images = False

# Scale large images.
#epub_max_image_width = 0

# How to display URL addresses: 'footnote', 'no', or 'inline'.
#epub_show_urls = 'inline'

# If false, no index is generated.
#epub_use_index = True

autoclass_content = 'both'

# Do the rst generation if in READ_THE_DOCS
if os.environ.get('READTHEDOCS', None) == 'True':
    from sphinx_python_api_utils.make_rst import make_rst

    for f in os.listdir("."):
        if (os.path.isfile(f) and f.endswith(".rst")
                and f != "index.rst" and f != "modules.rst"):
            os.remove(f)
    make_rst(rootpath="../../data_specification", excludes=[], destdir=".",
            force=True, separatemodules=True)