-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DOCS] - Fix sample code and python api docs (#71)
* fix: fix sample code and python api docs * fix: readme code sample * fix: python lint * fix: repo name in docs & url link * fix: repo name in docs & url link * fix: remove useless dependency * fix: remove .DS_Store
- 45.1.0-rc1
- 45.0.0-rc2
- 45.0.0-rc1
- 44.0.0
- 44.0.0-rc1
- 43.1.0
- 43.1.0-rc2
- 43.1.0-rc1
- 43.0.0-rc1
- 42.0.0
- 42.0.0-rc1
- 41.0.0
- 41.0.0-rc1
- 40.1.0
- 40.1.0-rc2
- 40.1.0-rc1
- 40.0.0-rc1
- 39.0.0
- 39.0.0-rc1
- 38.0.1
- 38.0.1-rc1
- 38.0.1-docs2
- 38.0.1-docs
- 38.0.0-rc2
- 38.0.0-rc1
- 37.1.0
- 37.1.0-rc1
- 37.0.0-rc1
- 36.0.0
- 36.0.0-rc1
- 35.0.0
- 35.0.0-rc1
- 34.0.0
- 34.0.0-rc1
- 33.0.0
- 33.0.0-rc1
- 32.0.0
- 32.0.0-rc1
- 31.0.0
- 31.0.0-rc1
- 28.0.0
- 28.0.0-rc1
- 27.0.0
- 27.0.0-rc1
- 26.0.0
- 26.0.0-rc1
- 25.0.0
- 25.0.0-rc1
- 24.0.0
- 24.0.0-rc1
- 23.0.0
- 23.0.0-rc2
- 23.0.0-rc1
- 22.0.0
- 22.0.0-rc1
- 21.0.0
- 21.0.0-rc-test1
- 21.0.0-rc1
- 20.0.0
- 20.0.0-rc2
- 20.0.0-rc1
- 0.8.0
- 0.8.0-rc2
- 0.8.0-rc1
- 0.7.0
- 0.7.0-rc2
- 0.7.0-rc1
1 parent
72f0600
commit f0d5659
Showing
29 changed files
with
590 additions
and
219 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
# | ||
# Minimal makefile for Sphinx documentation | ||
# | ||
|
||
# You can set these variables from the command line, and also | ||
# from the environment for the first two. | ||
SPHINXOPTS ?= | ||
SPHINXBUILD ?= sphinx-build | ||
SOURCEDIR = source | ||
BUILDDIR = build | ||
|
||
# Put it first so that "make" without argument is like "make help". | ||
help: | ||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
|
||
.PHONY: help Makefile | ||
|
||
# Catch-all target: route all unknown targets to Sphinx using the new | ||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | ||
%: Makefile | ||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<!--- | ||
Licensed to the Apache Software Foundation (ASF) under one | ||
or more contributor license agreements. See the NOTICE file | ||
distributed with this work for additional information | ||
regarding copyright ownership. The ASF licenses this file | ||
to you under the Apache License, Version 2.0 (the | ||
"License"); you may not use this file except in compliance | ||
with the License. You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, | ||
software distributed under the License is distributed on an | ||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, either express or implied. See the License for the | ||
specific language governing permissions and limitations | ||
under the License. | ||
--> | ||
|
||
# DataFusion Documentation | ||
|
||
This folder contains the source content of the [python api](./source/api). | ||
These are both published to https://arrow.apache.org/datafusion/ | ||
as part of the release process. | ||
|
||
## Dependencies | ||
|
||
It's recommended to install build dependencies and build the documentation | ||
inside a Python virtualenv. | ||
|
||
- Python | ||
- `pip install -r requirements.txt` | ||
|
||
## Build & Preview | ||
|
||
Run the provided script to build the HTML pages. | ||
|
||
```bash | ||
./build.sh | ||
``` | ||
|
||
The HTML will be generated into a `build` directory. | ||
|
||
Preview the site on Linux by running this command. | ||
|
||
```bash | ||
firefox build/html/index.html | ||
``` | ||
|
||
## Release Process | ||
|
||
The documentation is served through the | ||
[arrow-site](https://github.com/apache/arrow-site/) repo. To release a new | ||
version of the docs, follow these steps: | ||
|
||
1. Run `./build.sh` inside `docs` folder to generate the docs website inside the `build/html` folder. | ||
2. Clone the arrow-site repo | ||
3. Checkout to the `asf-site` branch (NOT `master`) | ||
4. Copy build artifacts into `arrow-site` repo's `datafusion` folder with a command such as | ||
|
||
- `cp -rT ./build/html/ ../../arrow-site/datafusion/` (doesn't work on mac) | ||
- `rsync -avzr ./build/html/ ../../arrow-site/datafusion/` | ||
|
||
5. Commit changes in `arrow-site` and send a PR. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
# | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
# | ||
|
||
set -e | ||
rm -rf build 2> /dev/null | ||
rm -rf temp 2> /dev/null | ||
mkdir temp | ||
cp -rf source/* temp/ | ||
# replace relative URLs with absolute URLs | ||
#sed -i 's/\.\.\/\.\.\/\.\.\//https:\/\/github.com\/apache\/arrow-datafusion\/blob\/master\//g' temp/contributor-guide/index.md | ||
make SOURCEDIR=`pwd`/temp html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
@rem Licensed to the Apache Software Foundation (ASF) under one | ||
@rem or more contributor license agreements. See the NOTICE file | ||
@rem distributed with this work for additional information | ||
@rem regarding copyright ownership. The ASF licenses this file | ||
@rem to you under the Apache License, Version 2.0 (the | ||
@rem "License"); you may not use this file except in compliance | ||
@rem with the License. You may obtain a copy of the License at | ||
@rem | ||
@rem http://www.apache.org/licenses/LICENSE-2.0 | ||
@rem | ||
@rem Unless required by applicable law or agreed to in writing, | ||
@rem software distributed under the License is distributed on an | ||
@rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
@rem KIND, either express or implied. See the License for the | ||
@rem specific language governing permissions and limitations | ||
@rem under the License. | ||
|
||
@ECHO OFF | ||
|
||
pushd %~dp0 | ||
|
||
REM Command file for Sphinx documentation | ||
|
||
if "%SPHINXBUILD%" == "" ( | ||
set SPHINXBUILD=sphinx-build | ||
) | ||
set SOURCEDIR=source | ||
set BUILDDIR=build | ||
|
||
if "%1" == "" goto help | ||
|
||
%SPHINXBUILD% >NUL 2>NUL | ||
if errorlevel 9009 ( | ||
echo. | ||
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx | ||
echo.installed, then set the SPHINXBUILD environment variable to point | ||
echo.to the full path of the 'sphinx-build' executable. Alternatively you | ||
echo.may add the Sphinx directory to PATH. | ||
echo. | ||
echo.If you don't have Sphinx installed, grab it from | ||
echo.http://sphinx-doc.org/ | ||
exit /b 1 | ||
) | ||
|
||
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% | ||
goto end | ||
|
||
:help | ||
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% | ||
|
||
:end | ||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
sphinx | ||
pydata-sphinx-theme==0.8.0 | ||
myst-parser | ||
maturin | ||
jinja2 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
docs/source/_static/images/DataFusion-Logo-Background-White.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
/** | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
|
||
|
||
/* Customizing with theme CSS variables */ | ||
|
||
:root { | ||
--pst-color-active-navigation: 215, 70, 51; | ||
--pst-color-link-hover: 215, 70, 51; | ||
--pst-color-headerlink: 215, 70, 51; | ||
/* Use normal text color (like h3, ..) instead of primary color */ | ||
--pst-color-h1: var(--color-text-base); | ||
--pst-color-h2: var(--color-text-base); | ||
/* Use softer blue from bootstrap's default info color */ | ||
--pst-color-info: 23, 162, 184; | ||
--pst-header-height: 0px; | ||
} | ||
|
||
code { | ||
color: rgb(215, 70, 51); | ||
} | ||
|
||
.footer { | ||
text-align: center; | ||
} | ||
|
||
/* Ensure the logo is properly displayed */ | ||
|
||
.navbar-brand { | ||
height: auto; | ||
width: auto; | ||
} | ||
|
||
a.navbar-brand img { | ||
height: auto; | ||
width: auto; | ||
max-height: 15vh; | ||
max-width: 100%; | ||
} | ||
|
||
|
||
/* This is the bootstrap CSS style for "table-striped". Since the theme does | ||
not yet provide an easy way to configure this globaly, it easier to simply | ||
include this snippet here than updating each table in all rst files to | ||
add ":class: table-striped" */ | ||
|
||
.table tbody tr:nth-of-type(odd) { | ||
background-color: rgba(0, 0, 0, 0.05); | ||
} | ||
|
||
|
||
/* Limit the max height of the sidebar navigation section. Because in our | ||
custimized template, there is more content above the navigation, i.e. | ||
larger logo: if we don't decrease the max-height, it will overlap with | ||
the footer. | ||
Details: min(15vh, 110px) for the logo size, 8rem for search box etc*/ | ||
|
||
@media (min-width:720px) { | ||
@supports (position:-webkit-sticky) or (position:sticky) { | ||
.bd-links { | ||
max-height: calc(100vh - min(15vh, 110px) - 8rem) | ||
} | ||
} | ||
} | ||
|
||
|
||
/* Fix table text wrapping in RTD theme, | ||
* see https://rackerlabs.github.io/docs-rackspace/tools/rtd-tables.html | ||
*/ | ||
|
||
@media screen { | ||
table.docutils td { | ||
/* !important prevents the common CSS stylesheets from overriding | ||
this as on RTD they are loaded after this stylesheet */ | ||
white-space: normal !important; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
<a class="navbar-brand" href="{{ pathto(master_doc) }}"> | ||
<img src="{{ pathto('_static/images/' + logo, 1) }}" class="logo" alt="logo"> | ||
</a> | ||
|
||
<form class="bd-search d-flex align-items-center" action="{{ pathto('search') }}" method="get"> | ||
<i class="icon fas fa-search"></i> | ||
<input type="search" class="form-control" name="q" id="search-input" placeholder="{{ theme_search_bar_text }}" aria-label="{{ theme_search_bar_text }}" autocomplete="off" > | ||
</form> | ||
|
||
<nav class="bd-links" id="bd-docs-nav" aria-label="Main navigation"> | ||
<div class="bd-toc-item active"> | ||
{% if "python/api" in pagename or "python/generated" in pagename %} | ||
{{ generate_nav_html("sidebar", startdepth=0, maxdepth=3, collapse=False, includehidden=True, titles_only=True) }} | ||
{% else %} | ||
{{ generate_nav_html("sidebar", startdepth=0, maxdepth=4, collapse=False, includehidden=True, titles_only=True) }} | ||
{% endif %} | ||
</div> | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{% extends "pydata_sphinx_theme/layout.html" %} | ||
|
||
{# Silence the navbar #} | ||
{% block docs_navbar %} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,4 @@ Functions | |
.. autosummary:: | ||
:toctree: ../generated/ | ||
|
||
functions | ||
functions.functions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
# 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: | ||
# https://www.sphinx-doc.org/en/master/usage/configuration.html | ||
|
||
# -- 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 | ||
# sys.path.insert(0, os.path.abspath('.')) | ||
|
||
# -- Project information ----------------------------------------------------- | ||
|
||
project = "Arrow DataFusion" | ||
copyright = "2022, Apache Software Foundation" | ||
author = "Arrow DataFusion Authors" | ||
|
||
|
||
# -- 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.ext.autodoc", | ||
"sphinx.ext.autosummary", | ||
"sphinx.ext.doctest", | ||
"sphinx.ext.ifconfig", | ||
"sphinx.ext.mathjax", | ||
"sphinx.ext.viewcode", | ||
"sphinx.ext.napoleon", | ||
"myst_parser", | ||
] | ||
|
||
source_suffix = { | ||
".rst": "restructuredtext", | ||
".md": "markdown", | ||
} | ||
|
||
# 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 = [] | ||
|
||
# Show members for classes in .. autosummary | ||
autodoc_default_options = { | ||
"members": None, | ||
"undoc-members": None, | ||
"show-inheritance": None, | ||
"inherited-members": None, | ||
} | ||
|
||
autosummary_generate = 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 = "pydata_sphinx_theme" | ||
|
||
html_theme_options = { | ||
"use_edit_page_button": True, | ||
} | ||
|
||
html_context = { | ||
"github_user": "apache", | ||
"github_repo": "arrow-datafusion-python", | ||
"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". | ||
html_static_path = ["_static"] | ||
|
||
html_logo = "_static/images/DataFusion-Logo-Background-White.png" | ||
|
||
html_css_files = ["theme_overrides.css"] | ||
|
||
html_sidebars = { | ||
"**": ["docs-sidebar.html"], | ||
} | ||
|
||
# tell myst_parser to auto-generate anchor links for headers h1, h2, h3 | ||
myst_heading_anchors = 3 | ||
|
||
# enable nice rendering of checkboxes for the task lists | ||
myst_enable_extensions = ["tasklist"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
52 changes: 0 additions & 52 deletions
52
docs/source/python/generated/datafusion.SessionContext.rst
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters