From 4ec3335e06b876d955f06eb208751349cd2e7683 Mon Sep 17 00:00:00 2001 From: Farhaan Bukhsh Date: Aug 07 2016 09:12:14 +0000 Subject: Add static page hosting As @ryanlerch suggested introducing the documentation link in the header and removed the Doc tab from the project. --- diff --git a/pagure/templates/repo_master.html b/pagure/templates/repo_master.html index 015dc65..bb9f793 100644 --- a/pagure/templates/repo_master.html +++ b/pagure/templates/repo_master.html @@ -67,6 +67,14 @@ {% endif %} + {% if config['DOC_APP_URL'] and repo and repo.settings.get('project_documentation', True) %} +
+ Documentation at + + {{ config['DOC_APP_URL'] }}{{ repo.fullname }} + +
+ {% endif %} {% if repo.is_fork %}
Forked from @@ -94,17 +102,6 @@ Overview - {% if config['DOC_APP_URL'] and repo and repo.settings.get('project_documentation', True) %} - - {% endif %}