Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Gemfile5
-rw-r--r--Gemfile.lock10
-rw-r--r--Rules2
3 files changed, 12 insertions, 5 deletions
diff --git a/Gemfile b/Gemfile
index 8170df86..a3a9fbce 100644
--- a/Gemfile
+++ b/Gemfile
@@ -5,12 +5,15 @@ gem 'adsf', '~> 1.4'
gem 'adsf-live', '~> 1.4'
gem 'sass', '~> 3.6'
gem 'kramdown'
-gem 'rouge', '~> 2.2'
+gem 'rouge', '~> 3.2'
gem 'rake', '~> 12.3'
group :nanoc do
gem 'guard-nanoc', '~> 2.1'
+ # custom kramdown dialect
+ gem 'gitlab_kramdown', '~> 0.4'
+
# nanoc checks
gem 'nokogiri', '~> 1.7.0'
diff --git a/Gemfile.lock b/Gemfile.lock
index 2be98543..be06cb7b 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -28,6 +28,9 @@ GEM
eventmachine (1.2.7)
ffi (1.9.25)
formatador (0.2.5)
+ gitlab_kramdown (0.4.0)
+ kramdown (~> 1.16)
+ rouge (~> 3.0)
guard (2.14.2)
formatador (>= 0.2.4)
listen (>= 2.7, < 4.0)
@@ -47,7 +50,7 @@ GEM
highline (2.0.0)
http_parser.rb (0.6.0)
json_schema (0.19.1)
- kramdown (1.14.0)
+ kramdown (1.16.2)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
@@ -86,7 +89,7 @@ GEM
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
ref (2.0.0)
- rouge (2.2.1)
+ rouge (3.3.0)
ruby_dep (1.5.0)
sass (3.6.0)
sass-listen (~> 4.0.0)
@@ -108,13 +111,14 @@ DEPENDENCIES
adsf (~> 1.4)
adsf-live (~> 1.4)
builder (~> 3.2)
+ gitlab_kramdown (~> 0.4)
guard-nanoc (~> 2.1)
highline (~> 2.0)
kramdown
nanoc (~> 4.10)
nokogiri (~> 1.7.0)
rake (~> 12.3)
- rouge (~> 2.2)
+ rouge (~> 3.2)
sass (~> 3.6)
scss_lint (~> 0.57)
diff --git a/Rules b/Rules
index d64c9d89..3cc300b0 100644
--- a/Rules
+++ b/Rules
@@ -65,7 +65,7 @@ compile '/**/*.md' do
# Use Kramdown with Rouge.
# https://kramdown.gettalong.org/options.html
filter :kramdown,
- input: 'GFM',
+ input: 'GitlabKramdown',
syntax_highlighter: 'rouge',
hard_wrap: false,
auto_ids: true,