archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marti...@apache.org
Subject archiva-redback-core git commit: Fixing doc error after switching enunciate version
Date Wed, 15 Nov 2017 20:32:43 GMT
Repository: archiva-redback-core
Updated Branches:
  refs/heads/master 56febc67a -> 6ca0679dc


Fixing doc error after switching enunciate version


Project: http://git-wip-us.apache.org/repos/asf/archiva-redback-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/archiva-redback-core/commit/6ca0679d
Tree: http://git-wip-us.apache.org/repos/asf/archiva-redback-core/tree/6ca0679d
Diff: http://git-wip-us.apache.org/repos/asf/archiva-redback-core/diff/6ca0679d

Branch: refs/heads/master
Commit: 6ca0679dc7e816d14ddbc44780e9290f212fb90c
Parents: 56febc6
Author: Martin Stockhammer <martin.stockhammer@ars.de>
Authored: Wed Nov 15 21:30:53 2017 +0100
Committer: Martin Stockhammer <martin.stockhammer@ars.de>
Committed: Wed Nov 15 21:30:53 2017 +0100

----------------------------------------------------------------------
 .../redback-rest/redback-rest-api/src/enunciate/archiva.fmt      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/archiva-redback-core/blob/6ca0679d/redback-integrations/redback-rest/redback-rest-api/src/enunciate/archiva.fmt
----------------------------------------------------------------------
diff --git a/redback-integrations/redback-rest/redback-rest-api/src/enunciate/archiva.fmt
b/redback-integrations/redback-rest/redback-rest-api/src/enunciate/archiva.fmt
index 2137bfb..40523db 100644
--- a/redback-integrations/redback-rest/redback-rest-api/src/enunciate/archiva.fmt
+++ b/redback-integrations/redback-rest/redback-rest-api/src/enunciate/archiva.fmt
@@ -431,7 +431,7 @@ limitations under the License.
       <ul>
       [#list resourceGroup.resources?sort_by("path") as resource]
 [#list resource.methods as method]
-<li><a href="#${method.slug}">${apiRelativePath}${resourceGroup.contextPath}${resource.path}</a></li>
+<li><a href="#${method.slug}">${apiRelativePath}${resourceGroup.relativeContextPath}${resource.path}</a></li>
 [/#list]
       [/#list]
       </ul>
@@ -452,7 +452,7 @@ limitations under the License.
         [#list resource.methods as method]
 
       <div id="${method.slug}">
-        <h2>${method.label} <small>${resource.path} <a href="${apiRelativePath}${resourceGroup.contextPath}${resource.path}"
class="glyphicon glyphicon-new-window" target="_blank"></a></small></h2>
+        <h2>${method.label} <small>${resource.path} <a href="${apiRelativePath}${resourceGroup.relativeContextPath}${resource.path}"
class="glyphicon glyphicon-new-window" target="_blank"></a></small></h2>
           [#if resourceGroup.deprecated?? || method.deprecated??]
 
         <div class="alert alert-danger">This method has been deprecated. [#if method.deprecated??]
${method.deprecated!""}[#else] ${resource.deprecated!""}[/#if]</div>


Mime
View raw message