diff --git a/generate-redirects.js b/generate-redirects.js index 21b17271e..bf487818d 100644 --- a/generate-redirects.js +++ b/generate-redirects.js @@ -101,6 +101,25 @@ const data = { "/quickstarts/vantagecloud-lake/vantagecloud-lake-demo-jupyter-google-cloud-vertex-ai/", "vantagecloud-lake/vantagecloud-lake-demo-jupyter-azure.html": "/quickstarts/vantagecloud-lake/vantagecloud-lake-demo-jupyter-azure/", + // AI Unlimited redirects + "ai-unlimited/ai-unlimited-aws-permissions-policies.html": + "/ai-unlimited/install-ai-unlimited/", + "ai-unlimited/ai-unlimited-magic-reference.html": + "/ai-unlimited/explore-and-analyze-data/magic-commands/", + "ai-unlimited/deploy-ai-unlimited-aws-cloudformation.html": + "/ai-unlimited/install-ai-unlimited/", + "ai-unlimited/deploy-ai-unlimited-awscli-cloudformation.html": + "/ai-unlimited/install-ai-unlimited/", + "ai-unlimited/getting-started-with-ai-unlimited.html": + "/ai-unlimited/install-ai-unlimited/", + "ai-unlimited/install-ai-unlimited-interface-docker.html": + "/ai-unlimited/install-ai-unlimited/", + "ai-unlimited/install-ai-unlimited-workspaces-docker.html": + "/ai-unlimited/install-ai-unlimited/", + "ai-unlimited/running-sample-ai-unlimited-workload.html": + "/ai-unlimited/install-ai-unlimited/", + "ai-unlimited/using-ai-unlimited-workspace-cli.html": + "/ai-unlimited/install-ai-unlimited/", }; // Template generator function diff --git a/static/ai-unlimited/ai-unlimited-aws-permissions-policies.html b/static/ai-unlimited/ai-unlimited-aws-permissions-policies.html new file mode 100644 index 000000000..ca04f802d --- /dev/null +++ b/static/ai-unlimited/ai-unlimited-aws-permissions-policies.html @@ -0,0 +1,9 @@ + + + + + + +Redirect Notice +

Redirect Notice

+

The page you requested has been relocated to https://developers.teradata.com/ai-unlimited/install-ai-unlimited/.

\ No newline at end of file diff --git a/static/ai-unlimited/ai-unlimited-magic-reference.html b/static/ai-unlimited/ai-unlimited-magic-reference.html new file mode 100644 index 000000000..4373f9a4b --- /dev/null +++ b/static/ai-unlimited/ai-unlimited-magic-reference.html @@ -0,0 +1,9 @@ + + + + + + +Redirect Notice +

Redirect Notice

+

The page you requested has been relocated to https://developers.teradata.com/ai-unlimited/explore-and-analyze-data/magic-commands/.

\ No newline at end of file diff --git a/static/ai-unlimited/deploy-ai-unlimited-aws-cloudformation.html b/static/ai-unlimited/deploy-ai-unlimited-aws-cloudformation.html new file mode 100644 index 000000000..ca04f802d --- /dev/null +++ b/static/ai-unlimited/deploy-ai-unlimited-aws-cloudformation.html @@ -0,0 +1,9 @@ + + + + + + +Redirect Notice +

Redirect Notice

+

The page you requested has been relocated to https://developers.teradata.com/ai-unlimited/install-ai-unlimited/.

\ No newline at end of file diff --git a/static/ai-unlimited/deploy-ai-unlimited-awscli-cloudformation.html b/static/ai-unlimited/deploy-ai-unlimited-awscli-cloudformation.html new file mode 100644 index 000000000..ca04f802d --- /dev/null +++ b/static/ai-unlimited/deploy-ai-unlimited-awscli-cloudformation.html @@ -0,0 +1,9 @@ + + + + + + +Redirect Notice +

Redirect Notice

+

The page you requested has been relocated to https://developers.teradata.com/ai-unlimited/install-ai-unlimited/.

\ No newline at end of file diff --git a/static/ai-unlimited/getting-started-with-ai-unlimited.html b/static/ai-unlimited/getting-started-with-ai-unlimited.html new file mode 100644 index 000000000..ca04f802d --- /dev/null +++ b/static/ai-unlimited/getting-started-with-ai-unlimited.html @@ -0,0 +1,9 @@ + + + + + + +Redirect Notice +

Redirect Notice

+

The page you requested has been relocated to https://developers.teradata.com/ai-unlimited/install-ai-unlimited/.

\ No newline at end of file diff --git a/static/ai-unlimited/install-ai-unlimited-interface-docker.html b/static/ai-unlimited/install-ai-unlimited-interface-docker.html new file mode 100644 index 000000000..ca04f802d --- /dev/null +++ b/static/ai-unlimited/install-ai-unlimited-interface-docker.html @@ -0,0 +1,9 @@ + + + + + + +Redirect Notice +

Redirect Notice

+

The page you requested has been relocated to https://developers.teradata.com/ai-unlimited/install-ai-unlimited/.

\ No newline at end of file diff --git a/static/ai-unlimited/install-ai-unlimited-workspaces-docker.html b/static/ai-unlimited/install-ai-unlimited-workspaces-docker.html new file mode 100644 index 000000000..ca04f802d --- /dev/null +++ b/static/ai-unlimited/install-ai-unlimited-workspaces-docker.html @@ -0,0 +1,9 @@ + + + + + + +Redirect Notice +

Redirect Notice

+

The page you requested has been relocated to https://developers.teradata.com/ai-unlimited/install-ai-unlimited/.

\ No newline at end of file diff --git a/static/ai-unlimited/running-sample-ai-unlimited-workload.html b/static/ai-unlimited/running-sample-ai-unlimited-workload.html new file mode 100644 index 000000000..ca04f802d --- /dev/null +++ b/static/ai-unlimited/running-sample-ai-unlimited-workload.html @@ -0,0 +1,9 @@ + + + + + + +Redirect Notice +

Redirect Notice

+

The page you requested has been relocated to https://developers.teradata.com/ai-unlimited/install-ai-unlimited/.

\ No newline at end of file diff --git a/static/ai-unlimited/using-ai-unlimited-workspace-cli.html b/static/ai-unlimited/using-ai-unlimited-workspace-cli.html new file mode 100644 index 000000000..ca04f802d --- /dev/null +++ b/static/ai-unlimited/using-ai-unlimited-workspace-cli.html @@ -0,0 +1,9 @@ + + + + + + +Redirect Notice +

Redirect Notice

+

The page you requested has been relocated to https://developers.teradata.com/ai-unlimited/install-ai-unlimited/.

\ No newline at end of file diff --git a/static/ja/ai-unlimited/ai-unlimited-aws-permissions-policies.html b/static/ja/ai-unlimited/ai-unlimited-aws-permissions-policies.html new file mode 100644 index 000000000..73eeef9d3 --- /dev/null +++ b/static/ja/ai-unlimited/ai-unlimited-aws-permissions-policies.html @@ -0,0 +1,9 @@ + + + + + + +Redirect Notice +

Redirect Notice

+

The page you requested has been relocated to https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/.

\ No newline at end of file diff --git a/static/ja/ai-unlimited/ai-unlimited-magic-reference.html b/static/ja/ai-unlimited/ai-unlimited-magic-reference.html new file mode 100644 index 000000000..aa491e4a7 --- /dev/null +++ b/static/ja/ai-unlimited/ai-unlimited-magic-reference.html @@ -0,0 +1,9 @@ + + + + + + +Redirect Notice +

Redirect Notice

+

The page you requested has been relocated to https://developers.teradata.com/ja/ai-unlimited/explore-and-analyze-data/magic-commands/.

\ No newline at end of file diff --git a/static/ja/ai-unlimited/deploy-ai-unlimited-aws-cloudformation.html b/static/ja/ai-unlimited/deploy-ai-unlimited-aws-cloudformation.html new file mode 100644 index 000000000..73eeef9d3 --- /dev/null +++ b/static/ja/ai-unlimited/deploy-ai-unlimited-aws-cloudformation.html @@ -0,0 +1,9 @@ + + + + + + +Redirect Notice +

Redirect Notice

+

The page you requested has been relocated to https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/.

\ No newline at end of file diff --git a/static/ja/ai-unlimited/deploy-ai-unlimited-awscli-cloudformation.html b/static/ja/ai-unlimited/deploy-ai-unlimited-awscli-cloudformation.html new file mode 100644 index 000000000..73eeef9d3 --- /dev/null +++ b/static/ja/ai-unlimited/deploy-ai-unlimited-awscli-cloudformation.html @@ -0,0 +1,9 @@ + + + + + + +Redirect Notice +

Redirect Notice

+

The page you requested has been relocated to https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/.

\ No newline at end of file diff --git a/static/ja/ai-unlimited/getting-started-with-ai-unlimited.html b/static/ja/ai-unlimited/getting-started-with-ai-unlimited.html new file mode 100644 index 000000000..73eeef9d3 --- /dev/null +++ b/static/ja/ai-unlimited/getting-started-with-ai-unlimited.html @@ -0,0 +1,9 @@ + + + + + + +Redirect Notice +

Redirect Notice

+

The page you requested has been relocated to https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/.

\ No newline at end of file diff --git a/static/ja/ai-unlimited/install-ai-unlimited-interface-docker.html b/static/ja/ai-unlimited/install-ai-unlimited-interface-docker.html new file mode 100644 index 000000000..73eeef9d3 --- /dev/null +++ b/static/ja/ai-unlimited/install-ai-unlimited-interface-docker.html @@ -0,0 +1,9 @@ + + + + + + +Redirect Notice +

Redirect Notice

+

The page you requested has been relocated to https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/.

\ No newline at end of file diff --git a/static/ja/ai-unlimited/install-ai-unlimited-workspaces-docker.html b/static/ja/ai-unlimited/install-ai-unlimited-workspaces-docker.html new file mode 100644 index 000000000..73eeef9d3 --- /dev/null +++ b/static/ja/ai-unlimited/install-ai-unlimited-workspaces-docker.html @@ -0,0 +1,9 @@ + + + + + + +Redirect Notice +

Redirect Notice

+

The page you requested has been relocated to https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/.

\ No newline at end of file diff --git a/static/ja/ai-unlimited/running-sample-ai-unlimited-workload.html b/static/ja/ai-unlimited/running-sample-ai-unlimited-workload.html new file mode 100644 index 000000000..73eeef9d3 --- /dev/null +++ b/static/ja/ai-unlimited/running-sample-ai-unlimited-workload.html @@ -0,0 +1,9 @@ + + + + + + +Redirect Notice +

Redirect Notice

+

The page you requested has been relocated to https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/.

\ No newline at end of file diff --git a/static/ja/ai-unlimited/using-ai-unlimited-workspace-cli.html b/static/ja/ai-unlimited/using-ai-unlimited-workspace-cli.html new file mode 100644 index 000000000..73eeef9d3 --- /dev/null +++ b/static/ja/ai-unlimited/using-ai-unlimited-workspace-cli.html @@ -0,0 +1,9 @@ + + + + + + +Redirect Notice +

Redirect Notice

+

The page you requested has been relocated to https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/.

\ No newline at end of file diff --git a/supplemental_ui/js/redirect.js b/supplemental_ui/js/redirect.js deleted file mode 100644 index 150d866b3..000000000 --- a/supplemental_ui/js/redirect.js +++ /dev/null @@ -1,13 +0,0 @@ -window.addEventListener('load', function() { - var folder = window.location.pathname.split("/"); - console.log(folder[folder.length-2]); - - if (folder[folder.length-2] === 'ai-unlimited') { - var metaTag = document.createElement('meta'); - metaTag.setAttribute('http-equiv', 'refresh'); - metaTag.setAttribute('content', '5;url=https://teradata.github.io/ai-unlimited-docs/docs/install-ai-unlimited/'); - document.head.appendChild(metaTag); - - window.location.href = 'https://teradata.github.io/ai-unlimited-docs/docs/install-ai-unlimited/'; - } -}); \ No newline at end of file diff --git a/supplemental_ui/partials/head-meta.hbs b/supplemental_ui/partials/head-meta.hbs index eb555c0c1..0a18f5360 100644 --- a/supplemental_ui/partials/head-meta.hbs +++ b/supplemental_ui/partials/head-meta.hbs @@ -938,4 +938,3 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= - \ No newline at end of file