This is an automated email from the ASF dual-hosted git repository.
quinnj pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/arrow-julia.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 4dabaf4 build based on bc39b2d
4dabaf4 is described below
commit 4dabaf49fb376d9de7e69815295b88d7b2c94088
Author: Documenter.jl <[email protected]>
AuthorDate: Tue Mar 31 00:23:34 2026 +0000
build based on bc39b2d
---
dev/.documenter-siteinfo.json | 2 +-
dev/assets/documenter.js | 20 ++++++++-----
dev/assets/warner.js | 66 +++++++++++++++++++++++++++++++++++++++----
dev/index.html | 2 +-
dev/manual/index.html | 2 +-
dev/reference/index.html | 12 ++++----
6 files changed, 83 insertions(+), 21 deletions(-)
diff --git a/dev/.documenter-siteinfo.json b/dev/.documenter-siteinfo.json
index 89678ce..879ac7f 100644
--- a/dev/.documenter-siteinfo.json
+++ b/dev/.documenter-siteinfo.json
@@ -1 +1 @@
-{"documenter":{"julia_version":"1.12.4","generation_timestamp":"2026-02-05T01:52:24","documenter_version":"1.16.1"}}
\ No newline at end of file
+{"documenter":{"julia_version":"1.12.5","generation_timestamp":"2026-03-31T00:23:26","documenter_version":"1.17.0"}}
\ No newline at end of file
diff --git a/dev/assets/documenter.js b/dev/assets/documenter.js
index 95e87c4..ca526a0 100644
--- a/dev/assets/documenter.js
+++ b/dev/assets/documenter.js
@@ -481,6 +481,7 @@ function worker_function(documenterSearchIndex,
documenterBaseURL, filters) {
// find anything if searching for "add!", only for the entire qualification
tokenize: (string) => {
const tokens = [];
+ const tokenSet = new Set();
let remaining = string;
// julia specific patterns
@@ -507,8 +508,9 @@ function worker_function(documenterSearchIndex,
documenterBaseURL, filters) {
let match;
while ((match = pattern.exec(remaining)) != null) {
const token = match[0].trim();
- if (token && !tokens.includes(token)) {
+ if (token && !tokenSet.has(token)) {
tokens.push(token);
+ tokenSet.add(token);
}
}
}
@@ -518,8 +520,9 @@ function worker_function(documenterSearchIndex,
documenterBaseURL, filters) {
.split(/[\s\-,;()[\]{}]+/)
.filter((t) => t.trim());
for (const token of basicTokens) {
- if (token && !tokens.includes(token)) {
+ if (token && !tokenSet.has(token)) {
tokens.push(token);
+ tokenSet.add(token);
}
}
@@ -1308,18 +1311,21 @@ $(document).ready(function () {
// construct the target URL with the same page path
var target_url = target_href;
if (page_path && page_path !== "" && page_path !== "index.html") {
- // remove trailing slash from target_href if present
- if (target_url.endsWith("/")) {
- target_url = target_url.slice(0, -1);
+ // ensure target_href ends with a slash before appending page path
+ if (!target_url.endsWith("/")) {
+ target_url = target_url + "/";
}
- target_url = target_url + "/" + page_path;
+ target_url = target_url + page_path;
}
+ // preserve the anchor (hash) from the current page
+ var current_hash = window.location.hash;
+
// check if the target page exists, fallback to homepage if it doesn't
fetch(target_url, { method: "HEAD" })
.then(function (response) {
if (response.ok) {
- window.location.href = target_url;
+ window.location.href = target_url + current_hash;
} else {
// page doesn't exist in the target version, go to homepage
window.location.href = target_href;
diff --git a/dev/assets/warner.js b/dev/assets/warner.js
index 891cd53..e9aeca8 100644
--- a/dev/assets/warner.js
+++ b/dev/assets/warner.js
@@ -37,7 +37,40 @@ function maybeAddWarning() {
closer.addEventListener("click", function () {
document.body.removeChild(div);
});
- const href = window.documenterBaseURL + "/../" + window.DOCUMENTER_STABLE;
+ var target_href =
+ window.documenterBaseURL + "/../" + window.DOCUMENTER_STABLE;
+
+ // try to stay on the same page when linking to the stable version
+ // get the current page path relative to the version root
+ var current_page = window.location.pathname;
+
+ // resolve the documenterBaseURL to an absolute path
+ // documenterBaseURL is a relative path (usually "."), so we need to resolve
it
+ var base_url_absolute = new URL(documenterBaseURL, window.location.href)
+ .pathname;
+ if (!base_url_absolute.endsWith("/")) {
+ base_url_absolute = base_url_absolute + "/";
+ }
+
+ // extract the page path after the version directory
+ // e.g., if we're on /stable/man/guide.html, we want "man/guide.html"
+ var page_path = "";
+ if (current_page.startsWith(base_url_absolute)) {
+ page_path = current_page.substring(base_url_absolute.length);
+ }
+
+ // construct the target URL with the same page path
+ var target_url = target_href;
+ if (page_path && page_path !== "" && page_path !== "index.html") {
+ // ensure target_href ends with a slash before appending page path
+ if (!target_url.endsWith("/")) {
+ target_url = target_url + "/";
+ }
+ target_url = target_url + page_path;
+ }
+
+ // preserve the anchor (hash) from the current page
+ var current_hash = window.location.hash;
// Determine if this is a development version or an older release
let warningMessage = "";
@@ -51,12 +84,35 @@ function maybeAddWarning() {
"This documentation is for an <strong>older version</strong> that may be
missing recent changes.<br>";
}
- warningMessage +=
- '<a href="' +
- href +
- '">Click here to go to the documentation for the latest stable
release.</a>';
+ // Create the link element with same-page navigation
+ const link = document.createElement("a");
+ link.href = target_url + current_hash;
+ link.textContent =
+ "Click here to go to the documentation for the latest stable release.";
+
+ // If we're trying to stay on the same page, verify it exists first
+ if (page_path && page_path !== "" && page_path !== "index.html") {
+ link.addEventListener("click", function (e) {
+ e.preventDefault();
+ // check if the target page exists, fallback to homepage if it doesn't
+ fetch(target_url, { method: "HEAD" })
+ .then(function (response) {
+ if (response.ok) {
+ window.location.href = target_url + current_hash;
+ } else {
+ // page doesn't exist in the target version, go to homepage
+ window.location.href = target_href;
+ }
+ })
+ .catch(function (error) {
+ // network error or other failure - use homepage
+ window.location.href = target_href;
+ });
+ });
+ }
div.innerHTML = warningMessage;
+ div.appendChild(link);
div.appendChild(closer);
document.body.appendChild(div);
}
diff --git a/dev/index.html b/dev/index.html
index 250da67..cf2b99d 100644
--- a/dev/index.html
+++ b/dev/index.html
@@ -16,4 +16,4 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
---><h1 id="Arrow.jl"><a class="docs-heading-anchor"
href="#Arrow.jl">Arrow.jl</a><a id="Arrow.jl-1"></a><a
class="docs-heading-anchor-permalink" href="#Arrow.jl"
title="Permalink"></a></h1><ul><li><a href="manual/#User-Manual">User
Manual</a></li><li class="no-marker"><ul><li><a
href="manual/#Support-for-generic-path-like-types">Support for generic
path-like types</a></li><li><a href="manual/#Reading-arrow-data">Reading arrow
data</a></li><li class="no-marker"><ul><li><a href="manual/#Ar [...]
+--><h1 id="Arrow.jl"><a class="docs-heading-anchor"
href="#Arrow.jl">Arrow.jl</a><a id="Arrow.jl-1"></a><a
class="docs-heading-anchor-permalink" href="#Arrow.jl"
title="Permalink"></a></h1><ul><li><a href="manual/#User-Manual">User
Manual</a></li><li class="no-marker"><ul><li><a
href="manual/#Support-for-generic-path-like-types">Support for generic
path-like types</a></li><li><a href="manual/#Reading-arrow-data">Reading arrow
data</a></li><li class="no-marker"><ul><li><a href="manual/#Ar [...]
diff --git a/dev/manual/index.html b/dev/manual/index.html
index dd442c3..fa223a1 100644
--- a/dev/manual/index.html
+++ b/dev/manual/index.html
@@ -68,4 +68,4 @@ Arrow.write(io, tbl_parts)
# treat an array of csv files with same schema where each file is a partition
# in this form, a function `CSV.File` is applied to each element of 2nd
argument
csv_parts = Tables.partitioner(CSV.File, csv_files)
-Arrow.write(io, csv_parts)</code></pre><h3 id="Arrow.Writer"><a
class="docs-heading-anchor"
href="#Arrow.Writer"><code>Arrow.Writer</code></a><a id="Arrow.Writer-1"></a><a
class="docs-heading-anchor-permalink" href="#Arrow.Writer"
title="Permalink"></a></h3><p>With <code>Arrow.Writer</code>, you instantiate
an <code>Arrow.Writer</code> object, write sources using it, and then close it.
This allows for incrmental writes to the same sink. It is similar to
<code>Arrow.append</code> withou [...]
+Arrow.write(io, csv_parts)</code></pre><h3 id="Arrow.Writer"><a
class="docs-heading-anchor"
href="#Arrow.Writer"><code>Arrow.Writer</code></a><a id="Arrow.Writer-1"></a><a
class="docs-heading-anchor-permalink" href="#Arrow.Writer"
title="Permalink"></a></h3><p>With <code>Arrow.Writer</code>, you instantiate
an <code>Arrow.Writer</code> object, write sources using it, and then close it.
This allows for incrmental writes to the same sink. It is similar to
<code>Arrow.append</code> withou [...]
diff --git a/dev/reference/index.html b/dev/reference/index.html
index a5c4593..6732c30 100644
--- a/dev/reference/index.html
+++ b/dev/reference/index.html
@@ -16,13 +16,13 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
---><h1 id="API-Reference"><a class="docs-heading-anchor"
href="#API-Reference">API Reference</a><a id="API-Reference-1"></a><a
class="docs-heading-anchor-permalink" href="#API-Reference"
title="Permalink"></a></h1><article><details class="docstring"
open="true"><summary id="Arrow.ArrowVector"><a class="docstring-binding"
href="#Arrow.ArrowVector"><code>Arrow.ArrowVector</code></a> — <span
class="docstring-category">Type</span></summary><section><div><pre><code
class="language-julia hljs" [...]
+--><h1 id="API-Reference"><a class="docs-heading-anchor"
href="#API-Reference">API Reference</a><a id="API-Reference-1"></a><a
class="docs-heading-anchor-permalink" href="#API-Reference"
title="Permalink"></a></h1><article><details class="docstring"
open="true"><summary id="Arrow.ArrowVector"><a class="docstring-binding"
href="#Arrow.ArrowVector"><code>Arrow.ArrowVector</code></a> — <span
class="docstring-category">Type</span></summary><section><div><pre><code
class="language-julia hljs" [...]
Arrow.Stream(file::String; convert::Bool=true)
Arrow.Stream(bytes::Vector{UInt8}, pos=1, len=nothing; convert::Bool=true)
-Arrow.Stream(inputs::Vector; convert::Bool=true)</code></pre><p>Start reading
an arrow formatted table, from:</p><ul><li><code>io</code>, bytes will be read
all at once via <code>read(io)</code></li><li><code>file</code>, bytes will be
read via <code>Mmap.mmap(file)</code></li><li><code>bytes</code>, a byte vector
directly, optionally allowing specifying the starting byte position
<code>pos</code> and <code>len</code></li><li>A <code>Vector</code> of any of
the above, in which each input [...]
+Arrow.Stream(inputs::Vector; convert::Bool=true)</code></pre><p>Start reading
an arrow formatted table, from:</p><ul><li><code>io</code>, bytes will be read
all at once via <code>read(io)</code></li><li><code>file</code>, bytes will be
read via <code>Mmap.mmap(file)</code></li><li><code>bytes</code>, a byte vector
directly, optionally allowing specifying the starting byte position
<code>pos</code> and <code>len</code></li><li>A <code>Vector</code> of any of
the above, in which each input [...]
Arrow.Table(file::String; convert::Bool=true)
Arrow.Table(bytes::Vector{UInt8}, pos=1, len=nothing; convert::Bool=true)
-Arrow.Table(inputs::Vector; convert::Bool=true)</code></pre><p>Read an arrow
formatted table, from:</p><ul><li><code>io</code>, bytes will be read all at
once via <code>read(io)</code></li><li><code>file</code>, bytes will be read
via <code>Mmap.mmap(file)</code></li><li><code>bytes</code>, a byte vector
directly, optionally allowing specifying the starting byte position
<code>pos</code> and <code>len</code></li><li>A <code>Vector</code> of any of
the above, in which each input should be [...]
+Arrow.Table(inputs::Vector; convert::Bool=true)</code></pre><p>Read an arrow
formatted table, from:</p><ul><li><code>io</code>, bytes will be read all at
once via <code>read(io)</code></li><li><code>file</code>, bytes will be read
via <code>Mmap.mmap(file)</code></li><li><code>bytes</code>, a byte vector
directly, optionally allowing specifying the starting byte position
<code>pos</code> and <code>len</code></li><li>A <code>Vector</code> of any of
the above, in which each input should be [...]
julia> partition1 = (col1 = [1, 2], col2 = ["A", "B"])
(col1 = [1, 2], col2 = ["A", "B"])
@@ -39,8 +39,8 @@ julia> close(writer)</code></pre><p>It's also possible
to automatically c
Arrow.write(writer, partition1)
partition2 = (col1 = [3, 4], col2 = ["C", "D"])
Arrow.write(writer, partition2)
- end</code></pre></div><a class="docs-sourcelink" target="_blank"
href="https://github.com/apache/arrow-julia/blob/10a830883c0e97e86d32cccd4710d44ec1635f09/src/write.jl#L78-L110">source</a></section></details></article><article><details
class="docstring" open="true"><summary id="Arrow.append"><a
class="docstring-binding" href="#Arrow.append"><code>Arrow.append</code></a> —
<span
class="docstring-category">Function</span></summary><section><div><pre><code
class="language-julia hljs" [...]
+ end</code></pre></div><a class="docs-sourcelink" target="_blank"
href="https://github.com/apache/arrow-julia/blob/bc39b2d7cc568e6e648b32ac02b303017b293471/src/write.jl#L78-L110">source</a></section></details></article><article><details
class="docstring" open="true"><summary id="Arrow.append"><a
class="docstring-binding" href="#Arrow.append"><code>Arrow.append</code></a> —
<span
class="docstring-category">Function</span></summary><section><div><pre><code
class="language-julia hljs" [...]
Arrow.append(file::String, tbl)
-tbl |> Arrow.append(file)</code></pre><p>Append any <a
href="https://github.com/JuliaData/Tables.jl">Tables.jl</a>-compatible
<code>tbl</code> to an existing arrow formatted file or IO. The existing arrow
data must be in IPC stream format. Note that appending to the "feather
formatted file" is <em>not</em> allowed, as this file format doesn't
support appending. That means files written like
<code>Arrow.write(filename::String, tbl)</code> <em>cannot</em> be appended to;
i [...]
+tbl |> Arrow.append(file)</code></pre><p>Append any <a
href="https://github.com/JuliaData/Tables.jl">Tables.jl</a>-compatible
<code>tbl</code> to an existing arrow formatted file or IO. The existing arrow
data must be in IPC stream format. Note that appending to the "feather
formatted file" is <em>not</em> allowed, as this file format doesn't
support appending. That means files written like
<code>Arrow.write(filename::String, tbl)</code> <em>cannot</em> be appended to;
i [...]
Arrow.write(file::String, tbl)
-tbl |> Arrow.write(io_or_file)</code></pre><p>Write any <a
href="https://github.com/JuliaData/Tables.jl">Tables.jl</a>-compatible
<code>tbl</code> out as arrow formatted data. Providing an <code>io::IO</code>
argument will cause the data to be written to it in the <a
href="https://arrow.apache.org/docs/format/Columnar.html#ipc-streaming-format">"streaming"
format</a>, unless <code>file=true</code> keyword argument is passed.
Providing a <code>file::String</code> argument wil [...]
+tbl |> Arrow.write(io_or_file)</code></pre><p>Write any <a
href="https://github.com/JuliaData/Tables.jl">Tables.jl</a>-compatible
<code>tbl</code> out as arrow formatted data. Providing an <code>io::IO</code>
argument will cause the data to be written to it in the <a
href="https://arrow.apache.org/docs/format/Columnar.html#ipc-streaming-format">"streaming"
format</a>, unless <code>file=true</code> keyword argument is passed.
Providing a <code>file::String</code> argument wil [...]