# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # http://www.sphinx-doc.org/en/master/config # -- Path setup -------------------------------------------------------------- # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. # import os import sys import sphinx_bootstrap_theme # Append local Sphinx extensions sys.path.append(os.path.abspath("./_ext")) # Insert awswrangler"s path into the system. sys.path.insert(0, os.path.abspath("../..")) import awswrangler # noqa: E402 # -- Project information ----------------------------------------------------- project = "AWS SDK for pandas" author = "Amazon Web Services" master_doc = "index" # The full version, including alpha/beta/rc tags release = awswrangler.__version__ version = awswrangler.__version__ # -- General configuration --------------------------------------------------- # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named "sphinx.ext.*") or your custom # ones. extensions = [ "sphinx_copybutton", "sphinx.ext.autosectionlabel", "sphinx.ext.autosummary", "sphinx.ext.napoleon", "nbsphinx", "nbsphinx_link", "myst_parser", "copy_tutorials", "copy_adr", "IPython.sphinxext.ipython_console_highlighting", ] language = "en" # Add any paths that contain templates here, relative to this directory. templates_path = ["_templates"] # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This pattern also affects html_static_path and html_extra_path. exclude_patterns = [] autosummary_generate = True autosectionlabel_prefix_document = True # -- Options for HTML output ------------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # # html_theme = "alabaster" html_theme = "bootstrap" html_theme_path = sphinx_bootstrap_theme.get_html_theme_path() html_show_copyright = False html_show_sourcelink = False html_show_sphinx = False html_favicon = "_static/favicon.ico" html_logo = "_static/logo_transparent.png" # Theme options are theme-specific and customize the look and feel of a # theme further. html_theme_options = { # Navigation bar title. (Default: ``project`` value) "navbar_title": "AWS SDK for pandas", # Tab name for entire site. (Default: "Site") "navbar_site_name": "Site", # A list of tuples containing pages or urls to link to. # Valid tuples should be in the following forms: # (name, page) # a link to a page # (name, "/aa/bb", 1) # a link to an arbitrary relative url # (name, "http://example.com", True) # arbitrary absolute url # Note the "1" or "True" value above as the third argument to indicate # an arbitrary url. "navbar_links": [ ("About", "about"), ("Install", "install"), ("At Scale", "scale"), ("Tutorials", "tutorials"), ("API Reference", "api"), ("License", "https://github.com/aws/aws-sdk-pandas/blob/main/LICENSE.txt", True), ("Contribute", "https://github.com/aws/aws-sdk-pandas/blob/main/CONTRIBUTING.md", True), ("GitHub", "https://github.com/aws/aws-sdk-pandas", True), ], # Render the next and previous page links in navbar. (Default: true) "navbar_sidebarrel": False, # Render the current pages TOC in the navbar. (Default: true) "navbar_pagenav": False, # Tab name for the current pages TOC. (Default: "Page") "navbar_pagenav_name": "Sections", # Global TOC depth for "site" navbar tab. (Default: 1) # Switching to -1 shows all levels. "globaltoc_depth": -1, # Include hidden TOCs in Site navbar? # # Note: If this is "false", you cannot have mixed ``:hidden:`` and # non-hidden ``toctree`` directives in the same page, or else the build # will break. # # Values: "true" (default) or "false" "globaltoc_includehidden": "false", # HTML navbar class (Default: "navbar") to attach to