launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #29530
[Merge] ~cjwatson/launchpad:apidoc-git-repositories-url into launchpad:master
Colin Watson has proposed merging ~cjwatson/launchpad:apidoc-git-repositories-url into launchpad:master.
Commit message:
apidoc: Fix URL of top-level git_repositories collection
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/435515
Reported by Joao Andre Simioni.
--
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/launchpad:apidoc-git-repositories-url into launchpad:master.
diff --git a/lib/lp/services/webservice/wadl-to-refhtml.xsl b/lib/lp/services/webservice/wadl-to-refhtml.xsl
index dc13955..0f6d973 100644
--- a/lib/lp/services/webservice/wadl-to-refhtml.xsl
+++ b/lib/lp/services/webservice/wadl-to-refhtml.xsl
@@ -778,6 +778,8 @@
</div>
</xsl:template>
+ <!-- These should match the corresponding path segments in
+ lp.app.browser.launchpad.LaunchpadRootNavigation.stepto_utilities. -->
<xsl:template name="find-root-object-uri">
<xsl:value-of select="$base"/>
<xsl:choose>
@@ -787,6 +789,9 @@
<xsl:when test="@id = 'charm_recipes'">
<xsl:text>/+charm-recipes</xsl:text>
</xsl:when>
+ <xsl:when test="@id = 'git_repositories'">
+ <xsl:text>/+git</xsl:text>
+ </xsl:when>
<xsl:when test="@id = 'polls'">
<xsl:text>/+polls</xsl:text>
</xsl:when>