mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 05:50:55 +01:00
Implement getHelpURI() for new applications
Summary: A bunch of recently-created applications have help available; link to it. Test Plan: Clicked each app, clicked help link in menu bar, ended up in relevant documentation. Reviewers: vrana, btrahan Reviewed By: btrahan CC: aran Differential Revision: https://secure.phabricator.com/D3602
This commit is contained in:
parent
4682e0c104
commit
14fe3f5d14
6 changed files with 22 additions and 5 deletions
|
@ -77,13 +77,8 @@ abstract class PhabricatorApplication {
|
|||
public function getHelpURI() {
|
||||
// TODO: When these applications get created, link to their docs:
|
||||
//
|
||||
// - Conduit
|
||||
// - Drydock
|
||||
// - Herald
|
||||
// - OAuth Server
|
||||
// - Owners
|
||||
// - Phame
|
||||
// - Slowvote
|
||||
|
||||
|
||||
return null;
|
||||
|
|
|
@ -26,6 +26,11 @@ final class PhabricatorApplicationConduit extends PhabricatorApplication {
|
|||
return 'conduit';
|
||||
}
|
||||
|
||||
public function getHelpURI() {
|
||||
return PhabricatorEnv::getDoclink(
|
||||
'article/Conduit_Technical_Documentation.html');
|
||||
}
|
||||
|
||||
public function getShortDescription() {
|
||||
return 'Conduit API Console';
|
||||
}
|
||||
|
|
|
@ -34,6 +34,10 @@ final class PhabricatorApplicationHerald extends PhabricatorApplication {
|
|||
return "\xE2\x98\xBF";
|
||||
}
|
||||
|
||||
public function getHelpURI() {
|
||||
return PhabricatorEnv::getDoclink('article/Herald_User_Guide.html');
|
||||
}
|
||||
|
||||
public function getRoutes() {
|
||||
return array(
|
||||
'/herald/' => array(
|
||||
|
|
|
@ -34,6 +34,10 @@ final class PhabricatorApplicationOwners extends PhabricatorApplication {
|
|||
return "\xE2\x98\x81";
|
||||
}
|
||||
|
||||
public function getHelpURI() {
|
||||
return PhabricatorEnv::getDoclink('article/Owners_Tool_User_Guide.html');
|
||||
}
|
||||
|
||||
public function getRoutes() {
|
||||
return array(
|
||||
'/owners/' => array(
|
||||
|
|
|
@ -34,6 +34,10 @@ final class PhabricatorApplicationPhame extends PhabricatorApplication {
|
|||
return "\xe2\x9c\xa9";
|
||||
}
|
||||
|
||||
public function getHelpURI() {
|
||||
return PhabricatorEnv::getDoclink('article/Phame_User_Guide.html');
|
||||
}
|
||||
|
||||
public function getRoutes() {
|
||||
return array(
|
||||
'/phame/' => array(
|
||||
|
|
|
@ -34,6 +34,11 @@ final class PhabricatorApplicationSlowvote extends PhabricatorApplication {
|
|||
return "\xE2\x9C\x94";
|
||||
}
|
||||
|
||||
public function getHelpURI() {
|
||||
return PhabricatorEnv::getDoclink('article/Slowvote_User_Guide.html');
|
||||
}
|
||||
|
||||
|
||||
public function getRoutes() {
|
||||
return array(
|
||||
'/V(?P<id>\d+)' => 'PhabricatorSlowvotePollController',
|
||||
|
|
Loading…
Reference in a new issue