This is an automated email from the ASF dual-hosted git repository.
paleolimbot pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/sedona-db.git
The following commit(s) were added to refs/heads/main by this push:
new a96de115 docs: add separate pages for ST_Area() and ST_AsBinary()
(#457)
a96de115 is described below
commit a96de115422b80b9ad72ddbf3092244f1f9138f8
Author: Matthew Powers <[email protected]>
AuthorDate: Tue Dec 16 12:01:18 2025 -0500
docs: add separate pages for ST_Area() and ST_AsBinary() (#457)
---
docs/reference/functions/.gitignore | 2 ++
docs/reference/functions/{.gitignore => st_area.qmd} | 20 +++++++++++++++++---
.../functions/{.gitignore => st_asbinary.qmd} | 20 +++++++++++++++++---
3 files changed, 36 insertions(+), 6 deletions(-)
diff --git a/docs/reference/functions/.gitignore
b/docs/reference/functions/.gitignore
index d835f3f1..ca5d30fb 100644
--- a/docs/reference/functions/.gitignore
+++ b/docs/reference/functions/.gitignore
@@ -18,3 +18,5 @@
/.quarto/
*.md
*_files/
+
+**/*.quarto_ipynb
diff --git a/docs/reference/functions/.gitignore
b/docs/reference/functions/st_area.qmd
similarity index 71%
copy from docs/reference/functions/.gitignore
copy to docs/reference/functions/st_area.qmd
index d835f3f1..496f14d1 100644
--- a/docs/reference/functions/.gitignore
+++ b/docs/reference/functions/st_area.qmd
@@ -1,3 +1,4 @@
+---
# 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
@@ -15,6 +16,19 @@
# specific language governing permissions and limitations
# under the License.
-/.quarto/
-*.md
-*_files/
+title: ST_Area
+description: Returns the area of a geometry.
+kernels:
+ - returns: geometry
+ args: [geometry]
+---
+
+## Description
+
+`ST_Area()` Returns the area of a polygon or multi-polygon geometry.
+
+## Examples
+
+```sql
+SELECT ST_Area(ST_GeomFromWKT('POLYGON ((0 0, 10 0, 10 10, 0 10, 0 0))'));
+```
diff --git a/docs/reference/functions/.gitignore
b/docs/reference/functions/st_asbinary.qmd
similarity index 68%
copy from docs/reference/functions/.gitignore
copy to docs/reference/functions/st_asbinary.qmd
index d835f3f1..8876544d 100644
--- a/docs/reference/functions/.gitignore
+++ b/docs/reference/functions/st_asbinary.qmd
@@ -1,3 +1,4 @@
+---
# 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
@@ -15,6 +16,19 @@
# specific language governing permissions and limitations
# under the License.
-/.quarto/
-*.md
-*_files/
+title: ST_AsBinary
+description: Converts a geometry to Well-Known Binary (WKB) format.
+kernels:
+ - returns: geometry
+ args: [geometry]
+---
+
+## Description
+
+`ST_AsBinary()` Returns the Well-Known Binary representation of a geometry or
geography. This function also has the alias ST_AsWKB.
+
+## Examples
+
+```sql
+SELECT ST_AsBinary(ST_Point(1.0, 2.0));
+```