-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Website]: Redirect existing docs from https://arrow.apache.org/ to https://datafusion.apache.org/ #502
Closed
Closed
[Website]: Redirect existing docs from https://arrow.apache.org/ to https://datafusion.apache.org/ #502
Changes from 7 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
ee6b2d9
Redirect DataFusion docs to datafusion.apache.org
alamb a154cb8
Add redirects
alamb c8cb26b
Add redirect files
alamb 35dd641
Add redirect links
alamb 2a0636c
Update redirects
alamb 2f076b9
Add redirect from old cli page
alamb 970fe1b
Fix redirect
alamb 61a02be
Update datafusion/create.py
alamb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
layout: article | ||
title: Apache DataFusion | ||
description: Link to the Apache Arrow DataFusion project (formerly a sub project of Apache Arrow) | ||
redirect_to: https://datafusion.apache.org/ | ||
--- | ||
<!-- | ||
{% comment %} | ||
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. | ||
{% endcomment %} | ||
--> | ||
|
||
<!-- Content to show if the redirect above is not followed --> | ||
|
||
# Apache (Arrow) DataFusion | ||
[Apache DataFusion](https://datafusion.apache.org/) was formerly a sub project | ||
of Apache Arrow and is now a top level Apache Software Foundation Project. | ||
Please update your links and bookmarks appropriately | ||
|
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
alamb marked this conversation as resolved.
Show resolved
Hide resolved
|
||
layout: article | ||
title: Apache DataFusion Redirect | ||
description: Link to the Apache Arrow DataFusion project (formerly a sub project of Apache Arrow) | ||
redirect_to: https://datafusion.apache.org/contributor-guide/architecture.html | ||
redirect_from: datafusion/contributor-guide/architecture.html | ||
--- | ||
<!-- | ||
{% comment %} | ||
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. | ||
{% endcomment %} | ||
--> | ||
|
||
<!-- Content to show if the redirect above is not followed --> | ||
|
||
Moved to https://datafusion.apache.org/contributor-guide/architecture.html |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
layout: article | ||
title: Apache DataFusion Redirect | ||
description: Link to the Apache Arrow DataFusion project (formerly a sub project of Apache Arrow) | ||
redirect_to: https://datafusion.apache.org/contributor-guide/communication.html | ||
redirect_from: datafusion/contributor-guide/communication.html | ||
--- | ||
<!-- | ||
{% comment %} | ||
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. | ||
{% endcomment %} | ||
--> | ||
|
||
<!-- Content to show if the redirect above is not followed --> | ||
|
||
Moved to https://datafusion.apache.org/contributor-guide/communication.html |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
layout: article | ||
title: Apache DataFusion Redirect | ||
description: Link to the Apache Arrow DataFusion project (formerly a sub project of Apache Arrow) | ||
redirect_to: https://datafusion.apache.org/contributor-guide/index.html | ||
redirect_from: datafusion/contributor-guide/index.html | ||
--- | ||
<!-- | ||
{% comment %} | ||
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. | ||
{% endcomment %} | ||
--> | ||
|
||
<!-- Content to show if the redirect above is not followed --> | ||
|
||
Moved to https://datafusion.apache.org/contributor-guide/index.html |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
layout: article | ||
title: Apache DataFusion Redirect | ||
description: Link to the Apache Arrow DataFusion project (formerly a sub project of Apache Arrow) | ||
redirect_to: https://datafusion.apache.org/contributor-guide/quarterly_roadmap.html | ||
redirect_from: datafusion/contributor-guide/quarterly_roadmap.html | ||
--- | ||
<!-- | ||
{% comment %} | ||
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. | ||
{% endcomment %} | ||
--> | ||
|
||
<!-- Content to show if the redirect above is not followed --> | ||
|
||
Moved to https://datafusion.apache.org/contributor-guide/quarterly_roadmap.html |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
layout: article | ||
title: Apache DataFusion Redirect | ||
description: Link to the Apache Arrow DataFusion project (formerly a sub project of Apache Arrow) | ||
redirect_to: https://datafusion.apache.org/contributor-guide/roadmap.html | ||
redirect_from: datafusion/contributor-guide/roadmap.html | ||
--- | ||
<!-- | ||
{% comment %} | ||
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. | ||
{% endcomment %} | ||
--> | ||
|
||
<!-- Content to show if the redirect above is not followed --> | ||
|
||
Moved to https://datafusion.apache.org/contributor-guide/roadmap.html |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
layout: article | ||
title: Apache DataFusion Redirect | ||
description: Link to the Apache Arrow DataFusion project (formerly a sub project of Apache Arrow) | ||
redirect_to: https://datafusion.apache.org/contributor-guide/specification/index.html | ||
redirect_from: datafusion/contributor-guide/specification/index.html | ||
--- | ||
<!-- | ||
{% comment %} | ||
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. | ||
{% endcomment %} | ||
--> | ||
|
||
<!-- Content to show if the redirect above is not followed --> | ||
|
||
Moved to https://datafusion.apache.org/contributor-guide/specification/index.html |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
layout: article | ||
title: Apache DataFusion Redirect | ||
description: Link to the Apache Arrow DataFusion project (formerly a sub project of Apache Arrow) | ||
redirect_to: https://datafusion.apache.org/contributor-guide/specification/invariants.html | ||
redirect_from: datafusion/contributor-guide/specification/invariants.html | ||
--- | ||
<!-- | ||
{% comment %} | ||
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. | ||
{% endcomment %} | ||
--> | ||
|
||
<!-- Content to show if the redirect above is not followed --> | ||
|
||
Moved to https://datafusion.apache.org/contributor-guide/specification/invariants.html |
29 changes: 29 additions & 0 deletions
29
datafusion/contributor-guide/specification/output-field-name-semantic.md
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
layout: article | ||
title: Apache DataFusion Redirect | ||
description: Link to the Apache Arrow DataFusion project (formerly a sub project of Apache Arrow) | ||
redirect_to: https://datafusion.apache.org/contributor-guide/specification/output-field-name-semantic.html | ||
redirect_from: datafusion/contributor-guide/specification/output-field-name-semantic.html | ||
--- | ||
<!-- | ||
{% comment %} | ||
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. | ||
{% endcomment %} | ||
--> | ||
|
||
<!-- Content to show if the redirect above is not followed --> | ||
|
||
Moved to https://datafusion.apache.org/contributor-guide/specification/output-field-name-semantic.html |
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 |
---|---|---|
@@ -0,0 +1,95 @@ | ||
# Creates redirect URLS | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is the script I used to create the content in this PR -- in case anyone is interested |
||
import os | ||
|
||
|
||
urls = [ | ||
"contributor-guide/index.html", | ||
"contributor-guide/architecture.html", | ||
"contributor-guide/quarterly_roadmap.html", | ||
"contributor-guide/specification/index.html", | ||
"contributor-guide/specification/invariants.html", | ||
"contributor-guide/specification/output-field-name-semantic.html", | ||
"contributor-guide/communication.html", | ||
"contributor-guide/roadmap.html", | ||
# "index.html", | ||
"user-guide/example-usage.html", | ||
"user-guide/dataframe.html", | ||
"user-guide/cli/index.html", | ||
"user-guide/cli/datasources.html", | ||
"user-guide/cli/overview.html", | ||
"user-guide/cli/installation.html", | ||
"user-guide/cli/usage.html", | ||
"user-guide/configs.html", | ||
"user-guide/expressions.html", | ||
"user-guide/introduction.html", | ||
"user-guide/faq.html", | ||
"user-guide/sql/select.html", | ||
"user-guide/sql/scalar_functions.html", | ||
"user-guide/sql/index.html", | ||
"user-guide/sql/ddl.html", | ||
"user-guide/sql/subqueries.html", | ||
"user-guide/sql/information_schema.html", | ||
"user-guide/sql/aggregate_functions.html", | ||
"user-guide/sql/data_types.html", | ||
"user-guide/sql/dml.html", | ||
"user-guide/sql/explain.html", | ||
"user-guide/sql/operators.html", | ||
"user-guide/sql/sql_status.html", | ||
"user-guide/sql/write_options.html", | ||
"user-guide/sql/window_functions.html", | ||
"library-user-guide/using-the-dataframe-api.html", | ||
"library-user-guide/using-the-sql-api.html", | ||
"library-user-guide/index.html", | ||
"library-user-guide/profiling.html", | ||
"library-user-guide/custom-table-providers.html", | ||
"library-user-guide/building-logical-plans.html", | ||
"library-user-guide/catalogs.html", | ||
"library-user-guide/adding-udfs.html", | ||
"library-user-guide/extending-operators.html", | ||
"library-user-guide/working-with-exprs.html", | ||
] | ||
|
||
for url in urls: | ||
print ("Processing", url) | ||
local_file = os.path.splitext(url)[0]+'.md' | ||
redirect_url = "https://datafusion.apache.org/{}".format(url) | ||
print(" local_file:", local_file) | ||
print(" redirect_url:", redirect_url) | ||
content = """--- | ||
layout: article | ||
title: Apache DataFusion Redirect | ||
description: Link to the Apache Arrow DataFusion project (formerly a sub project of Apache Arrow) | ||
alamb marked this conversation as resolved.
Show resolved
Hide resolved
|
||
redirect_to: {redirect_url} | ||
redirect_from: datafusion/{url} | ||
--- | ||
<!-- | ||
{{% comment %}} | ||
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. | ||
{{% endcomment %}} | ||
--> | ||
|
||
<!-- Content to show if the redirect above is not followed --> | ||
|
||
Moved to {redirect_url} | ||
""".format(redirect_url=redirect_url, url=url) | ||
|
||
|
||
dirname = os.path.dirname(local_file) | ||
print(" dirname: ", dirname) | ||
if not os.path.exists(dirname): | ||
os.makedirs(dirname) | ||
with open(local_file, "w") as f: | ||
f.write(content) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not really familiar with Jekyll and thus I don't know if this is the right approach or not for creating a redirect 🤔 It seems to work but has lots of repeititon
Ideally I would like to just make a table with old URLs and redirects but I couldn't figure out how to do that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kou I think you are a Jekyll expert (at least are more knowledgable than I am) -- is this a reasonable way to implement redirects for the arrow-site? Or is there a better / preferred way?