This is an automated email from the ASF dual-hosted git repository.
agrove pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion-comet.git
The following commit(s) were added to refs/heads/main by this push:
new 4b8f6b386 docs: Use `sphinx-reredirects` for redirects (#2324)
4b8f6b386 is described below
commit 4b8f6b386dfe9d885a048b27beb55df4349d3195
Author: Andy Grove <[email protected]>
AuthorDate: Mon Sep 8 09:18:39 2025 -0700
docs: Use `sphinx-reredirects` for redirects (#2324)
---
docs/requirements.txt | 1 +
docs/source/conf.py | 18 ++++++++++++++++++
docs/source/user-guide/compatibility.md | 20 --------------------
docs/source/user-guide/configs.md | 20 --------------------
docs/source/user-guide/datasources.md | 20 --------------------
docs/source/user-guide/datatypes.md | 20 --------------------
docs/source/user-guide/expressions.md | 20 --------------------
docs/source/user-guide/gluten_comparison.md | 20 --------------------
docs/source/user-guide/iceberg.md | 20 --------------------
docs/source/user-guide/index.md | 20 --------------------
docs/source/user-guide/installation.md | 20 --------------------
docs/source/user-guide/kubernetes.md | 20 --------------------
docs/source/user-guide/metrics.md | 20 --------------------
docs/source/user-guide/operators.md | 20 --------------------
docs/source/user-guide/overview.md | 20 --------------------
docs/source/user-guide/source.md | 20 --------------------
docs/source/user-guide/tuning.md | 20 --------------------
17 files changed, 19 insertions(+), 300 deletions(-)
diff --git a/docs/requirements.txt b/docs/requirements.txt
index 24546d59a..8d4f26f55 100644
--- a/docs/requirements.txt
+++ b/docs/requirements.txt
@@ -16,6 +16,7 @@
# under the License.
sphinx
+sphinx-reredirects
pydata-sphinx-theme==0.8.0
myst-parser
maturin
diff --git a/docs/source/conf.py b/docs/source/conf.py
index af89a69e7..d5b46a092 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -52,6 +52,7 @@ extensions = [
'sphinx.ext.viewcode',
'sphinx.ext.napoleon',
'myst_parser',
+ 'sphinx_reredirects',
]
source_suffix = {
@@ -119,3 +120,20 @@ myst_heading_anchors = 3
# enable nice rendering of checkboxes for the task lists
myst_enable_extensions = ["colon_fence", "deflist", "tasklist"]
+
+redirects = {
+ "user-guide/overview.html": "../overview.html",
+ "user-guide/gluten_comparison.html": "../gluten_comparison.html",
+ "user-guide/compatibility.html": "latest/compatibility.html",
+ "user-guide/configs.html": "latest/configs.html",
+ "user-guide/datasource.html": "latest/datasource.html",
+ "user-guide/datatypes.html": "latest/datatypes.html",
+ "user-guide/expressions.html": "latest/expressions.html",
+ "user-guide/iceberg.html": "latest/iceberg.html",
+ "user-guide/installation.html": "latest/installation.html",
+ "user-guide/kubernetes.html": "latest/kubernetes.html",
+ "user-guide/metrics.html": "latest/metrics.html",
+ "user-guide/operators.html": "latest/operators.html",
+ "user-guide/source.html": "latest/source.html",
+ "user-guide/tuning.html": "latest/tuning.html",
+}
\ No newline at end of file
diff --git a/docs/source/user-guide/compatibility.md
b/docs/source/user-guide/compatibility.md
deleted file mode 100644
index a4a15aae9..000000000
--- a/docs/source/user-guide/compatibility.md
+++ /dev/null
@@ -1,20 +0,0 @@
-<!---
-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.
--->
-
-This page has moved [here](latest/compatibility.md).
\ No newline at end of file
diff --git a/docs/source/user-guide/configs.md
b/docs/source/user-guide/configs.md
deleted file mode 100644
index d6e1752c4..000000000
--- a/docs/source/user-guide/configs.md
+++ /dev/null
@@ -1,20 +0,0 @@
-<!---
-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.
--->
-
-This page has moved [here](latest/configs.md).
\ No newline at end of file
diff --git a/docs/source/user-guide/datasources.md
b/docs/source/user-guide/datasources.md
deleted file mode 100644
index cb3a2d107..000000000
--- a/docs/source/user-guide/datasources.md
+++ /dev/null
@@ -1,20 +0,0 @@
-<!---
- 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.
--->
-
-This page has moved [here](latest/datasources.md).
\ No newline at end of file
diff --git a/docs/source/user-guide/datatypes.md
b/docs/source/user-guide/datatypes.md
deleted file mode 100644
index e71eddc86..000000000
--- a/docs/source/user-guide/datatypes.md
+++ /dev/null
@@ -1,20 +0,0 @@
-<!---
- 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.
--->
-
-This page has moved [here](latest/datatypes.md).
\ No newline at end of file
diff --git a/docs/source/user-guide/expressions.md
b/docs/source/user-guide/expressions.md
deleted file mode 100644
index 3638ce843..000000000
--- a/docs/source/user-guide/expressions.md
+++ /dev/null
@@ -1,20 +0,0 @@
-<!---
- 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.
--->
-
-This page has moved [here](latest/expressions.md).
\ No newline at end of file
diff --git a/docs/source/user-guide/gluten_comparison.md
b/docs/source/user-guide/gluten_comparison.md
deleted file mode 100644
index a866634f9..000000000
--- a/docs/source/user-guide/gluten_comparison.md
+++ /dev/null
@@ -1,20 +0,0 @@
-<!---
- 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.
--->
-
-This page has moved [here](../gluten_comparison.md).
\ No newline at end of file
diff --git a/docs/source/user-guide/iceberg.md
b/docs/source/user-guide/iceberg.md
deleted file mode 100644
index 819e3527a..000000000
--- a/docs/source/user-guide/iceberg.md
+++ /dev/null
@@ -1,20 +0,0 @@
-<!---
- 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.
--->
-
-This page has moved [here](latest/iceberg.md).
\ No newline at end of file
diff --git a/docs/source/user-guide/index.md b/docs/source/user-guide/index.md
deleted file mode 100644
index c73db34f7..000000000
--- a/docs/source/user-guide/index.md
+++ /dev/null
@@ -1,20 +0,0 @@
-<!---
- 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.
--->
-
-This page has moved [here](latest/index.rst).
\ No newline at end of file
diff --git a/docs/source/user-guide/installation.md
b/docs/source/user-guide/installation.md
deleted file mode 100644
index 985a88d22..000000000
--- a/docs/source/user-guide/installation.md
+++ /dev/null
@@ -1,20 +0,0 @@
-<!---
- 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.
--->
-
-This page has moved [here](latest/installation.md).
\ No newline at end of file
diff --git a/docs/source/user-guide/kubernetes.md
b/docs/source/user-guide/kubernetes.md
deleted file mode 100644
index edc31245f..000000000
--- a/docs/source/user-guide/kubernetes.md
+++ /dev/null
@@ -1,20 +0,0 @@
-<!---
- 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.
--->
-
-This page has moved [here](latest/kubernetes.md).
\ No newline at end of file
diff --git a/docs/source/user-guide/metrics.md
b/docs/source/user-guide/metrics.md
deleted file mode 100644
index 70b417776..000000000
--- a/docs/source/user-guide/metrics.md
+++ /dev/null
@@ -1,20 +0,0 @@
-<!---
-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.
--->
-
-This page has moved [here](latest/metrics.md).
\ No newline at end of file
diff --git a/docs/source/user-guide/operators.md
b/docs/source/user-guide/operators.md
deleted file mode 100644
index d71ca7f20..000000000
--- a/docs/source/user-guide/operators.md
+++ /dev/null
@@ -1,20 +0,0 @@
-<!---
- 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.
--->
-
-This page has moved [here](latest/operators.md).
\ No newline at end of file
diff --git a/docs/source/user-guide/overview.md
b/docs/source/user-guide/overview.md
deleted file mode 100644
index bb01de536..000000000
--- a/docs/source/user-guide/overview.md
+++ /dev/null
@@ -1,20 +0,0 @@
-<!---
- 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.
--->
-
-This page has moved [here](../overview.md).
\ No newline at end of file
diff --git a/docs/source/user-guide/source.md b/docs/source/user-guide/source.md
deleted file mode 100644
index 0e1f5de88..000000000
--- a/docs/source/user-guide/source.md
+++ /dev/null
@@ -1,20 +0,0 @@
-<!---
- 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.
--->
-
-This page has moved [here](latest/source.md).
\ No newline at end of file
diff --git a/docs/source/user-guide/tuning.md b/docs/source/user-guide/tuning.md
deleted file mode 100644
index 8bbebf5a6..000000000
--- a/docs/source/user-guide/tuning.md
+++ /dev/null
@@ -1,20 +0,0 @@
-<!---
-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.
--->
-
-This page has moved [here](latest/tuning.md).
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]