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 <[email protected]> Authored: Wed Nov 15 21:30:53 2017 +0100 Committer: Martin Stockhammer <[email protected]> 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>
