| |
@@ -67,6 +67,14 @@
|
| |
</div>
|
| |
{% endif %}
|
| |
</h2>
|
| |
+ {% if config['DOC_APP_URL'] and repo and repo.settings.get('project_documentation', True) %}
|
| |
+ <div class="m-t-0">
|
| |
+ Documentation at
|
| |
+ <a href="{{ config['DOC_APP_URL'] }}{{ repo.fullname }}">
|
| |
+ {{ config['DOC_APP_URL'] }}{{ repo.fullname }}
|
| |
+ </a>
|
| |
+ </div>
|
| |
+ {% endif %}
|
| |
{% if repo.is_fork %}
|
| |
<div class="m-t-0">
|
| |
Forked from
|
| |
@@ -94,17 +102,6 @@
|
| |
<span class="hidden-sm-down">Overview</span>
|
| |
</a>
|
| |
</li>
|
| |
- {% if config['DOC_APP_URL'] and repo and repo.settings.get('project_documentation', True) %}
|
| |
- <li class="nav-item" >
|
| |
- <a {%
|
| |
- if select == 'docs' %}class="active nav-link" {%
|
| |
- else %}class="nav-link" {%
|
| |
- endif %}href="{{ url_for('.view_docs', username=username, repo=repo.name) }}">
|
| |
- <span class="oi hidden-md-up" data-glyph="book"></span>
|
| |
- <span class="hidden-sm-down">Docs</span>
|
| |
- </a>
|
| |
- </li>
|
| |
- {% endif %}
|
| |
|
| |
<li class="nav-item{%
|
| |
if repo_obj and repo_obj.is_empty %} disabled{% endif %}">
|
| |
As @ryanlerch suggested introducing the documentation link
in the header and removed the Doc tab from the project.