Commit 54ff9d90 authored by Marin Jankovski's avatar Marin Jankovski
Browse files

Scan the text and add the help path.

parent f2ab29cf842a
......@@ -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
Supports Markdown
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