Commit Graph

145 Commits

Author SHA1 Message Date
martimiz
262b035fb5 FIX: IsFolder -> isFolder
commit 9672f2862c introduced an error in
getter/setter
2012-11-10 09:27:28 +13:00
martimiz
933fe4b9ae minor: added missing ; in javascript 2012-11-10 09:27:28 +13:00
martimiz
1f6c5deda7 Minor: coding conventions and javascript, also added submenu title 2012-11-10 09:27:28 +13:00
martimiz
08bfb941d4 restyling color and height of (sub)menu items
Some css settings, adapted from themse/ssorgsite/css/core.css
2012-11-10 09:27:28 +13:00
martimiz
344161be54 Added styles for the table of contents 2012-11-10 09:27:28 +13:00
martimiz
6411d86c09 Add _resources to the list of files to be ignored
using DocumentationService::set_ignored_files() in _config
2012-11-10 09:27:27 +13:00
martimiz
581062b412 Move the nested submenu to a separate block using JavaScript 2012-11-10 09:27:27 +13:00
martimiz
7e7b67548e Mark submenu items with children as folders
Add an arrow to submenuitems that have undelying pages
2012-11-10 09:27:27 +13:00
martimiz
5a29f0c9ba Relocate table of contents
The table of contents is removed from the sidebar and relocated
underneath breadcrumbs and page title (if there is one). It can be
toggled open and closed.
2012-11-10 09:27:27 +13:00
martimiz
2968e2947e FIX: use prop("tagName") instead of attr("tagName") 2012-11-10 09:27:27 +13:00
martimiz
027b63ea0b FIX: remove version from the breadcrumb url for the stable version
Same as in the menu links. fixes multiple urls for the same content
2012-11-10 09:27:27 +13:00
martimiz
62dd4e92f7 Relocate breadcrumbs to the top of the document
Remove breadcrumbs from the searchbar to the top of the page content,
and make sure they only display if there is more then the current link.
Wrap the module and version selectors to fill the gap in the searchbar.
2012-11-10 09:27:27 +13:00
Will Rossiter
317dbb1774 Method visibility 2012-11-10 09:27:10 +13:00
Will Rossiter
74b91a1dd1 NEW Yaml highlighting 2012-09-25 19:36:43 +12:00
vikas srivastava
9672f2862c NEW Added composer.json Added composer.json file which will help this module for submission on proposed extension.silverstripe.org website. Please add more fields according to requirement.
For more information please visit at http://extension.openbees.org/instructions/
2012-09-23 09:15:38 +12:00
Will Rossiter
4ffa1c71e6 FIX: prevent notice while doing search request. 2012-09-09 18:05:06 +12:00
Will Rossiter
b4dc440650 FIX: function is named getLink() 2012-09-09 17:13:51 +12:00
Will Rossiter
f322d7a528 Reduce space in nested lists 2012-09-06 21:35:36 +12:00
Will Rossiter
5d7bf64e73 Design tweaks 2012-09-05 21:42:06 +12:00
Will Rossiter
3a9a384ca4 NEW: Add set_edit_link() and getEditLink() to DocumentViewer to allow adding edit links to be displayed on documentation pages 2012-09-03 22:02:42 +12:00
Will Rossiter
08dda0a403 Merge pull request #14 from oddnoc/documentation-fixes
BUGFIX: make links relative so they resolve correctly
2012-05-24 22:00:05 -07:00
Fred Condo
6e5fa2e05d BUGFIX: make links relative so they resolve correctly
Links had been relative to the document root and threw error 404.
In addition, that hard-coded the dev/docs path into the documentation.
2012-05-24 16:47:26 -07:00
Sean Harvey
e9a751b56d Merge pull request #13 from stojg/3.0-compat
BUGFIX: Deprecation errors and strict warnings breaks the docsviewer
2012-05-17 15:16:28 -07:00
Stig Lindqvist
fa646cdbf6 BUGFIX: Deprecation errors and strict warnings breaks the docsviewer 2012-05-18 09:48:57 +12:00
Will Rossiter
ae092ebf19 BUGFIX: ensure E_STRICT compatibility with docsviewer and 3.0 handleRequest(). 2012-04-14 18:02:53 +12:00
Will Rossiter
dd84574b8d BUGFIX: upgrade module to fit 3.0 api. 2012-04-14 17:00:22 +12:00
Will Rossiter
1e28e8252f MINOR: rename from docviewer to docsviewer 2012-04-08 21:36:16 +12:00
Will Rossiter
a87094fb16 BUGFIX: check for valid directory before opening 2012-04-08 21:27:53 +12:00
Will Rossiter
34d46b7a5b MINOR: update references to sapphiredocs to docviewer. ENHANCEMENT: introduce DOCVIEWER_PATH and DOCVIEWER_DIR consts 2012-04-08 21:23:49 +12:00
Will Rossiter
4a40b51ab2 MINOR: ignore ds store files 2012-04-08 21:19:29 +12:00
Will Rossiter
ff50ef1a1e MINOR: removed assertInstanceOf call as this is phpunit 3.6 only. 2011-08-15 15:06:25 +12:00
Will Rossiter
7381733b4c BUGFIX: fixed search index field naming from module to entity to be consistent. BUGFIX: fixed url for opensearch description. ENHANCEMENT: moved author information to meta_data 2011-08-11 17:03:42 +12:00
Will Rossiter
a12169c9e0 MINOR: include own syntax highlighting theme for ssdoc. 2011-08-11 13:32:09 +12:00
Will Rossiter
85e5b1b72d FEATURE: added advanced search form to allow searching by module and version 2011-08-04 10:04:53 +12:00
Will Rossiter
0ba6d8d338 Merge branch 'master' of github.com:silverstripe/silverstripe-sapphiredocs 2011-08-02 15:31:38 +12:00
Will Rossiter
56578742f4 MINOR: merging changes from ss2doc back. APICHANGE: renamed DocumentationOpenSearch_Controller to DocumentationOpenSearchController. MINOR: renamed left and right column to more generic content/sidebar columns 2011-08-02 15:30:58 +12:00
Will Rossiter
37ea520c8b Merge pull request #2 from nyeholt/master 2011-07-24 21:42:21 -07:00
Marcus Nyeholt
c9f35cebbb BUGFIX: Changed the base URL for the search so it hits the correct action 2011-07-25 14:35:11 +10:00
Marcus Nyeholt
99951426ed BUGFIX: Change the doc folder search to use the correct folder name variable.
BUGFIX: Use the full path to the basefolder when searching for folders; cwd is actually sapphire, so this ends up looking in the wrong path otherwise
2011-07-25 14:34:30 +10:00
Will Rossiter
035df99088 BUGFIX: fixed reference to incorrect method from homepage. (Hat tip to nyeholt) 2011-07-25 16:14:43 +12:00
Will Rossiter
959cb16534 FEATURE: added automatic notifications about accessing outdated or unreleased versions. (Fixes #6320) 2011-07-08 14:42:52 +12:00
Will Rossiter
96ac20a15c BUGFIX: fixed bug with linking to internal assets. 2011-07-04 16:58:15 +12:00
Will Rossiter
cb19549a97 ENHANCEMENT: if viewing site on current version, do not include version in the parsed links 2011-07-04 12:05:22 +12:00
Will Rossiter
762eb2323b APICHANGE: Renamed internal references of modules to entities and related method naming. FEATURE: added entity navigation in header. BUGFIX: fixed version links so that they redirect to the version of the current page rather than home page 2011-07-01 18:49:31 +12:00
Will Rossiter
4830e09bad ENHANCEMENT: moved 404 page out to a separate template and altered DocumentationViewer to throw 404s on pages which do not resolve to anything. Fixes: #6616 2011-07-01 14:37:55 +12:00
Will Rossiter
15244a9934 ENHANCEMENT: rolled out basic versioning support. 2011-07-01 13:19:35 +12:00
Will Rossiter
aa0297d52a Cherry picked changes from doc.silverstripe.org. FEATURE: added boost options to promoting or removing listings from the search. ENHANCEMENT: use a breadcrumb trail for search title to provide additional context 2011-04-29 14:41:30 +12:00
Will Rossiter
fab93f80df BUGFIX: removed use of deprecated phpunit call. 2011-04-05 14:17:38 +12:00
Will Rossiter
ef5664f777 BUGFIX: fixed encoding of special characters when not in code snippets. 2011-04-05 14:17:25 +12:00
Will Rossiter
cfaa08d858 ENHANCEMENT: fixed default homepage template to include links to individual modules rather than blank pages. BUGFIX: fixed doc viewer to not throw 404 error when no module provided 2011-03-12 17:14:37 +13:00