We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a942fba commit aba638cCopy full SHA for aba638c
lib/contents.rb
@@ -23,7 +23,7 @@ def content
23
h1 "Contents"
24
docs.each do |path|
25
title = path.split('/').last.split('_').map{|s|s.capitalize}.join(' ')
26
- path = path.gsub(/^#{case_dir}\//, '')
+ path = path.gsub(/^#{case_dir}\//, "/#{@case_name}/")
27
li { a(title, :href => path) }
28
end
29
0 commit comments