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:
authorVasilii Iakliushin <viakliushin@gitlab.com>2020-11-06 18:00:19 +0300
committerVasilii Iakliushin <viakliushin@gitlab.com>2020-11-16 23:23:39 +0300
commit2948b293efd2929944eaabfefcdd0f8c4465a06c (patch)
tree5b1bb5a27a621b281d654c0f5e812cc069d787f5 /spec/gitlab
parent43e56b085a8176c82c39148ba8a2c003742e4b55 (diff)
Do not render inactive navigation sidebar sections
Contributes to https://gitlab.com/gitlab-org/gitlab-docs/-/issues/879 It saves up to 50% of the compiled files size
Diffstat (limited to 'spec/gitlab')
-rw-r--r--spec/gitlab/navigation_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/gitlab/navigation_spec.rb b/spec/gitlab/navigation_spec.rb
index a2d2bda7..659ca3b4 100644
--- a/spec/gitlab/navigation_spec.rb
+++ b/spec/gitlab/navigation_spec.rb
@@ -1,4 +1,5 @@
require 'spec_helper'
+require 'nanoc'
require 'gitlab/navigation'
require 'gitlab/navigation/section'