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:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
@@ -88,6 +88,7 @@ public interface GerritConstants extends Constants {
|
||||
String menuDocumentationSearch();
|
||||
String menuDocumentationUpload();
|
||||
String menuDocumentationAccess();
|
||||
String menuDocumentationAPI();
|
||||
|
||||
String searchHint();
|
||||
String searchButton();
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user