Commit Graph

373 Commits

Author SHA1 Message Date
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
Garion Herman
1ab48be9ee Added support for variable line endings (fixes parsing of documents with Windows line endings). 2016-06-29 15:48:27 +12:00
Matt Peel
fd9a7da68b Merge pull request #111 from tractorcow/pulls/make-missingdir-warning
ENHANCEMENT A missing sources dir will simply disable that repo with a warning
2016-06-24 13:39:57 +12:00
Damian Mooyman
b2ff0f7708
ENHANCEMENT A missing sources dir will simply disable that repo with a warning, rather than fatally erroring 2016-06-21 18:00:30 +12:00
Richard Rudy
50d0bc3774 UPDATE Add Permission Provider
Added VIEW_DEVDOCS permsion code. This shoudl allow room later if module is expanded for User docs "VIEW_USERDOCS"
2016-03-18 14:00:56 -04:00
Daniel Hensby
05741b1dcb Merge pull request #106 from webbuilders-group/anchor-links-fix
BUGFIX: Fixed incorrectly formed page specific anchor links (fixes #104)
2016-03-11 17:35:26 +00:00
UndefinedOffset
91a0767d53 BUGFIX: Fixed incorrectly formed page specific anchor links (fixes #104) 2016-03-11 13:15:37 -04:00
Daniel Hensby
5d28a93e9f Merge pull request #107 from webbuilders-group/image-path-rewrite-fix
BUGFIX: Fixed case where image urls could end up having a backslash on windows
2016-03-11 17:12:39 +00:00
UndefinedOffset
10ef060624 BUGFIX: Fixed case where image paths could end up having a backslash on windows 2016-03-11 10:39:26 -04:00
Cam Findlay
405af6b377 Merge pull request #99 from webbuilders-group/duplicate-home-fix
BUGFIX: Fixed duplicate Home links appearing
2016-03-01 10:35:56 +13:00
Daniel Hensby
941377a180 Merge pull request #103 from webbuilders-group/no-index-warn-fix
BUGFIX: Fixed file_get_contents warning when viewing a folder that has no index.md
2016-02-27 10:16:54 +00: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
Daniel Hensby
8af903915a Merge pull request #101 from webbuilders-group/image-paths-fix
BUGFIX: Fixed issue generating image paths on windows
2016-02-24 23:58:31 +00:00
UndefinedOffset
ff78276f93 BUGFIX: Fixed issue generating image paths introduced in 1556c77d27 2016-02-24 18:17:39 -04:00
Daniel Hensby
4c243efce6 Merge pull request #102 from webbuilders-group/next-prev-fix
BUGFIX: Fixed issue next/previous page links missing the documentation base link
2016-02-24 22:09:28 +00:00
UndefinedOffset
581c7cb53a BUGFIX: Fixed issue next/previous page links missing the documentation base link 2016-02-24 17:56:14 -04:00
Daniel Hensby
35deb55613 Merge pull request #100 from webbuilders-group/all-pages-link-fix
BUGFIX: Links in the all pages view missing the documentation base link
2016-02-24 18:27:36 +00:00
UndefinedOffset
6682975a09 BUGFIX: Links in the all pages view missing the documentation base link 2016-02-24 11:41:37 -04:00