Repository navigation
Expand file tree
/
Copy path404.html
More file actions
41 lines (41 loc) · 1.4 KB
/
Copy path404.html
File metadata and controls
41 lines (41 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Page not found - NeuralEnsemble</title>
<script>
// GitHub Pages serves this page for any missing URL. The documentation for
// PyNN 0.14 and later is on Read the Docs, so send requests for
// /docs/PyNN/<version>/... with such a version there, and requests for
// unversioned pages /docs/PyNN/<page> to the same page of the "stable" version,
// keeping the rest of the path.
(function () {
var path = window.location.pathname;
var rtd = "https://pynn.readthedocs.io/en/";
var target = null;
var m = path.match(/^\/docs\/PyNN\/((\d+)\.(\d+)(?:\.\d+)?)(\/.*)?$/);
if (m) {
if (Number(m[2]) > 0 || Number(m[3]) >= 14) {
target = rtd + m[1] + (m[4] || "/");
}
} else {
m = path.match(/^\/docs\/PyNN\/(.+)$/);
if (m) {
target = rtd + "stable/" + m[1];
}
}
if (target) {
window.location.replace(target + window.location.search + window.location.hash);
}
})();
</script>
<style>
body { font-family: sans-serif; max-width: 40em; margin: 4em auto; padding: 0 16px; }
</style>
</head>
<body>
<h1>Page not found</h1>
<p>Sorry, there is no page at this address. Go to the <a href="/">NeuralEnsemble home page</a>.</p>
</body>
</html>