onnxruntime/docs/redirect.json
Cassie b65ccc57a7
Added some js redirects in the 404 page to account for some missing links in the site reorg (#9085)
* initial setup and rename "how to" to "setup"

* move API to main nav

* move api to main nav

* add get starated, rework nav order

* rename to install move mds out of install section

* update api nav and home page

* add install docs and python qs updates

* python get started work

* remove c and obj c for now

* move java, python, and obj-c docs under api folder

* move java api html to iframe (ugh)

* remove api docs w/o details, move api text getstar

* remove api docs wo detail updates get started

* remvoe iframes

* move eco system to main nav

* fix api buttons

* added more examples moved intro to ORT

* fix links

* fix get started titles

* fix get started titles

* fix more links

* fix more links

* more link fixes

* fix nav remove inferencing and training subnav

* fix top nav remove inference and training nav

* fix title

* fix tutorials nav hierarchy

* fix python api button

* add tenorflow keras example

* fix quickstart toc

* add imports fix spacing

* fix links

* update nav and python get started page

* move ort training example, add coming soon for iot

* update C# get started

* fix spacing on quantization

* Add some js get started content

* fix formatting

* fix typo

* removed onnx-pytorch and onnx-tf

* updated pip install torch and added links iot page

* added pytorch tutorial heirarchy

* updated web to docs soon added release blog link

* add web link

* add js redirects to 404 page to help broken links

* add full url in replace logic for testing

* remove catchall and full url replace

* add redirect.json and update js to read from json

* update comment

* add test redirect likes for statged sites

* fix load json

* fix load json

* break loop at redirect

* import json

* json fixes

* fix imports on 404

* fix test url

* oops

* derp

* set delay to 0
2021-09-17 10:11:46 -07:00

35 lines
1.1 KiB
JSON

{
"redirectRules":
[
{
"pathname": "/docs/how-to/build",
"redirect": "/docs/build",
"testRedirect": "/onnxruntime/docs/build"
},
{
"pathname": "/docs/how-to",
"redirect": "/docs",
"testRedirect": "/onnxruntime/docs/build"
},
{
"pathname": "/docs/resources/graph-optimizations",
"redirect": "/docs/performance/graph-optimizations",
"testRedirect": "/onnxruntime/docs/build"
},
{
"pathname": "/docs/resource",
"redirect": "/docs/reference",
"testRedirect": "/onnxruntime/docs/build"
},
{
"pathname": "/docs/reference/execution-providers",
"redirect": "/docs/execution-providers/",
"testRedirect": "/onnxruntime/docs/build"
},
{
"pathname": "/docs/reference/api",
"redirect": "/docs/api",
"testRedirect": "/onnxruntime/docs/build"
}
]
}