We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
docs/next
1 parent b87e2fb commit 6110016Copy full SHA for 6110016
src/static/redirects.njk
@@ -112,8 +112,11 @@ eleventyExcludeFromCollections: true
112
/docs/v9.x/* https://eslint.org/docs/latest/:splat 302!
113
114
# Docs for the current prerelease
115
-# As there is currently no active prerelease, redirect to latest docs
116
-/docs/next/* https://eslint.org/docs/latest/:splat 302!
+{% if site.locals.docs_next %}
+/docs/next/* https://{{ site.locals.docs_next }}/:splat 200!
117
+{% else %}
118
+/docs/next/* https://eslint.org/docs/next/:splat 302!
119
+{% endif %}
120
121
{% if site.locals.blog == false %}
122
# Redirect blog back to English site
0 commit comments