Commit Graph

412 Commits

Author SHA1 Message Date
Maxime Rainville 71d7345a3b
Merge pull request #157 from creative-commoners/pulls/master/abandoned
Mark as abandoned
2023-03-17 10:29:18 +13:00
Guy Sartorelli 446bb12a88
Mark as abandoned 2023-03-17 10:26:53 +13:00
Guy Marriott 619d3e9dd7
Merge branch '2' 2019-08-01 14:23:29 +12:00
Guy Marriott de147fb1a2
Merge branch '2.0' into 2 2019-08-01 14:23:12 +12:00
Guy Marriott 5e8b45f200
Update Travis config 2019-08-01 14:22:53 +12:00
Mateusz Uzdowski 8d1523346e
jQuery 3 compatibility. 2019-08-01 14:22:53 +12:00
Guy Marriott fc7c658b00
jQuery 3 compatibility. (#153)
jQuery 3 compatibility.

Co-authored-by: Guy Marriott <guy@scopey.co.nz>
2019-08-01 14:03:16 +12:00
Guy Marriott a5f7e6f22d
Update Travis config 2019-08-01 14:01:07 +12:00
Mateusz Uzdowski f259e97e13 jQuery 3 compatibility. 2019-08-01 13:55:00 +12:00
Robbie Averill eba2d4536c Update branch alias for master to 3.x-dev 2019-04-29 16:57:06 +12:00
Robbie Averill 5f7a4f7e23 Merge branch '2' 2019-04-29 16:56:49 +12:00
Robbie Averill a539c38091 Remove obsolete branch alias 2019-04-29 16:56:22 +12:00
Robbie Averill 57857836e9 Merge branch '2.0' 2019-02-14 17:43:43 +07:00
Robbie Averill 6dd75a2884 Remove obsolete branch alias 2019-02-14 17:43:28 +07:00
Guy Marriott 171652b338
Merge pull request #151 from creative-commoners/pulls/2.0/extensible-edit-link
FIX getEditLink is now extensible and Lang route handling has a fallback
2019-02-14 20:56:02 +13:00
Robbie Averill e0c20ddf2b FIX getEditLink is now extensible and Lang route handling has a fallback
In some cases the Lang is not available in the route, this fixes that as well as
making the getEditLink() method extensible
2019-02-01 12:19:52 +03:00
Sam Minnee 03ec3d287e MINOR: Alias dev-master as 2.x 2018-06-08 16:14:53 +12:00
Ingo Schommer 8f7ebf42a0
Merge pull request #148 from sminnee/safe-urls
NEW: Ensure internal URLs are domain-relative
2018-06-08 13:26:29 +12:00
Sam Minnee f7377865d4 NEW: Ensure internal URLs are domain-relative
Domain relative URLs (i.e. those starting with “/“) are safer; less
likely to break webcrawlers. Other parts of SilverStripe output URLs
in this form by default.
2018-06-08 11:18:39 +12:00
Sam Minnée 691f5dddb8
FIX: Relaxed parsedown requirement for PHP 7 support (#138)
FIX: Modernise travis build matrix
 - SS 3.6 works with PHP 7.1
 - PHP 5.3 testing is no longer feasible
* FIX: Drop use of precise.

Precise is deprecated, we shouldn’t use it. Instead we should drop php
5.3 testing.
2018-06-08 11:16:16 +12:00
Sam Minnee e28613b1be FIX: Modernise travis build matrix
- SS 3.6 works with PHP 7.1
 - PHP 5.3 testing is no longer feasible
 - Deprecated use of precise no longer needed
2018-06-08 11:15:33 +12:00
Petar Simic e8ab218ffc FIX: Relax parsedown / parsedown-extra requirement, for PHP7 support
Dependency for parsedown increased to minor semver version ~1.1 . Reason: other modules that require parsedown as dependency need higher version of it.
2018-06-08 11:14:56 +12:00
Robbie Averill 2600e55047
Merge pull request #146 from creative-commoners/pulls/2.0/fix-image-float
FIX Remove image styles - revert to original
2018-01-29 13:44:30 +13:00
Sacha Judd 4b18922674 FIX Remove image float 2018-01-29 11:30:30 +13:00
Dylan Wagstaff fccde14751
Merge pull request #144 from creative-commoners/pulls/2.0/fix-canonical-redirects
FIX Ensure first processed stable version is treated as canonical
2017-11-13 14:08:23 +13:00
Robbie Averill d51ece7308 FIX Ensure first processed stable version is treated as canonical 2017-11-10 15:50:03 +13:00
Robbie Averill b8cfbc204e Merge pull request #142 from creative-commoners/pulls/2.0/alert-color
FIX Change alert warning colours
2017-09-07 17:04:18 +12:00
Sacha Judd eae8c0e571 FIX Change alert warning colours 2017-09-07 16:54:12 +12:00
Franco Springveldt 7d22660989 Merge pull request #137 from creative-commoners/pulls/2.0/psr2
Apply PSR-2 coding conventions
2017-09-07 15:38:53 +12:00
Robbie Averill 42f57bc67e Merge pull request #141 from creative-commoners/pulls/2.0/phase-two-accessibility
FIX Add missing web accessible colours and fix image alignment
2017-09-07 09:39:15 +12:00
Robbie Averill ff15115d5e Use precise distro in Travis (PHP 5.3 support) 2017-09-07 09:39:04 +12:00
Sacha Judd 1784471238 FIX Add missing web accessible colours and fix image alignment 2017-09-05 15:11:17 +12:00
Robbie Averill 83594bdf77 Merge pull request #140 from creative-commoners/pulls/2.0/code-blocks-accessibility
NEW Adjust docs colours to be web accessible
2017-08-30 13:57:52 +12:00
Sacha Judd 658c7fe95e NEW Adjust docs colours to be web accessible 2017-08-30 12:37:43 +12:00
Robbie Averill c1a418edfa Merge pull request #139 from creative-commoners/pulls/2.0/link-colour
NEW Change link and code text colours for readability
2017-08-28 11:37:44 +12:00
Robbie Averill fe8b9a37b5 Apply PSR-2 coding conventions 2017-08-28 11:35:02 +12:00
Sacha Judd 9155ca8c85 NEW Change link and code text colours for readability 2017-08-28 11:33:42 +12:00
Franco Springveldt a10cdd35f7 Merge pull request #136 from creative-commoners/pulls/2.0/canonical-url
NEW Add ability to handle canonical URLs
2017-08-14 16:33:49 +12:00
Robbie Averill 4aad4e728d NEW Add ability to handle canonical URLs 2017-08-08 15:41:27 +12:00
Robbie Averill 9521e6ab9d Merge pull request #135 from mateusz/fix-head
Fix docs not coming up for HEAD requests.
2017-07-07 10:33:06 +12:00
Mateusz Uzdowski e90ee42f05 Fix docs not coming up for HEAD requests. 2017-07-07 10:29:48 +12:00
Damian Mooyman 4b618c139c Merge pull request #134 from open-sausages/pulls/better-highlighting
Better syntax highlighting
2017-06-29 12:25:02 +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
Mateusz U f61751b19e Merge pull request #131 from silverstripe/yaml-metadata-block
Support parsing and removing a YAML metadata block in markdown.
2017-03-22 10:00:19 +13:00
Sean Harvey 484e57e404 Support parsing and removing a YAML metadata block in markdown. 2017-03-22 09:55:31 +13:00
Daniel Hensby d474be2841 Merge pull request #130 from dhensby/pulls/better-headers
FIX Allow multi-line headers
2017-02-27 10:29:31 +00:00
Daniel Hensby c00570ae55
FIX Allow multi-line headers 2017-02-24 15:45:24 +00:00
Damian Mooyman ded5432ec0 Merge pull request #128 from robbieaverill/bugfix/127-use-stable-version-in-all-page
Use the current version to filter pages in the "documentation index"
2016-12-12 13:54:31 +13: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 40d70a0b32 Merge pull request #126 from tractorcow/pulls/2.0/extra-fields
API Add VersionTitle and Archived fields to config
2016-12-05 10:22:45 +13:00