Cam Findlay
2f0cbfe4f6
Merge pull request #77 from SpiritLevel/patch-1
...
FIX Home for each version correctly returns to the index of the version.
2015-11-17 16:04:08 +13:00
David Alexander
adc905c490
Better solution for doc.silverstripe.org/issues/79
...
The better solution I proposed for https://github.com/silverstripe/doc.silverstripe.org/issues/79 seems to have been missed in the confusion of my PR titles.
2015-11-17 14:41:00 +13:00
Uncle Cheese
0db943b012
MINOR: Move all GA code into its own include, making it easy to override in a theme
2015-11-17 12:14:11 +13:00
Cam Findlay
3753c331d4
Bug with Search Entities - removing from form. Removed calls to page entity, there is none when in search controller action
2014-12-16 14:12:40 +13:00
Cam Findlay
272b7ae660
FIX Showing the stable and outdated version number correctly.
2014-12-10 14:35:05 +13:00
Will Rossiter
5cbd9c79cd
Restore support for multiple versions in the masthead
2014-11-15 11:41:01 +13:00
Uncle Cheese
c71a1aaca2
These changes make a number of improvements, mostly typographical, to improve readability and to render properly on small devices.
...
Universal increase in font size
Use same font as ss.org for consistency
Remove unnecessary visual noise (borders, box shadows, etc)
Use Google PrettyPrint syntax highlighter for improved readability of code sections
Fully responsive, with hamburger menu
Add "section" linking mode to menu items
Add masthead for breadcrumbs, introduction
Improved styles for notice/info/warning messaging
2014-11-07 12:01:07 +13:00
Will Rossiter
d452a047fa
Support one more layer in the template.
2014-09-28 16:58:01 +13:00
Will Rossiter
804c67dcaf
If a folder has no children, default to menu
...
This happens in the event of the documentation home page.
2014-09-27 10:14:45 +12:00
Will Rossiter
4c53cf5646
Respect documentation base href for link to home.
2014-09-27 10:14:10 +12:00
Will Rossiter
2612f221a6
Change DocumentationParser to use GFM for code
2014-09-26 20:15:40 +12:00
Will Rossiter
93dc64c480
More more of the page to replacable includes.
2014-09-20 14:20:36 +12:00
Will Rossiter
086ddf2577
Add arrows to next / previous.
2014-09-20 13:45:23 +12:00
Will Rossiter
91a3dbad88
Fix formatting for folder pages.
2014-09-20 13:45:02 +12:00
Will Rossiter
cabda45f96
Unused template.
2014-09-20 13:43:55 +12:00
Will Rossiter
48afabff7b
Header agnostic documentation.
2014-09-19 23:29:36 +12:00
Will Rossiter
52733d6ebf
Add support for [CHILDREN] shortcode
...
This allows you to build up dynamic listing pages much better.
2014-09-19 23:29:22 +12:00
Will Rossiter
b489d5120a
Fixes for unit tests with the latest manifest
2014-09-15 22:12:31 +12:00
Will Rossiter
1e04aaed28
Fix breadcrumbs
2014-09-07 22:14:10 +12:00
Will Rossiter
314e504903
Show nested sidebar menu
2014-09-07 21:28:21 +12:00
Will Rossiter
31a3b8a744
Add an alphabetical index ( Fixes #5 )
2014-09-07 20:35:08 +12:00
Will Rossiter
0b91b91e33
Kill DocumentationService in favour of config API.
...
This continues on the migration to the Manifest. Instead of using calls to a `Service` now all file related lookups are done through the `DocumentationManifest`
2014-09-07 17:09:28 +12:00
Will Rossiter
43b6d42719
Overhaul of module to use DocumentationManifest
...
This major update changes the behaviour of the docviewer module to use a cached manifest rather than on demand. This allows us to simplify the URL matching and store 'nice' URL configuration rather than altering handleAction().
2014-09-07 11:26:12 +12:00
Will Rossiter
e80edc445e
Move advanced form out to it's own class
...
Make page title customizable through the Config system (Fixes #44 )
2014-09-06 11:22:05 +12:00
Will Rossiter
2c00a3b20f
New theme.
...
Clean up of existing theme, implementation of a new easier to integrate layout.
2014-09-06 11:13:12 +12:00
Sam Minnee
b6b753ee4c
FIX: Fixed encoding of & in OpenSearchDescription URLs.
...
Without this fix, the & was then passed to urlencode(), which escaped the ; and make invalid
XML. This keeps XML out of the source URL (so the & is just a raw & in the code) and relies on
the template engine to escape XML as needed (the .XML on the end of the variables).
2014-02-14 09:38:37 +13:00
Ingo Schommer
5a742b8584
Note about requiring github.com login for "edit this page"
...
See https://github.com/silverstripe/doc.silverstripe.org/issues/6
2013-10-30 23:07:38 +01:00
Ingo Schommer
032a49d929
3.1/3.2 compat
2013-03-26 11:16:46 +01:00
Will Rossiter
389269936b
Merge pull request #21 from Martimiz/search-20130107
2013-02-07 17:53:41 -08:00
Sean Harvey
6eca5af929
Improve default template of DocumentationViewer
...
class "container" was missing, so a bunch of CSS wasn't being applied.
The layout of the default docsviewer checkout now looks more like the
one on doc.silverstripe.org.
2013-01-24 10:02:18 +13:00
martimiz
9f1f70a065
Enhancement: allow for enabling/disabling advanced search
...
The advanced searchbox only really functions properly for multiple
entities if they all have similar versions. If not, it will let you
search on entity-version combinations that might not even exist, which
can get confusing..
In such cases optionally disabling it could be a solution, waiting for
a better solution (possibly
2013-01-07 17:26:39 +01:00
Will Rossiter
0eadf2d174
Merge pull request #20 from Martimiz/master-update-121112
...
Styling 404 and selecting toplevel pages without children
2012-11-12 21:05:55 -08:00
martimiz
3dcf210045
changed getSubmenu to getSubmenuLocation
...
Because it doen't return the submenu itself, it returns the preferred
location
2012-11-13 18:04:05 +13:00
martimiz
0df804f86c
Allow for either nested or separate submenu form template. Include recursive option
...
Default setting: separate submenu, no recursion.
Setting recursion fetches all children, to allow for JavaScript-powered
submenus (script not included). If recursion is enabled, separate menus
are disabled.
2012-11-13 18:04:05 +13:00
martimiz
f2b643871e
Fix: provide styling for 404 pages
2012-11-12 16:24:55 +01:00
Will Rossiter
9aaeadd7ff
Migrated theme from doc.ss back to the module
2012-11-10 11:12:30 +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
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
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
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
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
85e5b1b72d
FEATURE: added advanced search form to allow searching by module and version
2011-08-04 10:04:53 +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
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
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