Пример #1
0
        'sidebarlogo.html', 'sidebarintro.html', 'localtoc.html',
        'relations.html', 'searchbox.html'
    ]
}
html_favicon = '_static/favicon.ico'
html_theme_options = {'index_logo': None}

html_show_sphinx = False
html_style = 'finagle.css'

project = 'Finagle'
copyright = '{} Twitter, Inc'.format(datetime.datetime.now().year)
htmlhelp_basename = "finagle"
release = sbt_versions.find_release(
    os.path.abspath('../../../project/Build.scala'))
version = sbt_versions.release_to_version(release)

# e.g. :issue:`36` :ticket:`8`
# or :src:`BufferingPool <com/twitter/finagle/pool/BufferingPool.scala>`
extlinks = {
    'issue': ('https://github.com/twitter/finagle/issues/%s', 'issue #'),
    'ex':
    ('https://github.com/twitter/finagle/blob/finagle-example/src/main/scala/%s',
     'Finagle example '),
    'api': ('https://twitter.github.io/finagle/docs/%s', ''),
    'util': ('https://twitter.github.io/util/docs/%s', ''),
    'util-app-src':
    ("https://github.com/twitter/util/blob/release/util-app/src/main/scala/%s",
     'util-app github repo'),
    'util-core-src':
    ("https://github.com/twitter/util/blob/release/util-core/src/main/scala/%s",
Пример #2
0
}
html_theme_options = {
  'index_logo': None
}

# These don't seem to work?
html_use_smartypants = True
html_show_sphinx = False

project = u'TwitterServer'
copyright = u'2013 Twitter, Inc'
version = ''
release = ''
htmlhelp_basename = "twitter-server"
release = sbt_versions.find_release(os.path.abspath('../../../project/Build.scala'))
version = sbt_versions.release_to_version(release)

# e.g. :issue:`36` :ticket:`8`
extlinks = {
  'issue': ('https://github.com/twitter/twitter-server/issues/%s', 'issue #')
}

rst_epilog = '''
.. include:: /links.txt
'''

pygments_style = 'flask_theme_support.FlaskyStyle'

# fall back if theme is not there
try:
    __import__('flask_theme_support')