diff --git a/extensions/crypto/description.yml b/extensions/crypto/description.yml index e0b5765..2fc84cd 100644 --- a/extensions/crypto/description.yml +++ b/extensions/crypto/description.yml @@ -12,3 +12,10 @@ extension: repo: github: rustyconover/duckdb-crypto-extension ref: b6ccda3451d4fac8a2c0ae5ab2bca5216f22424c + +docs: + hello_world: | + SELECT * from read_csv('seq 1 100 | grep 2 |'); + extended_description: | + This extension, `crypto`, adds cryptographic hash functions and + the ability to calculate a HMAC to DuckDB's SQL engine. \ No newline at end of file diff --git a/extensions/crypto/docs/function_descriptions.csv b/extensions/crypto/docs/function_descriptions.csv new file mode 100644 index 0000000..da852a3 --- /dev/null +++ b/extensions/crypto/docs/function_descriptions.csv @@ -0,0 +1,3 @@ +function,description,comment,example +crypto_hash,"Calculate the value of a hash function","","select crypto_hash('md5', 'test');" +crypto_hmac,"Calculate a HMAC value","","select crypto_hmac('sha2-256', 'secret key', 'secret message');" diff --git a/extensions/lindel/description.yml b/extensions/lindel/description.yml index 8a502ee..7fed355 100644 --- a/extensions/lindel/description.yml +++ b/extensions/lindel/description.yml @@ -11,3 +11,11 @@ extension: repo: github: rustyconover/duckdb-lindel-extension ref: 76f5bc78e8bfd1a7953c8cc4c284209b65626216 + +docs: + hello_world: | + SELECT hilbert_encode([1, 2, 3]::tinyint[3]); + extended_description: | + This `lindel` extension adds functions for the linearization and + delinearization of numeric arrays in DuckDB. It allows you to order + multi-dimensional data using space-filling curves. diff --git a/extensions/lindel/docs/function_descriptions.csv b/extensions/lindel/docs/function_descriptions.csv new file mode 100644 index 0000000..87c7eb1 --- /dev/null +++ b/extensions/lindel/docs/function_descriptions.csv @@ -0,0 +1,5 @@ +function,description,comment,example +hilbert_encode,"Encode an array of values using the Hilbert space filling curve","","select hilbert_encode([43, 3]::integer[2]);" +hilbert_decode,"Decode a Hilbert encoded set of values","","select hilbert_decode(7::uint16, 2, false, true) as values;" +morton_encode,"Encode an array of values using Morton encoding","","select morton_encode([43, 3]::integer[2]);" +morton_decode,"Decode an array of values using Morton encoding","","select morton_decode(7::uint16, 2, false, true) as values;" diff --git a/extensions/shellfs/description.yml b/extensions/shellfs/description.yml index dddcd1b..d5e3280 100644 --- a/extensions/shellfs/description.yml +++ b/extensions/shellfs/description.yml @@ -12,3 +12,12 @@ extension: repo: github: rustyconover/duckdb-shellfs-extension ref: d01c73d211544f5f0ff62acb8263a9874f973ddd + +docs: + hello_world: | + SELECT * from read_csv('seq 1 100 | grep 2 |'); + extended_description: | + The `shellfs`` extension for DuckDB enables the use of Unix pipes for input and output. + By appending a pipe character `|`` to a filename, DuckDB will treat it as a series of commands + to execute and capture the output. Conversely, if you prefix a filename with `|`, DuckDB will + treat it as an output pipe.