Skip to content
This repository was archived by the owner on Apr 3, 2022. It is now read-only.

Commit 960ff03

Browse files
committed
Redirect docs to rtd
1 parent f6040e2 commit 960ff03

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

routes/docs.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ var fs = require('fs')
66
, sectionNames = ["installation", "usage", "models", "instances", "associations", "hooks", "transactions", "migrations", "utils", "misc"]
77

88
exports.index = function(req, res) {
9-
var path = 'docs/latest'
9+
res.redirect("http://sequelize.readthedocs.org/en/latest/", 302);
10+
/*var path = 'docs/latest'
1011
, sections = []
1112
1213
if (!req.param('version')) {
@@ -46,7 +47,7 @@ exports.index = function(req, res) {
4647
activeNavItem: 'docs',
4748
sidebarTitle: 'Documentation',
4849
bodyId: 'documentation'
49-
})
50+
})*/
5051
}
5152

5253
// helpers

0 commit comments

Comments
 (0)