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.
[path]
1 parent 2bdaaaa commit a17a122Copy full SHA for a17a122
docs/page.js
@@ -35,6 +35,10 @@ function onDocumentLoad( event ) {
35
36
case 'api':
37
path = /\/api\/[A-z0-9\/]+/.exec( pathname ).toString().substr( 5 );
38
+
39
+ // Remove localized part of the path (e.g. 'en/' or 'es-MX/'):
40
+ path = path.replace( /^[A-z0-9-]+\//, '' );
41
42
break;
43
44
case 'examples':
0 commit comments