Sha256: 1f510238a51e2a10dcb142332000cd47dbc045c28ae5c68c44badac585f2264e

Contents?: true

Size: 1.31 KB

Versions: 2

Compression:

Stored size: 1.31 KB

Contents

import sys, os, docutils


extensions = [
    'sphinx.ext.intersphinx',
    'sphinx.ext.doctest',
    'sphinx.ext.extlinks'
]

source_suffix = '.rst'
master_doc = 'index'
project = 'ndtypes'
copyright = '2017-2018, Plures Project'
version = 'v0.2.0dev3'
release = 'v0.2.0dev3'
exclude_patterns = ['doc', 'build']
pygments_style = 'sphinx'

html_static_path = ['_static']
templates_path = ['_templates']

primary_domain = 'py'
add_function_parentheses = False

html_theme = "sphinx_rtd_theme"
html_theme_path = ["_themes", ]

html_theme_options = {
    'canonical_url': 'https://xnd.io/',
    'analytics_id': '',
    'logo_only': True,
    'display_version': True,
    'prev_next_buttons_location': 'bottom',
    # Toc options
    'collapse_navigation': True,
    'sticky_navigation': True,
    'navigation_depth': 4,
}

html_context = {
    "display_github": False, # Add 'Edit on Github' link instead of 'View page source'
    "last_updated": True,
    "commit": False,
}

html_show_sourcelink = False

extlinks = {
    'issue': ('https://github.com/plures/ndtypes/issues/%s', 'GH#'),
    'pr': ('https://github.com/plures/ndtypes/pull/%s', 'GH#')
}

html_logo = "images/xndlogo.png"


def setup(app):
    app.add_crossref_type(
        'topic', 'topic', 'single: %s', docutils.nodes.strong
    )
    app.add_javascript("copybutton.js")


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ndtypes-0.2.0dev8 ext/ruby_ndtypes/ndtypes/doc/conf.py
ndtypes-0.2.0dev6 ext/ruby_ndtypes/ndtypes/doc/conf.py