2626# If extensions (or modules to document with autodoc) are in another directory,
2727# add these directories to sys.path here. If the directory is relative to the
2828# documentation root, use os.path.abspath to make it absolute, like shown here.
29- #
30- # import os
31- # import sys
32- # sys.path.insert(0, os.path.abspath('.'))
29+ import os
30+ import sys
31+
32+ # To pickup rustdoc_trim.py
33+ sys .path .insert (0 , os .path .abspath (".." ))
3334
3435# -- Project information -----------------------------------------------------
3536
36- project = ' Apache DataFusion'
37- copyright = ' 2019-2025, Apache Software Foundation'
38- author = ' Apache Software Foundation'
37+ project = " Apache DataFusion"
38+ copyright = " 2019-2025, Apache Software Foundation"
39+ author = " Apache Software Foundation"
3940
4041
4142# -- General configuration ---------------------------------------------------
4445# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
4546# ones.
4647extensions = [
47- 'sphinx.ext.autodoc' ,
48- 'sphinx.ext.autosummary' ,
49- 'sphinx.ext.doctest' ,
50- 'sphinx.ext.ifconfig' ,
51- 'sphinx.ext.mathjax' ,
52- 'sphinx.ext.viewcode' ,
53- 'sphinx.ext.napoleon' ,
54- 'myst_parser' ,
55- 'sphinx_reredirects' ,
48+ "sphinx.ext.autodoc" ,
49+ "sphinx.ext.autosummary" ,
50+ "sphinx.ext.doctest" ,
51+ "sphinx.ext.ifconfig" ,
52+ "sphinx.ext.mathjax" ,
53+ "sphinx.ext.viewcode" ,
54+ "sphinx.ext.napoleon" ,
55+ "myst_parser" ,
56+ "sphinx_reredirects" ,
57+ "rustdoc_trim" ,
5658]
5759
5860source_suffix = {
59- ' .rst' : ' restructuredtext' ,
60- ' .md' : ' markdown' ,
61+ " .rst" : " restructuredtext" ,
62+ " .md" : " markdown" ,
6163}
6264
6365# Add any paths that contain templates here, relative to this directory.
64- templates_path = [' _templates' ]
66+ templates_path = [" _templates" ]
6567
6668# List of patterns, relative to source directory, that match files and
6769# directories to ignore when looking for source files.
8385# The theme to use for HTML and HTML Help pages. See the documentation for
8486# a list of builtin themes.
8587#
86- html_theme = ' pydata_sphinx_theme'
88+ html_theme = " pydata_sphinx_theme"
8789
8890html_theme_options = {
8991 "use_edit_page_button" : True ,
99101# Add any paths that contain custom static files (such as style sheets) here,
100102# relative to this directory. They are copied after the builtin static files,
101103# so a file named "default.css" will overwrite the builtin "default.css".
102- html_static_path = [' _static' ]
104+ html_static_path = [" _static" ]
103105
104106html_logo = "_static/images/2x_bgwhite_original.png"
105107
106- html_css_files = [
107- "theme_overrides.css"
108- ]
108+ html_css_files = ["theme_overrides.css" ]
109109
110110html_sidebars = {
111111 "**" : ["docs-sidebar.html" ],
121121# presence of some special characters like: 🚀, å, {,... But this isn’t a major
122122# issue for our documentation. So, suppress these warnings to keep our build
123123# log cleaner.
124- suppress_warnings = [' misc.highlighting_failure' ]
124+ suppress_warnings = [" misc.highlighting_failure" ]
125125
126126redirects = {
127127 "library-user-guide/adding-udfs" : "functions/index.html" ,
128128 "user-guide/runtime_configs" : "configs.html" ,
129- }
129+ }
0 commit comments