docs: fix redirect (#16548)

* doc: cleanup unnecessary redirect

(cherry picked from commit d86aaadbc78cc51345f768ee66c9a8b2cbf13f27)

* restore redirect file entry. delete md file
This commit is contained in:
317brian 2024-06-13 18:54:16 -07:00 committed by GitHub
parent ea2de517b2
commit e1926e2549
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 30 deletions

View File

@ -1,28 +0,0 @@
---
id: flatten-json
title: "Redirecting"
---
<!--
~ 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.
-->
<head>
<script>window.location.replace("/docs/latest/ingestion/data-formats#flattenspec")</script>
</head>
<a href="/docs/latest/ingestion/data-formats#flattenspec">Click here if you are not redirected.</a>

View File

@ -201,8 +201,8 @@ const Redirects=[
},
{
"from": [
"/docs/latest/ingestion/flatten-json.html",
"/docs/latest/ingestion/transform-spec.html"
"/docs/latest/ingestion/transform-spec.html",
"/docs/latest/ingestion/flatten-json.html"
],
"to": "/docs/latest/ingestion/ingestion-spec"
},