We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 534c308 commit 49f25c6Copy full SHA for 49f25c6
docs/index.html
@@ -93,6 +93,14 @@ <h1><a href="https://threejs.org">three.js</a></h1>
93
94
const hashLanguage = /^(api|manual|examples)\/(en|ar|ko|zh|it|pt-br|fr)\//.exec( hash );
95
96
+ if ( hashLanguage[ 1 ] === 'manual' ) {
97
+
98
+ // Redirect to the manual
99
100
+ window.location.href = hash.replace(/^manual\/([^\/]+)\/([^\/]+)\/(.+)$/, '../manual/#$1/$3').toLowerCase();
101
102
+ }
103
104
if ( hashLanguage === null ) {
105
106
// Route old non-localised api links
0 commit comments