Commit Graph

359 Commits

Author SHA1 Message Date
Daniel Hensby
43df51b8e3 Adding .editorconfig 2014-12-04 15:38:45 +00:00
3Dgoo
b239e87fe2 Fixing text highlight css
By setting anything to ::selection in the css it resets all selection styling. Meaning highlighted text does not show any indication of highlighting. 

I have added in the selection color and background so text appears highlighted when selected.
2014-12-03 09:35:01 +10:30
Will Rossiter
bda0b00b18 Reduce exception. 2014-11-18 19:12:19 +13:00
Cam Findlay
1e2737bc5a Refactored EditLink 2014-11-15 11:46:54 +13:00
Will Rossiter
5cbd9c79cd Restore support for multiple versions in the masthead 2014-11-15 11:41:01 +13:00
Will Rossiter
2656f244c7 Merge pull request #49 from ss23/master
Fix RebuildLuceneDocsIndex to use new Markdown parser
2014-11-11 22:40:17 +13:00
Stephen Shkardoon
ab3e3f392a Fix RebuildLuceneDocsIndex to use new Markdown parser
Previously, it was attempting to use the already removed Markdown class.
Also some minor permission / indentation fixes.
2014-11-11 20:44:50 +13:00
Will Rossiter
fbe7c861a5 Merge pull request #48 from unclecheese/feature/design-changes
Feature/design changes
2014-11-07 16:17:58 +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
f169aa65ac Add support for exclude in children list 2014-10-13 21:55:16 +13:00
Will Rossiter
7f778498f2 Fix style of submenu 2014-09-30 18:36:40 +13:00
Will Rossiter
45be91282c Restore tests 2014-09-28 21:41:10 +13:00
Will Rossiter
cfa32d56e6 FIX: permission check broken 2014-09-28 17:10:55 +13:00
Will Rossiter
5fbde299d1 Add alert as a valid alias as warning. 2014-09-28 16:58:23 +13:00
Will Rossiter
d452a047fa Support one more layer in the template. 2014-09-28 16:58:01 +13:00
Will Rossiter
6edaebab41 Encode &amps; in api links. 2014-09-28 14:35:58 +13:00
Will Rossiter
dfaa28950a Minor style tweaks 2014-09-28 13:34:49 +13:00
Will Rossiter
0dc0ff1ea5 Upgrade parsedown extra to support markdown within code blocks 2014-09-28 13:26:54 +13:00
Will Rossiter
f706a9d8a2 FIX: API links should be urlencoded() to prevent special characters causing issues 2014-09-27 19:46:39 +12:00
Will Rossiter
508238a7b2 Correct title generation for index files in entity root
Previously would output the language code as the title 'En'. This double checks whether the file is at the root of the entity and if so, it'll use the entity name.
2014-09-27 10:15:52 +12: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
db2a94b56c Prevent automatic registration running multiple times
Fix up automatic registration details.
2014-09-27 10:13:40 +12:00
Will Rossiter
9cf55c57d7 Ensure manifest is cached between calls. 2014-09-27 10:12:54 +12:00
Will Rossiter
d2aa75e72b Hourly task no longer exists 2014-09-27 08:56:47 +12:00
Will Rossiter
3995e72c3a Style tidy ups. 2014-09-26 20:15:53 +12:00
Will Rossiter
2612f221a6 Change DocumentationParser to use GFM for code 2014-09-26 20:15:40 +12:00
Sean Harvey
e162891989 Merge pull request #47 from tractorcow/pulls/fix-master
Remove removed repository fork
2014-09-24 12:32:52 +12:00
Damian Mooyman
cc0af001b8 Remove removed repository fork 2014-09-24 12:31:40 +12:00
Will Rossiter
113e997b09 FIX: Relative paths from index files showing wrong 2014-09-21 11:20:31 +12:00
Will Rossiter
ecac89c0c7 FIX: DocumentationFolder titles not being set. 2014-09-21 11:20:01 +12:00
Will Rossiter
8057c9257c FIX Language viewer test. 2014-09-21 11:19:17 +12:00
Will Rossiter
5ab53e65f2 FIX: Add tests and correct behaviour for next/prev 2014-09-21 11:18:36 +12:00
Will Rossiter
93dc64c480 More more of the page to replacable includes. 2014-09-20 14:20:36 +12:00
Will Rossiter
be9eef83b4 Add tests for getLanguage() 2014-09-20 13:45:35 +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
da77bf6821 Add additional test case for DocumentationFolder 2014-09-20 13:44:41 +12:00
Will Rossiter
a4c32f0b25 Add test for getChildrenFor and getVersions 2014-09-20 13:44:26 +12:00
Will Rossiter
cabda45f96 Unused template. 2014-09-20 13:43:55 +12:00
Will Rossiter
e9132c446f Add DocumentationEntity::toMap() for assert compability 2014-09-20 13:43:46 +12:00
Will Rossiter
aed63c9df5 Fix issue with Language parameter not being set
When the user accesses a page more than three levels deep.
2014-09-20 13:43:22 +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