Remove ribbon, add "Edit on Github" links, fixes #398
Dieser Commit ist enthalten in:
@ -139,6 +139,21 @@ abstract class Entry
|
||||
return $this->path;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the path to the file from the root of the documentation
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getRelativePath()
|
||||
{
|
||||
$root = $this;
|
||||
while($root->getParent() != null) {
|
||||
$root = $root->getParent();
|
||||
}
|
||||
|
||||
return substr($this->path, strlen($root->getPath()) +1);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return SplFileInfo
|
||||
*/
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren