BigW Consortium Gitlab

Commit 54ff9d90 by Marin Jankovski

Scan the text and add the help path.

parent fd476cf6
......@@ -38,4 +38,7 @@
.title Documentation
= preserve do
= markdown File.read(Rails.root.join("doc", "README.md"))
- readme_text = File.read(Rails.root.join("doc", "README.md"))
- text = readme_text.dup
- readme_text.scan(/\]\(([^(]+)\)/) { |match| text.gsub!(match.first, "help/#{match.first}") }
= markdown text
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment