Skip to content

Apache DataFusion SQL Query Engine

docs: include edit on github link (#1025)

QP Hou225825634cca
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 797123948f..4a8ed5be3f 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -86,6 +86,17 @@ autosummary_generate = True
#
html_theme = 'pydata_sphinx_theme'
+html_theme_options = {
+ "use_edit_page_button": True,
+}
+
+html_context = {
+ "github_user": "apache",
+ "github_repo": "arrow-datafusion",
+ "github_version": "master",
+ "doc_path": "docs/source",
+}
+
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".