Commit Graph

390 Commits

Author SHA1 Message Date
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
Robbie Averill 909cfd695f Fix some CBF linting issues. Improved a couple of doc blocks. 2016-12-05 08:53:53 +13:00
Damian Mooyman a9130a33db
Remove old CORE_RELEASE versions 2016-12-02 15:57:47 +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
Daniel Hensby 9d7a1f6210
Merge pull request #109 from zenmonkey/master 2016-11-07 13:31:41 +00:00
Jared Lee 55867c7845 Hotfix/remove search hamburger (#125)
* Removed hamburger and inserted close button in sidebar

* Replace sidebar mobile slide out with fade in

* Updated mobile menu button to translate into different languages
2016-11-04 16:51:02 +13:00
Cam Findlay b8dea84832 Merge pull request #123 from silverstripe/feature/improved-search-ux
Updated search checkboxes to horizontal format
2016-10-28 10:07:02 +13:00
Jared Lee f06a91b636 Updated search checkboxes to horizontal format 2016-10-21 17:10:38 +13:00
Cam Findlay 4bd9f267bd Feature/responsive scaling (#122)
* Added viewport meta tag for mobile views and Added comments for hamburger styling

* Cleaned styling of hamburger
2016-10-21 13:56:44 +13:00
Cam Findlay e38b740d88 Create sidebar hamburger menu for mobile (#121)
* Create sidebar hamburger menu for mobile

* Improve sidebar UX and mobile menu

* Fixed sidebar UX bug where blue text breadcrumb didn't appear and fixed hover/focus styling

* Improved UX of hamburger by applying toggle animations
2016-10-21 10:49:50 +13:00
Petar Simic 8ae26f1271 Created Croatian language files (#114)
* Create hr.yml

Translations of language variables to Croatian language.

* Update hr.yml

* Create hr_HR.yml

Translations of language variables to Croatian language.
2016-08-12 12:33:38 +01:00
Daniel Hensby 3d0bc397b3 Merge pull request #118 from hdpero/patch-4
Update layout.css
2016-08-12 12:30:07 +01:00
Daniel Hensby 650cd5c81f Merge pull request #119 from SpiritLevel/master
FIX horizontal alignment shifts when vertical scroll bar appears
2016-08-11 15:31:40 +01:00
David Alexander 594b92063a FIX horizontal alignment shifts when vertical scroll bar appears
Common problem. 

Quite visible if (i) a page's content fits within the browser window's height when the table of contents dropdown is closed but (ii) the content no longer fits vertically when the table of contents dropdown is opened. When this happens, a vertical scroll bar appears in the browser and the page's horizontal alignment shifts by the scroll bar width.  

@frankmullenger I also noticed this in swipestripe docs :)
2016-08-10 11:31:12 +12:00
Will Rossiter 5d74d48522 Merge pull request #117 from hdpero/patch-3
Update normalize to latest version v4.2.0
2016-08-06 09:23:51 +12:00
Will Rossiter 86f7c6877a Merge pull request #116 from hdpero/patch-2
Update typography.css
2016-08-06 09:23:17 +12:00
Petar Simic a2712ee324 Update layout.css
Update of CSS to current standards.
2016-08-05 22:02:07 +02:00
Petar Simic d75b3355ba Update normalize to latest version v4.2.0 2016-08-05 21:56:42 +02:00
Petar Simic bd56ae9a2d Update typography.css
Update to current CSS & browser standards.
2016-08-05 21:54:37 +02:00
Daniel Hensby ff5b667022 Merge pull request #113 from SpiritLevel/patch-1
Updated invalid url for syntax highligter
2016-07-21 12:19:21 +01:00
David Alexander 85802d5e7a Updated invalid url for syntax highligter
See https://code.google.com/archive/p/google-code-prettify and https://github.com/google/code-prettify

This affects doc.silverstripe.org so I'll submit a PR there too.
2016-07-21 19:42:32 +12:00
Will Rossiter d495a68681 Merge pull request #112 from Cheddam/fix/support-variable-line-endings
Added support for variable line endings.
2016-06-29 16:49:07 +12:00