MINOR: updated ssdoc
git-svn-id: http://svn.silverstripe.com/projects/ss2doc/branches/v2@118323 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
8b788048e8
commit
a7823e192d
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
format: 1
|
||||
handler:
|
||||
commit: fab93f80df203a75dc2dcc4fba721115ce4a9007
|
||||
commit: aa0297d52ad0a7511246818809d61e5d5c9377ab
|
||||
branch: master
|
||||
lock: false
|
||||
repository_class: Piston::Git::Repository
|
||||
|
|
|
@ -102,10 +102,10 @@ class DocumentationPage extends ViewableData {
|
|||
}
|
||||
|
||||
/**
|
||||
* @param String
|
||||
* @param String - has to be plain text for open search compatibility.
|
||||
* @return String
|
||||
*/
|
||||
function getBreadcrumbTitle($divider = ' » ') {
|
||||
function getBreadcrumbTitle($divider = ' - ') {
|
||||
$pathParts = explode('/', $this->getRelativePath());
|
||||
$titleParts = array_map(array('DocumentationService', 'clean_page_name'), $pathParts);
|
||||
return implode($divider, $titleParts + array($this->getTitle()));
|
||||
|
|
|
@ -363,7 +363,6 @@ class DocumentationSearch {
|
|||
$request = $this->outputController->getRequest();
|
||||
|
||||
$data = $this->getSearchResults($request);
|
||||
|
||||
$templates = array('DocumentationViewer_results', 'DocumentationViewer');
|
||||
|
||||
if($request->requestVar('format') && $request->requestVar('format') == "atom") {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<opensearch:Query role="request" searchTerms="$Query" startIndex="$StartResult" count="$PageLength"></opensearch:Query>
|
||||
<% control Results %>
|
||||
<entry>
|
||||
<title>$Title</title>
|
||||
<title><% if BreadcrumbTitle %>$BreadcrumbTitle<% else %>$Title<% end_if %></title>
|
||||
<link href="$Link">$Link</link>
|
||||
<id>urn:uuid:$ID</id>
|
||||
<content type="text">$Content.LimitCharacters(200)</content>
|
||||
|
|
Loading…
Reference in New Issue