From 85802d5e7ac036719fd21b5714a73bc0ab70afe6 Mon Sep 17 00:00:00 2001 From: David Alexander Date: Thu, 21 Jul 2016 19:42:32 +1200 Subject: [PATCH] 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. --- code/controllers/DocumentationViewer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controllers/DocumentationViewer.php b/code/controllers/DocumentationViewer.php index 1303b88..695b761 100755 --- a/code/controllers/DocumentationViewer.php +++ b/code/controllers/DocumentationViewer.php @@ -102,7 +102,7 @@ class DocumentationViewer extends Controller Requirements::customScript('try{Typekit.load();}catch(e){}'); Requirements::javascript(THIRDPARTY_DIR .'/jquery/jquery.js'); - Requirements::javascript('https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js'); + Requirements::javascript('https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js'); Requirements::javascript(DOCSVIEWER_DIR .'/javascript/DocumentationViewer.js'); Requirements::combine_files('docs.css', array(