Provide direct link to REST API documentation

The REST API is a first-class feature that we want to
encourage people to use. Providing a high-level link
helps increase visibility.

Change-Id: I5af19d7d9fee1ae2ba67352f2c06cedfb4f8a9f6
This commit is contained in:
Chad Horohoe
2013-05-14 12:07:14 -04:00
parent a7f04b4f1b
commit fcfa425097
3 changed files with 3 additions and 0 deletions

View File

@@ -680,6 +680,7 @@ public class Gerrit implements EntryPoint {
addDocLink(m, C.menuDocumentationSearch(), "user-search.html");
addDocLink(m, C.menuDocumentationUpload(), "user-upload.html");
addDocLink(m, C.menuDocumentationAccess(), "access-control.html");
addDocLink(m, C.menuDocumentationAPI(), "rest-api.html");
menuLeft.add(m, C.menuDocumentation());
}

View File

@@ -88,6 +88,7 @@ public interface GerritConstants extends Constants {
String menuDocumentationSearch();
String menuDocumentationUpload();
String menuDocumentationAccess();
String menuDocumentationAPI();
String searchHint();
String searchButton();

View File

@@ -71,6 +71,7 @@ menuDocumentationIndex = Index
menuDocumentationSearch = Searching
menuDocumentationUpload = Uploading
menuDocumentationAccess = Access Controls
menuDocumentationAPI = REST API
searchHint = Change #, SHA-1, tr:id or owner:email
searchButton = Search