Commit Graph

355 Commits

Author SHA1 Message Date
Daniel Hensby
d31527ce6d Merge pull request #83 from helpfulrobot/add-standard-travis-config
Added standard Travis config
2015-11-21 12:23:35 +00:00
Daniel Hensby
b607c0e843 Merge pull request #82 from helpfulrobot/add-standard-editor-config
Added standard editor config
2015-11-21 12:22:56 +00:00
Daniel Hensby
93632731b2 Merge pull request #81 from helpfulrobot/add-standard-license
Added standard license
2015-11-21 12:22:38 +00:00
Daniel Hensby
f641f516d3 Merge pull request #80 from helpfulrobot/add-standard-git-attributes
Added standard git attributes
2015-11-21 12:22:17 +00:00
Daniel Hensby
2dd381a198 Merge pull request #79 from helpfulrobot/add-standard-code-of-conduct
Added standard code of conduct
2015-11-21 12:21:56 +00:00
helpfulrobot
eaca690d79 Added standard code of conduct 2015-11-21 20:19:12 +13:00
helpfulrobot
8395c9bf3f Added standard git attributes 2015-11-21 20:09:58 +13:00
helpfulrobot
97d8b62201 Added standard license 2015-11-21 20:00:17 +13:00
helpfulrobot
dab785cfc3 Added standard editor config 2015-11-21 19:51:34 +13:00
helpfulrobot
16bf46ad1e Added standard Travis config 2015-11-21 19:43:06 +13:00
helpfulrobot
7639f28244 Added standard Scrutinizer config 2015-11-21 19:34:48 +13:00
helpfulrobot
ced8128190 Converted to PSR-2 2015-11-21 19:25:41 +13:00
Cam Findlay
2f0cbfe4f6 Merge pull request #77 from SpiritLevel/patch-1
FIX Home for each version correctly returns to the index of the version.
2015-11-17 16:04:08 +13:00
Cam Findlay
b5e25d796d Merge pull request #76 from unclecheese/feature/ga-include
MINOR: Move all GA code into its own include
2015-11-17 16:00:46 +13:00
Damian Mooyman
39e3e6f18a Merge pull request #71 from silverstripe/camfindlay-patch-1
Add a way to check if a version is the current stable
2015-11-17 15:49:49 +13:00
Damian Mooyman
cccde5df5a Merge pull request #78 from silverstripe/camfindlay-patch-3
Test more php versions and 3.2 core
2015-11-17 14:58:55 +13:00
Cam Findlay
977a03dcc2 Test more php versions and 3.2 core
We haven't addressed this module for 3.2 compat yet but added more versions of php for 3.1 core.
2015-11-17 14:49:53 +13:00
David Alexander
adc905c490 Better solution for doc.silverstripe.org/issues/79
The better solution I proposed for https://github.com/silverstripe/doc.silverstripe.org/issues/79 seems to have been missed in the confusion of my PR titles.
2015-11-17 14:41:00 +13:00
Uncle Cheese
0db943b012 MINOR: Move all GA code into its own include, making it easy to override in a theme 2015-11-17 12:14:11 +13:00
Cam Findlay
720b35d831 Add a way to check if a version is the current stable
This allows things like styling or highlighting of the currentl stable version when used in a project to make it more obvious that people should be using that documentation.
2015-10-13 10:30:27 +13:00
Daniel Hensby
310deb69ad Move to new travis containerised infrastructure 2015-07-20 15:58:05 +01:00
Cam Findlay
f7edde83c4 Merge pull request #67 from dhensby/pulls/fix-header-hover
Fixing issue where anchor idicator does not show on hover
2015-07-19 13:39:09 +12:00
Daniel Hensby
cff5ecc1ed Fixing issue where anchor idicator does not show on hover 2015-06-19 14:53:44 +01:00
Ingo Schommer
413d8e396a Merge pull request #66 from scott1702/message-colours
Soften message background colours
2015-06-17 12:25:36 +12:00
scott1702
c2ad1856a6 Soften message background colours 2015-06-17 10:59:47 +12:00
Ingo Schommer
1380deee3c Merge pull request #65 from jonom/fix-hint-styling
FIX hint styling
2015-06-16 13:20:10 +12:00
Jonathon Menz
e29924a169 FIX hint styling
All info boxes in docs that use the 'hint' css class as recommended are currently missing a coloured background.
2015-06-15 10:04:32 -07:00
Cam Findlay
3a239fcdfa Merge pull request #64 from tractorcow/pulls/canonical-url
API Use canonical URL for all repositories
2015-05-01 11:18:36 +12: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
Will Rossiter
7b1a37f430 Use symlink path name (Fixes #58) 2015-01-07 22:39:04 +13:00
Will Rossiter
653a2c87f4 Merge pull request #54 from camfindlay/curentversionsearch
Pass the current version to the search
2015-01-07 14:11:40 +13:00
Will Rossiter
9a2deea414 Merge pull request #55 from camfindlay/branchalias
ENHANCEMENT optional branch property to allow version aliases.
2015-01-07 14:10:50 +13:00
Will Rossiter
c21ffa75c5 Update README.md 2015-01-07 14:09:13 +13: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
Cam Findlay
410312c641 Pass the current version to the search
From a UX POV, when I'm searching docs I'm likely to be working on a site of a specific version - results of docs from older or newer versions are likely to be less relevant to me. If I want to search wider after my initial search I can use the check boxes on the advanced search.
2014-12-17 11:18:00 +13:00
Will Rossiter
d92fb96e0e Merge branch 'fixsearch'
* fixsearch:
  Resolve test failures
  Bug with Search Entities - removing from form. Removed calls to page entity, there is none when in search controller action

Conflicts:
	javascript/DocumentationViewer.js
2014-12-16 23:20:06 +13:00
Will Rossiter
2257e0fb31 FIX entities not describing state should still show
If an entity does not provide a lang / version, keep showing it across menu. Resolves #53
2014-12-16 23:18:54 +13:00
Will Rossiter
7b9dbf75bb Remove unfinished search autocomplete 2014-12-16 23:17:19 +13:00
Will Rossiter
f1bd774437 Merge branch 'manifest'
* manifest: (50 commits)
  TEST updated as clean name now respects the writing style conventions.
  FIX Showing the stable and outdated version number correctly.
  FIX: margin around edit too small and causes UI problems with nav.
  Upper case first letter
  Fixing text highlight css
  Reduce exception.
  Refactored EditLink
  Restore support for multiple versions in the masthead
  These changes make a number of improvements, mostly typographical, to improve readability and to render properly on small devices.
  Add support for exclude in children list
  Fix style of submenu
  Restore tests
  FIX: permission check broken
  Add alert as a valid alias as warning.
  Support one more layer in the template.
  Encode &amps; in api links.
  Minor style tweaks
  Upgrade parsedown extra to support markdown within code blocks
  FIX: API links should be urlencoded() to prevent special characters causing issues
  Correct title generation for index files in entity root
  ...

Conflicts:
	code/tasks/RebuildLuceneDocsIndex.php
2014-12-16 23:14:19 +13:00
Will Rossiter
473b830867 Resolve test failures 2014-12-16 23:07:31 +13:00
Cam Findlay
3753c331d4 Bug with Search Entities - removing from form. Removed calls to page entity, there is none when in search controller action 2014-12-16 14:12:40 +13:00
Cam Findlay
ddc9b5243f TEST updated as clean name now respects the writing style conventions. 2014-12-10 16:18:26 +13:00
Cam Findlay
272b7ae660 FIX Showing the stable and outdated version number correctly. 2014-12-10 14:35:05 +13:00
Cam Findlay
def89a2894 FIX: margin around edit too small and causes UI problems with nav. 2014-12-09 09:31:00 +13:00
Cam Findlay
f74f35234d Upper case first letter 2014-12-08 11:04:27 +13:00
Will Rossiter
7f3e9cbc82 Merge pull request #52 from dhensby/master
Adding .editorconfig
2014-12-05 12:49:44 +13:00
Daniel Hensby
43df51b8e3 Adding .editorconfig 2014-12-04 15:38:45 +00:00
3Dgoo
b239e87fe2 Fixing text highlight css
By setting anything to ::selection in the css it resets all selection styling. Meaning highlighted text does not show any indication of highlighting. 

I have added in the selection color and background so text appears highlighted when selected.
2014-12-03 09:35:01 +10:30
Will Rossiter
bda0b00b18 Reduce exception. 2014-11-18 19:12:19 +13:00
Cam Findlay
1e2737bc5a Refactored EditLink 2014-11-15 11:46:54 +13:00