aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2016-07-04 08:05:16 +0200
committerGitHub <noreply@github.com>2016-07-04 08:05:16 +0200
commit9bdf08c5a57d0411db866124eca4deba5097c30a (patch)
treedd5f554a6cba17d61ec0a2346f309e148cb5f470 /guides/source
parent08a907461341486e371774dd69c43852657c0f4f (diff)
parent9a53b0f44a67905e6d0b45b264ebcccf88485dc5 (diff)
downloadrails-9bdf08c5a57d0411db866124eca4deba5097c30a.tar.gz
rails-9bdf08c5a57d0411db866124eca4deba5097c30a.tar.bz2
rails-9bdf08c5a57d0411db866124eca4deba5097c30a.zip
Merge pull request #25663 from vipulnsward/updated-syntax-highlighter
Update Syntax Highlighter to version 4 [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/layout.html.erb10
1 files changed, 4 insertions, 6 deletions
diff --git a/guides/source/layout.html.erb b/guides/source/layout.html.erb
index 9abb863da6..943fd3fd7f 100644
--- a/guides/source/layout.html.erb
+++ b/guides/source/layout.html.erb
@@ -127,13 +127,11 @@
<script type="text/javascript" src="javascripts/jquery.min.js"></script>
<script type="text/javascript" src="javascripts/responsive-tables.js"></script>
<script type="text/javascript" src="javascripts/guides.js"></script>
- <script type="text/javascript" src="javascripts/syntaxhighlighter/shCore.js"></script>
- <script type="text/javascript" src="javascripts/syntaxhighlighter/shBrushRuby.js"></script>
- <script type="text/javascript" src="javascripts/syntaxhighlighter/shBrushXml.js"></script>
- <script type="text/javascript" src="javascripts/syntaxhighlighter/shBrushSql.js"></script>
- <script type="text/javascript" src="javascripts/syntaxhighlighter/shBrushPlain.js"></script>
+ <script type="text/javascript" src="javascripts/syntaxhighlighter.js"></script>
<script type="text/javascript">
- SyntaxHighlighter.all();
+ syntaxhighlighterConfig = {
+ autoLinks: false,
+ };
$(guidesIndex.bind);
</script>
</body>