-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: switch completely to generated docs for scalar and aggregate fu…
…nctions (#13161) * Remove _new docs, update index, update docs build script to point to main .md files for aggregate & scalar function pages. * update documentation
- Loading branch information
Showing
6 changed files
with
5,125 additions
and
5,300 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ SOURCE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | |
cd "${SOURCE_DIR}/../" && pwd | ||
|
||
|
||
TARGET_FILE="docs/source/user-guide/sql/aggregate_functions_new.md" | ||
TARGET_FILE="docs/source/user-guide/sql/aggregate_functions.md" | ||
PRINT_AGGREGATE_FUNCTION_DOCS_COMMAND="cargo run --manifest-path datafusion/core/Cargo.toml --bin print_functions_docs -- aggregate" | ||
|
||
echo "Inserting header" | ||
|
@@ -56,13 +56,7 @@ update documentation for an individual UDF or the | |
dev/update_function_docs.sh file for updating surrounding text. | ||
--> | ||
# Aggregate Functions (NEW) | ||
Note: this documentation is in the process of being migrated to be [automatically created from the codebase]. | ||
Please see the [Aggregate Functions (old)](aggregate_functions.md) page for | ||
the rest of the documentation. | ||
[automatically created from the codebase]: https://github.com/apache/datafusion/issues/12740 | ||
# Aggregate Functions | ||
Aggregate functions operate on a set of values to compute a single result. | ||
EOF | ||
|
@@ -75,7 +69,7 @@ npx [email protected] --write "$TARGET_FILE" | |
|
||
echo "'$TARGET_FILE' successfully updated!" | ||
|
||
TARGET_FILE="docs/source/user-guide/sql/scalar_functions_new.md" | ||
TARGET_FILE="docs/source/user-guide/sql/scalar_functions.md" | ||
PRINT_SCALAR_FUNCTION_DOCS_COMMAND="cargo run --manifest-path datafusion/core/Cargo.toml --bin print_functions_docs -- scalar" | ||
|
||
echo "Inserting header" | ||
|
@@ -107,13 +101,7 @@ update documentation for an individual UDF or the | |
dev/update_function_docs.sh file for updating surrounding text. | ||
--> | ||
# Scalar Functions (NEW) | ||
Note: this documentation is in the process of being migrated to be [automatically created from the codebase]. | ||
Please see the [Scalar Functions (old)](aggregate_functions.md) page for | ||
the rest of the documentation. | ||
[automatically created from the codebase]: https://github.com/apache/datafusion/issues/12740 | ||
# Scalar Functions | ||
EOF | ||
|
||
|
Oops, something went wrong.