Commit Graph

52 Commits

Author SHA1 Message Date
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
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
afe229d343 Remove outdated dependancy. Fixes #46 2014-08-01 16:45:09 +12:00
Ingo Schommer
cb877536b6 Fixed testGetModulePagesShort, no longer listing subfolders first 2013-06-10 09:55:12 +02:00
Will Rossiter
3b27cd6b2b NEW: Github style code fence blocks. (Fixes #22) 2013-02-19 22:23:22 +13:00
Will Rossiter
9aaeadd7ff Migrated theme from doc.ss back to the module 2012-11-10 11:12:30 +13:00
Stig Lindqvist
fa646cdbf6 BUGFIX: Deprecation errors and strict warnings breaks the docsviewer 2012-05-18 09:48:57 +12:00
Will Rossiter
ae092ebf19 BUGFIX: ensure E_STRICT compatibility with docsviewer and 3.0 handleRequest(). 2012-04-14 18:02:53 +12: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
ff50ef1a1e MINOR: removed assertInstanceOf call as this is phpunit 3.6 only. 2011-08-15 15:06:25 +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
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
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
Will Rossiter
15244a9934 ENHANCEMENT: rolled out basic versioning support. 2011-07-01 13:19:35 +12:00
Will Rossiter
fab93f80df BUGFIX: removed use of deprecated phpunit call. 2011-04-05 14:17:38 +12:00
Will Rossiter
ef5664f777 BUGFIX: fixed encoding of special characters when not in code snippets. 2011-04-05 14:17:25 +12:00
Ingo Schommer
b119b1eab8 MINOR temporarily disabled DocumentationViewerTest->testLocationExists(), it fails when not run through phhunit binary for some reason... 2011-02-01 20:41:45 +00:00
Ingo Schommer
855f5471e4 BUGFIX Disbled parts of testLocationExists(), absolute mystery... 2011-01-17 20:57:40 +00:00
Ingo Schommer
24ebc64945 BUGFIX Showing proper 404s 2011-01-17 06:00:16 +00:00
Ingo Schommer
089c844892 MINOR Making anchors more readable and predictable by using lowercase only 2011-01-15 21:47:43 +00:00
Will Rossiter
e571b5973f FEATURE: added parser for metadata inside documentation. MINOR: removed outdated code 2011-01-14 03:29:14 +00:00
Will Rossiter
768345a8b9 ENHANCEMENT: contrary to r115556, display a listing of files within an empty folder index rather than defaulting to the first file. Fixes #6347 2011-01-14 02:16:03 +00:00
Will Rossiter
2a7b7ee83d ENHANCEMENT: if a folder is missing an index.md file load the first file as a failback 2011-01-14 01:48:36 +00:00
Will Rossiter
fc8ab96c51 ENHANCEMENT: use urls in the format module/lang/version rather than version first. Tweaks to the parser to prevent infinite loops 2011-01-14 01:03:46 +00:00
Ingo Schommer
255f5de162 BUGFIX Improved DocumentationParser to avoid empty lines in pre tags, deal with normal markdown code blocks, and html encode lines within pre tags 2011-01-10 10:59:22 +00:00
Ingo Schommer
b7478b864d FEATURE <pre> formatting for markdown with custom brush support (:::php to <pre class="brush: php">) 2011-01-10 09:18:44 +00:00
Will Rossiter
842043a8e3 ENHANCEMENT: cleaned up logic around Link() and Path() attributes throughout. FEATURE: added search pagination and rough templates for the search results 2010-12-22 08:21:49 +00:00
Will Rossiter
fede2626fc MINOR: moved building indexes out to its own tasks. 2010-12-21 10:54:11 +00:00
Will Rossiter
3d90271b31 FEATURE: initial cut of Zend_Lucene_Search backend for documentation search. 2010-12-21 09:42:44 +00:00
Will Rossiter
9335c789af ENHANCEMENT: hide index pages from menus. BUGFIX: fixed incorrect name strings coming through on nested pages 2010-10-29 02:12:20 +00:00
Will Rossiter
8a02cee714 BUGFIX: only strip the last most extension off, rather than from the start. 2010-10-29 01:39:45 +00:00
Will Rossiter
8937d56547 APICHANGE: refactored names and structure of handleAction rerouting to a) be more clearer and b) to allow permalinks 2010-10-22 01:10:04 +00:00
Will Rossiter
354aa95e2b FEATURE: added ability to define a set of shortcodes or permalinks which translate to full paths 2010-10-22 01:07:49 +00:00
Will Rossiter
d2eb92233e APICHANGE: rather than passing the structure through the constructor, do so via setters which will allow us more flexibility 2010-10-21 20:27:23 +00:00
Will Rossiter
ac5ce3872e EHANCEMENT allow recursive gathering of files from a folder. Initial cut of implementing a XML feed of all the pages 2010-10-08 03:31:19 +00:00
Saophalkun Ponlu
6ba14bed75 BUGFIX: Resolve navigation sorting using natural sort 2010-09-05 02:29:07 +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
Ingo Schommer
04e7b89b66 MINOR Added new test folder 2010-09-03 03:39:36 +00:00
Ingo Schommer
7516d31ce0 ENHANCEMENT Started code block parser (still needs work) 2010-08-01 21:13:40 +00:00
Ingo Schommer
e1da17e9d9 FEATURE Rewrite image links
ENHANCEMENT Return string from parser (instead of HTMLText dependency)
2010-08-01 08:25:00 +00:00
Ingo Schommer
845e2e61b2 ENHANCEMENT Rewriting current version URL path to 'current/' 2010-08-01 07:03:52 +00:00
Ingo Schommer
a013923106 ENHANCEMENT Added setCurrentVersion() 2010-08-01 07:03:48 +00:00
Ingo Schommer
b96b2b4016 FEATURE Parsing of API links 2010-08-01 04:46:37 +00:00
Ingo Schommer
277bca7b11 FEATURE Added parsing support for relative links (relative to module base). Introduced DocumentationPage to encapsulate this information.
ENHANCEMENT Saving $ModuleName in viewer instead of getting it from Remaining[0]
MINOR Don't include version in breadcrumbs, doesn't make sense in this context (e.g. "2.4/en/cms", the "2.4" part is connecte to the cms module, hence an index of all versions regardless of module is not very useful)
2010-08-01 04:46:32 +00:00