Commit Graph

197 Commits

Author SHA1 Message Date
UndefinedOffset
581c7cb53a BUGFIX: Fixed issue next/previous page links missing the documentation base link 2016-02-24 17:56:14 -04:00
UndefinedOffset
6682975a09 BUGFIX: Links in the all pages view missing the documentation base link 2016-02-24 11:41:37 -04:00
Daniel Hensby
d5f53864d7 Merge pull request #97 from webbuilders-group/windows-path-fix
BUGFIX: Fixed issues related to windows filesystem using backslash instead of forward slash
2016-02-22 14:58:43 +00:00
UndefinedOffset
1556c77d27 BUGFIX: Fixed issues related to windows filesystem using backslash instead of forward slash
Fixed issue with automatic registration on windows causing duplicate base paths
2016-02-22 09:40:02 -04:00
UndefinedOffset
5e72a42f13 BUGFIX: Fixed redirecting to strip extensions incorrectly redirecting 2016-02-19 09:34:31 -04:00
David Alexander
7e1fc567fa revert to original algorithm 2016-02-05 17:17:26 -07:00
David Alexander
26c66f494b Further tidy up of api link parsing and testing
typo

another typo

ANOTHER typo

update tests

fixed regexs

resolving test failures

resolving test failures

tidy up

test tidy up

refined regexs, output formatting, and tests

further refined regexs

typo in comments

whitespace

comment
2016-01-25 01:16:21 +13:00
David Alexander
f8debf7211 FIXED Api shortcode references and updated tests
temporarily commented out asserts in unrelated tests

typo in comment

pffffft...whitespace

double pffffft.....whitespace

triple pffffft.....whitespace
2016-01-21 15:34:57 +13:00
Christopher Pitt
13aefa8f48 Added default theme kill switch 2015-12-01 10:14:59 +13:00
helpfulrobot
ced8128190 Converted to PSR-2 2015-11-21 19:25:41 +13:00
Cam Findlay
720b35d831 Add a way to check if a version is the current stable
This allows things like styling or highlighting of the currentl stable version when used in a project to make it more obvious that people should be using that documentation.
2015-10-13 10:30:27 +13:00
Damian Mooyman
a7094a68af API Use canonical URL for all repositories, and instead redirect from non-versioned page to correct canonical URL for each page. 2015-04-28 17:48:12 +12:00
Will Rossiter
7b1a37f430 Use symlink path name (Fixes #58) 2015-01-07 22:39:04 +13:00
Will Rossiter
653a2c87f4 Merge pull request #54 from camfindlay/curentversionsearch
Pass the current version to the search
2015-01-07 14:11:40 +13:00
Cam Findlay
664e3eea91 ENHANCEMENT optional branch property to allow version aliases of development branches inside docsviewer. 2014-12-18 09:41:13 +13:00
Cam Findlay
410312c641 Pass the current version to the search
From a UX POV, when I'm searching docs I'm likely to be working on a site of a specific version - results of docs from older or newer versions are likely to be less relevant to me. If I want to search wider after my initial search I can use the check boxes on the advanced search.
2014-12-17 11:18:00 +13:00
Will Rossiter
473b830867 Resolve test failures 2014-12-16 23:07:31 +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
Cam Findlay
f74f35234d Upper case first letter 2014-12-08 11:04:27 +13:00
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
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
cfa32d56e6 FIX: permission check broken 2014-09-28 17:10:55 +13:00
Will Rossiter
6edaebab41 Encode &amps; in api links. 2014-09-28 14:35:58 +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
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
2612f221a6 Change DocumentationParser to use GFM for code 2014-09-26 20:15: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
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
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
Will Rossiter
fab0cba8a8 Add bash syntax brush (Fixes #45) 2014-09-06 09:20:05 +12:00
Will Rossiter
1b0a5c519d Use erusev/parsedown as the Markdown parser. (Fixes #31) 2014-07-27 12:39:44 +12:00