# Configuration file for the Sphinx documentation builder.1#2# This file only contains a selection of the most common options. For a full3# list see the documentation:4# https://www.sphinx-doc.org/en/master/usage/configuration.html5# -- Path setup --------------------------------------------------------------6# If extensions (or modules to document with autodoc) are in another directory,7# add these directories to sys.path here. If the directory is relative to the8# documentation root, use os.path.abspath to make it absolute, like shown here.9#10import os11import sys12sys.path.insert(0, os.path.abspath('../..'))131415# -- Project information -----------------------------------------------------1617project = 'SingleStoreDB'18copyright = '2022 SingleStore. All Rights Reserved'19author = 'SingleStore'202122import singlestoredb as s2 # noqa: W291,E4022324version = s2.__version__25release = s2.__version__262728# -- General configuration ---------------------------------------------------2930# Add any Sphinx extension module names here, as strings. They can be31# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom32# ones.33extensions = [34'sphinx.ext.autosummary',35'sphinx.ext.napoleon',36'sphinx.ext.githubpages',37'IPython.sphinxext.ipython_directive',38'IPython.sphinxext.ipython_console_highlighting',39'sphinx.ext.intersphinx',40]4142autosummary_generate = True43numpydoc_show_class_members = False44autodoc_default_flags = ['show-inheritance']45autoclass_content = 'class'4647intersphinx_mapping = {48'python': ('https://docs.python.org/', None),49'pandas': ('http://pandas.pydata.org/pandas-docs/version/0.19.2/', None),50'numpy': ('http://docs.scipy.org/doc/numpy/', None),51'scipy': ('http://docs.scipy.org/doc/scipy/reference/', None),52'matplotlib': ('http://matplotlib.sourceforge.net/', None),53}5455# Add any paths that contain templates here, relative to this directory.56templates_path = ['_templates']5758# List of patterns, relative to source directory, that match files and59# directories to ignore when looking for source files.60# This pattern also affects html_static_path and html_extra_path.61exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']626364# -- Options for HTML output -------------------------------------------------6566import sphinx_rtd_theme # noqa: E4026768html_theme = 'sphinx_rtd_theme'6970html_context = {71'css_files': [72'_static/pygments.css',73'_static/css/theme.css',74'_static/custom.css',75],76}7778# Theme options are theme-specific and customize the look and feel of a theme79# further. For a list of options available for each theme, see the80# documentation.81# html_theme_options = {}8283# Add any paths that contain custom themes here, relative to this directory.84html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]8586# Add any paths that contain custom static files (such as style sheets) here,87# relative to this directory. They are copied after the builtin static files,88# so a file named "default.css" will overwrite the builtin "default.css".89html_static_path = ['_static']9091pygments_style = 'monokai'92# pygments_dark_style = 'monokai'939495