mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-10 14:51:06 +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() {
|
public function getHelpURI() {
|
||||||
// TODO: When these applications get created, link to their docs:
|
// TODO: When these applications get created, link to their docs:
|
||||||
//
|
//
|
||||||
// - Conduit
|
|
||||||
// - Drydock
|
// - Drydock
|
||||||
// - Herald
|
|
||||||
// - OAuth Server
|
// - OAuth Server
|
||||||
// - Owners
|
|
||||||
// - Phame
|
|
||||||
// - Slowvote
|
|
||||||
|
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|
|
@ -26,6 +26,11 @@ final class PhabricatorApplicationConduit extends PhabricatorApplication {
|
||||||
return 'conduit';
|
return 'conduit';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getHelpURI() {
|
||||||
|
return PhabricatorEnv::getDoclink(
|
||||||
|
'article/Conduit_Technical_Documentation.html');
|
||||||
|
}
|
||||||
|
|
||||||
public function getShortDescription() {
|
public function getShortDescription() {
|
||||||
return 'Conduit API Console';
|
return 'Conduit API Console';
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,6 +34,10 @@ final class PhabricatorApplicationHerald extends PhabricatorApplication {
|
||||||
return "\xE2\x98\xBF";
|
return "\xE2\x98\xBF";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getHelpURI() {
|
||||||
|
return PhabricatorEnv::getDoclink('article/Herald_User_Guide.html');
|
||||||
|
}
|
||||||
|
|
||||||
public function getRoutes() {
|
public function getRoutes() {
|
||||||
return array(
|
return array(
|
||||||
'/herald/' => array(
|
'/herald/' => array(
|
||||||
|
|
|
@ -34,6 +34,10 @@ final class PhabricatorApplicationOwners extends PhabricatorApplication {
|
||||||
return "\xE2\x98\x81";
|
return "\xE2\x98\x81";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getHelpURI() {
|
||||||
|
return PhabricatorEnv::getDoclink('article/Owners_Tool_User_Guide.html');
|
||||||
|
}
|
||||||
|
|
||||||
public function getRoutes() {
|
public function getRoutes() {
|
||||||
return array(
|
return array(
|
||||||
'/owners/' => array(
|
'/owners/' => array(
|
||||||
|
|
|
@ -34,6 +34,10 @@ final class PhabricatorApplicationPhame extends PhabricatorApplication {
|
||||||
return "\xe2\x9c\xa9";
|
return "\xe2\x9c\xa9";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getHelpURI() {
|
||||||
|
return PhabricatorEnv::getDoclink('article/Phame_User_Guide.html');
|
||||||
|
}
|
||||||
|
|
||||||
public function getRoutes() {
|
public function getRoutes() {
|
||||||
return array(
|
return array(
|
||||||
'/phame/' => array(
|
'/phame/' => array(
|
||||||
|
|
|
@ -34,6 +34,11 @@ final class PhabricatorApplicationSlowvote extends PhabricatorApplication {
|
||||||
return "\xE2\x9C\x94";
|
return "\xE2\x9C\x94";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getHelpURI() {
|
||||||
|
return PhabricatorEnv::getDoclink('article/Slowvote_User_Guide.html');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public function getRoutes() {
|
public function getRoutes() {
|
||||||
return array(
|
return array(
|
||||||
'/V(?P<id>\d+)' => 'PhabricatorSlowvotePollController',
|
'/V(?P<id>\d+)' => 'PhabricatorSlowvotePollController',
|
||||||
|
|
Loading…
Reference in a new issue