| 1 |
<!DOCTYPE html> |
| 2 |
<html lang="en"> |
| 3 |
<head> |
| 4 |
<meta charset="UTF-8"> |
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 |
<title>404 - Page Not Found</title> |
| 7 |
</head> |
| 8 |
<body> |
| 9 |
<script> |
| 10 |
const path = window.location.pathname; |
| 11 |
const hasVersionPrefix = /^\/(latest|dev|v\d+\.\d+\.\d+)(\/|$)/.test(path); |
| 12 |
if (!hasVersionPrefix) { |
| 13 |
window.location.href = '/latest' + path; |
| 14 |
} |
| 15 |
</script> |
| 16 |
<noscript> |
| 17 |
<p>Page not found. Please enable JavaScript to be redirected to the latest documentation, or visit <a href="/latest">/latest</a> directly.</p> |
| 18 |
</noscript> |
| 19 |
</body> |
| 20 |
</html> |