mirror of https://gitee.com/bigwinds/arangodb
Show link to download documentation for all non-development apps
This commit is contained in:
parent
8c08e6c8c6
commit
c0b6e801b1
|
@ -48,7 +48,13 @@
|
|||
<dt>Links</dt>
|
||||
<dd>
|
||||
<ul>
|
||||
<li>Download API Documentation</li>
|
||||
<% if (!attributes.development) { %>
|
||||
<li>
|
||||
<a href="http://localhost:8529/_db/_system/_admin/aardvark/swagger/<%= encodeURIComponent(encodeURIComponent(attributes.mount)) %>" target="_blank">
|
||||
Download API Documentation
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
<% if (attributes.repository && attributes.repository.type == 'git') { %>
|
||||
<li><a href="<%= attributes.repository.url %>" target="_blank">Git Repository</a></li>
|
||||
<% } %>
|
||||
|
|
Loading…
Reference in New Issue