Skip to content

Commit 84c1f98

Browse files
authored
Merge pull request #43 from WillNilges/willnilges/devcade-docs-migration
Willnilges/devcade docs migration
2 parents ae01f47 + f2469c8 commit 84c1f98

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/app.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ def credits():
9999
def gamejam():
100100
return flask.render_template('gamejam.html')
101101

102+
@app.route('/docs')
103+
def docs():
104+
return flask.redirect('https://devcade-docs.csh.rit.edu')
105+
102106
@app.errorhandler(Exception)
103107
def page404(e):
104108
eCode = 500

src/templates/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ <h1>Devcade</h1>
6969
<div id="nav" class="dropped hidden">
7070
<div class="item"><a href="/">Home</a></div>
7171
<div class="item"><a href="/catalog">Games</a></div>
72-
<div class="item"><a href="https://computersciencehouse.github.io/devcade-website/">Docs</a></div>
72+
<div class="item"><a href="/docs">Docs</a></div>
7373
{% if current_user.is_authenticated %}
7474
<div class="item"><a href="/upload">Upload</a></div>
7575
<div class="item" id="account">

0 commit comments

Comments
 (0)