Commit Graph

43 Commits

Author SHA1 Message Date
Robbie Averill
fe8b9a37b5 Apply PSR-2 coding conventions 2017-08-28 11:35:02 +12:00
Robbie Averill
4aad4e728d NEW Add ability to handle canonical URLs 2017-08-08 15:41:27 +12:00
Sean Harvey
484e57e404 Support parsing and removing a YAML metadata block in markdown. 2017-03-22 09:55:31 +13:00
Daniel Hensby
c00570ae55
FIX Allow multi-line headers 2017-02-24 15:45:24 +00:00
Robbie Averill
1a4475af1b
FIX Use the first stable version to list pages in "all"
* Add version to Pages as they are built in the DocumentationManifest
* Add getter for version from request/URL
* Filter Pages in Documentation Index by the requested version
2016-12-12 13:42:58 +13:00
Robbie Averill
909cfd695f Fix some CBF linting issues. Improved a couple of doc blocks. 2016-12-05 08:53:53 +13:00
Damian Mooyman
ad40d8fd1e
PSR2 Formatting 2016-12-02 15:31:18 +13:00
Damian Mooyman
babf1580b9
API Add VersionTitle and Archived fields to config
BUG Fix version comparison between `3` and `3.5` (3 is newer)
2016-12-02 15:28:32 +13:00
UndefinedOffset
067c942ecd BUGFIX: Fixed file_get_contents warning when viewing a folder that has no index.md 2016-02-26 10:20:06 -04: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
helpfulrobot
ced8128190 Converted to PSR-2 2015-11-21 19:25:41 +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
Cam Findlay
664e3eea91 ENHANCEMENT optional branch property to allow version aliases of development branches inside docsviewer. 2014-12-18 09:41:13 +13: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
2612f221a6 Change DocumentationParser to use GFM for code 2014-09-26 20:15:40 +12:00
Will Rossiter
ecac89c0c7 FIX: DocumentationFolder titles not being set. 2014-09-21 11:20:01 +12:00
Will Rossiter
e9132c446f Add DocumentationEntity::toMap() for assert compability 2014-09-20 13:43:46 +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
Ingo Schommer
2d7c1499d7 Merge pull request #30 from Martimiz/meta-sort-20130522
MAJOR: enable the use of custom metadata and page sorting
2013-06-10 00:42:32 -07:00
Ingo Schommer
bd186a0a73 BUG Index relative URLs
Avoids clashes between CLI and web modes (e.g. wrongly configured
$_FILE_TO_URL_MAPPING lookups).
2013-05-29 18:17:14 +02:00
martimiz
227289575a MEDIUM: remove metadata from the current page 2013-05-22 21:35:03 +02:00
martimiz
5400ba2afc MAJOR: enable the use of custom metadata and page sorting 2013-05-22 18:35:26 +02:00
Ingo Schommer
6227e1eb68 Allow symlinks in repo locations (don't resolve on image src) 2013-05-15 15:51:27 +02:00
Ingo Schommer
032a49d929 3.1/3.2 compat 2013-03-26 11:16:46 +01:00
martimiz
262b035fb5 FIX: IsFolder -> isFolder
commit 9672f2862c introduced an error in
getter/setter
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
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
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
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
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
15244a9934 ENHANCEMENT: rolled out basic versioning support. 2011-07-01 13:19:35 +12:00