mirror of
https://github.com/danbulant/api_docs
synced 2026-05-20 04:38:37 +00:00
Update Rouge to Version 1.8
This commit is contained in:
parent
506095a1ed
commit
6062141cce
3 changed files with 6 additions and 6 deletions
4
Gemfile
4
Gemfile
|
|
@ -2,7 +2,7 @@
|
|||
# the following line to use "https"
|
||||
source 'http://rubygems.org'
|
||||
|
||||
gem "rouge", "1.7.2"
|
||||
gem "rouge", "~> 1.8.0"
|
||||
|
||||
gem "middleman", "~>3.3.0"
|
||||
|
||||
|
|
@ -27,4 +27,4 @@ end
|
|||
|
||||
gem "rake", "~> 10.4.0"
|
||||
|
||||
gem 'therubyracer', :platforms => :ruby
|
||||
gem 'therubyracer', :platforms => :ruby
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ GEM
|
|||
ffi (>= 0.5.0)
|
||||
redcarpet (3.2.2)
|
||||
ref (1.0.5)
|
||||
rouge (1.7.2)
|
||||
rouge (1.8.0)
|
||||
ruby18_source_location (0.2)
|
||||
sass (3.4.9)
|
||||
sprockets (2.12.3)
|
||||
|
|
@ -142,7 +142,7 @@ DEPENDENCIES
|
|||
middleman-syntax
|
||||
rake (~> 10.4.0)
|
||||
redcarpet (~> 3.2.1)
|
||||
rouge (= 1.7.2)
|
||||
rouge (~> 1.8.0)
|
||||
ruby18_source_location
|
||||
therubyracer
|
||||
wdm (~> 0.1.0)
|
||||
|
|
|
|||
|
|
@ -26,9 +26,9 @@ under the License.
|
|||
$(".lang-selector a").removeClass('active');
|
||||
$(".lang-selector a[data-language-name='" + language + "']").addClass('active');
|
||||
for (var i=0; i < languages.length; i++) {
|
||||
$(".highlight." + languages[i]).parent().hide();
|
||||
$(".highlight." + languages[i]).hide();
|
||||
}
|
||||
$(".highlight." + language).parent().show();
|
||||
$(".highlight." + language).show();
|
||||
|
||||
global.toc.calculateHeights();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue