forked from mdtraj/mdtraj
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docs] Copy development docs to s3 /development
- Loading branch information
Showing
4 changed files
with
127 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<html><head> | ||
<!-- redirect to /development after 3 seconds, in case something fails or | ||
the user has javascript disabled --> | ||
<meta http-equiv="refresh" content="3;URL='/development'"/> | ||
|
||
<script type="text/javascript"> | ||
// download the versions.json file and redirect to the URL associated | ||
// with the entry that has latest=true | ||
var xhr = new XMLHttpRequest(); | ||
xhr.open('GET', encodeURI('versions.json')); | ||
xhr.onload = function() { | ||
if (xhr.status === 200) { | ||
var versions = JSON.parse(xhr.responseText); | ||
for (var key in versions) { | ||
if (versions[key]['latest']) { | ||
var latest = versions[key]; | ||
window.location.replace(latest['url']); | ||
} | ||
} | ||
} | ||
} | ||
xhr.send(); | ||
</script> | ||
</head></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
[ | ||
{ | ||
"latest": false, | ||
"version": "0.6.1", | ||
"display": "0.6", | ||
"url": "http://mdtraj.org/0.6.1/index.html" | ||
}, | ||
{ | ||
"latest": false, | ||
"version": "0.7.0", | ||
"display": "0.7", | ||
"url": "http://mdtraj.org/0.7.0/index.html" | ||
}, | ||
{ | ||
"latest": false, | ||
"version": "0.8.0", | ||
"display": "0.8", | ||
"url": "http://mdtraj.org/0.8.0/index.html" | ||
}, | ||
{ | ||
"latest": false, | ||
"version": "0.9.0", | ||
"display": "0.9", | ||
"url": "http://mdtraj.org/0.9.0/index.html" | ||
}, | ||
{ | ||
"latest": false, | ||
"version": "1.0.0", | ||
"display": "1.0", | ||
"url": "http://mdtraj.org/1.0.0/index.html" | ||
}, | ||
{ | ||
"latest": false, | ||
"version": "1.1.0", | ||
"display": "1.1", | ||
"url": "http://mdtraj.org/1.1.0/index.html" | ||
}, | ||
{ | ||
"latest": false, | ||
"version": "1.2.0", | ||
"display": "1.2", | ||
"url": "http://mdtraj.org/1.2.0/index.html" | ||
}, | ||
{ | ||
"latest": false, | ||
"version": "1.3.0", | ||
"display": "1.3", | ||
"url": "http://mdtraj.org/1.3.0/index.html" | ||
}, | ||
{ | ||
"latest": false, | ||
"version": "1.4.2", | ||
"display": "1.4", | ||
"url": "http://mdtraj.org/1.4.2/index.html" | ||
}, | ||
{ | ||
"latest": false, | ||
"version": "1.6.2", | ||
"display": "1.6", | ||
"url": "http://mdtraj.org/1.6.2/index.html" | ||
}, | ||
{ | ||
"latest": false, | ||
"version": "1.7.2", | ||
"display": "1.7", | ||
"url": "http://www.mdtraj.org/1.7.2/index.html" | ||
}, | ||
{ | ||
"latest": false, | ||
"version": "1.8.0", | ||
"display": "1.8", | ||
"url": "http://www.mdtraj.org/1.8.0/index.html" | ||
}, | ||
{ | ||
"version": "1.9.0", | ||
"display": "1.9.0", | ||
"url": "http://www.mdtraj.org/1.9.0/index.html", | ||
"latest": false | ||
}, | ||
{ | ||
"version": "1.9.3", | ||
"display": "1.9.3", | ||
"url": "http://www.mdtraj.org/1.9.3/index.html", | ||
"latest": false | ||
}, | ||
{ | ||
"version": "1.9.4", | ||
"display": "1.9.4", | ||
"url": "http://www.mdtraj.org/1.9.4/index.html", | ||
"latest": false | ||
}, | ||
{ | ||
"version": "1.9.5", | ||
"display": "1.9.5", | ||
"url": "http://www.mdtraj.org/1.9.5/index.html", | ||
"latest": true | ||
} | ||
] |