diff --git a/netlify.toml b/netlify.toml index 1079e020..b932e4cf 100644 --- a/netlify.toml +++ b/netlify.toml @@ -39,4 +39,28 @@ [[redirects]] from = "/example5.html" - to = "/machine-learning-pipeline.html" \ No newline at end of file + to = "/machine-learning-pipeline.html" + +[[redirects]] + from = "/docs/" + to = "https://docs.seqera.io/nextflow/" + status = 301 + force = true + +[[redirects]] + from = "/docs/latest/*" + to = "https://docs.seqera.io/nextflow/:splat" + status = 301 + force = true + +[[redirects]] + from = "/docs/edge/*" + to = "https://docs.seqera.io/nextflow/:splat" + status = 301 + force = true + +[[redirects]] + from = "/docs/stable/*" + to = "https://docs.seqera.io/nextflow/:splat" + status = 301 + force = true