Commit Graph

38 Commits

Author SHA1 Message Date
Mateusz Uzdowski f259e97e13 jQuery 3 compatibility. 2019-08-01 13:55:00 +12:00
Ingo Schommer da441b231d Better syntax highlighting
Specifically, the old highlighter didn't support the "diff" format which was important for changelogs.
Changed the style from dark to light, since it's way too contrasty on a light background - makes it hard to scan both text and code.
And reduced the padding between code and content (mostly using the highlight style defaults)
Added a slight background shadow on code to visually offset the relatively light background color
Changed existing background color for <pre> to a slightly lighter shade, better contrast
Didn't create a custom *.ss style yet, too much work, and XML is good enough for now
2017-06-29 11:13:01 +12:00
Damian Mooyman ad40d8fd1e
PSR2 Formatting 2016-12-02 15:31:18 +13:00
Jared Lee 55867c7845 Hotfix/remove search hamburger (#125)
* Removed hamburger and inserted close button in sidebar

* Replace sidebar mobile slide out with fade in

* Updated mobile menu button to translate into different languages
2016-11-04 16:51:02 +13:00
Cam Findlay e38b740d88 Create sidebar hamburger menu for mobile (#121)
* Create sidebar hamburger menu for mobile

* Improve sidebar UX and mobile menu

* Fixed sidebar UX bug where blue text breadcrumb didn't appear and fixed hover/focus styling

* Improved UX of hamburger by applying toggle animations
2016-10-21 10:49:50 +13:00
UndefinedOffset 91a0767d53 BUGFIX: Fixed incorrectly formed page specific anchor links (fixes #104) 2016-03-11 13:15:37 -04:00
Will Rossiter d92fb96e0e Merge branch 'fixsearch'
* fixsearch:
  Resolve test failures
  Bug with Search Entities - removing from form. Removed calls to page entity, there is none when in search controller action

Conflicts:
	javascript/DocumentationViewer.js
2014-12-16 23:20:06 +13:00
Will Rossiter 7b9dbf75bb Remove unfinished search autocomplete 2014-12-16 23:17:19 +13:00
Will Rossiter 473b830867 Resolve test failures 2014-12-16 23:07:31 +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 2612f221a6 Change DocumentationParser to use GFM for code 2014-09-26 20:15:40 +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 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 e3c417113b Add basic responsive styles 2014-02-02 17:23:55 +13:00
Sean Harvey 158db9d415 BUG Don't show an empty table of contents 2013-02-20 10:22:18 +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
Will Rossiter 9aaeadd7ff Migrated theme from doc.ss back to the module 2012-11-10 11:12:30 +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 581062b412 Move the nested submenu to a separate block using JavaScript 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
Will Rossiter 5d7bf64e73 Design tweaks 2012-09-05 21:42:06 +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 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 15244a9934 ENHANCEMENT: rolled out basic versioning support. 2011-07-01 13:19:35 +12:00
Ingo Schommer 29d1bca8c8 MINOR Removing SyntaxHighlighter toolbar, it destroys the layout whitespace a bit 2011-01-12 21:32:00 +00:00
Ingo Schommer 2c67fb7650 ENHANCEMENT Added custom "SS" brush for syntax highlighting (needs work) 2011-01-10 11:36:21 +00:00
Will Rossiter 587f557949 BUGFIX: fixed url in header anchors. Added missing js link in the controller 2010-10-28 21:27:30 +00:00
Saophalkun Ponlu 3a5be64818 BUGFIX: Fix anchor link URIs in the table of content nav 2010-09-05 03:17:42 +00:00
Saophalkun Ponlu a069dbd9d9 ENHANCEMENT: Automatically add anchor links to headings that have IDs using javascript 2010-09-05 00:27:17 +00:00
Saophalkun Ponlu 257c833e86 ENHANCEMENT: Automatic (and manual) hash link generation for headlines done in server-side 2010-09-03 05:29:15 +00:00
Will Rossiter a07855109f FEATURE: added support to register versions and modules manually and disable the automatic includsion. FEATURE: added support for multiple versions and languages in the documentation. ENHANCEMENT: added toolbox to view module docs on pages and lots of other new templates 2010-06-24 14:22:41 +00:00
Will Rossiter dddf71efe6 ENHANCEMENT: coverted sapphiredocs to use SSViewer instead of DevelopmentAdmin templating. BUGFIX: fixed anchors generated in the table of contents. 2010-04-11 07:25:26 +00:00
Will Rossiter aa2c0cadc3 BUGFIX: fixed path to jquery and incorrect file path location 2010-03-26 02:50:30 +00:00
Will Rossiter f160bff8b3 FEATURE: initial commit of sapphire documentation viewer module. Parses each module with a docs folder and generates formatted trees for each. Parses single markdown files for display 2010-03-04 04:39:02 +00:00