diff --git a/progit/templates/repo_master.html b/progit/templates/repo_master.html index ec07eda..a1c6ee1 100644 --- a/progit/templates/repo_master.html +++ b/progit/templates/repo_master.html @@ -37,7 +37,7 @@ {% if repo.project_wiki %} -
  • +
  • Docs
  • diff --git a/progit/wiki.py b/progit/wiki.py index c02600b..45320eb 100644 --- a/progit/wiki.py +++ b/progit/wiki.py @@ -108,7 +108,7 @@ def do_view_wiki(repo, username=None, branchname=None, filename=None): return flask.render_template( 'wiki.html', - select='wiki', + select='docs', repo=repo, username=username, branchname=branchname, @@ -121,15 +121,15 @@ def do_view_wiki(repo, username=None, branchname=None, filename=None): ## URLs -@APP.route('//wiki') -@APP.route('//wiki/') -@APP.route('//wiki/') -@APP.route('//wiki//') +@APP.route('//docs') +@APP.route('//docs/') +@APP.route('//docs/') +@APP.route('//docs//') -@APP.route('/fork///wiki') -@APP.route('/fork///wiki/') -@APP.route('/fork///wiki/') -@APP.route('/fork///wiki//') +@APP.route('/fork///docs') +@APP.route('/fork///docs/') +@APP.route('/fork///docs/') +@APP.route('/fork///docs//') def view_wiki(repo, username=None, branchname=None, filename=None): """ Display the documentation """