copyright = '© Copyright 2015, Anaconda.' # Get the standard computed Bokeh version string to use for |version| # and |release| from bokeh import __version__ # The short X.Y version. version = __version__ # The full version, including alpha/beta/rc tags. release = __version__ # Check for version override (e.g. when re-deploying a previously released # docs, or when pushing test docs that do not have a corresponding BokehJS # available on CDN) from bokeh.settings import settings if settings.docs_version(): version = release = settings.docs_version() # get all the versions that will appear in the version dropdown f = open(join(dirname(abspath(__file__)), "all_versions.txt")) all_versions = [x.strip() for x in reversed(f.readlines())] # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. #language = None # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: #today = '' # Else, today_fmt is used as the format for a strftime call. #today_fmt = '%B %d, %Y'
from datetime import date # Bokeh imports from bokeh import __version__ from bokeh.settings import settings # -- Project configuration ----------------------------------------------------- author = "Bokeh Contributors" year = date.today().year copyright = f"©{year} {author}." project = 'Bokeh' version = settings.docs_version() or __version__ # -- Sphinx configuration ----------------------------------------------------- add_module_names = False exclude_patterns = ['docs/releases/*'] extensions = [ 'sphinxext.opengraph', 'sphinx_panels', # 'sphinx_reredirects', 'sphinx.ext.autodoc', 'sphinx.ext.autosummary', 'sphinx.ext.ifconfig', 'sphinx.ext.napoleon',
copyright = '© Copyright 2015, Anaconda.' # Get the standard computed Bokeh version string to use for |version| # and |release| from bokeh import __version__ # The short X.Y version. version = __version__ # The full version, including alpha/beta/rc tags. release = __version__ # Check for version override (e.g. when re-deploying a previously released # docs, or when pushing test docs that do not have a corresponding BokehJS # available on CDN) from bokeh.settings import settings if settings.docs_version(): version = release = settings.docs_version() # get all the versions that will appear in the version dropdown f = open(join(dirname(abspath(__file__)), "all_versions.txt")) all_versions = [x.strip() for x in reversed(f.readlines())] # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. #language = None # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: #today = '' # Else, today_fmt is used as the format for a strftime call. #today_fmt = '%B %d, %Y'