From 73314cfcbef8ca659cf8aadcce75fcecb0c5f1c2 Mon Sep 17 00:00:00 2001 From: Sam Handler Date: Thu, 24 Sep 2015 16:44:08 -0700 Subject: [PATCH] Add 'Edit this page' link to website/docs footer --- website/docs/source/layouts/layout.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/docs/source/layouts/layout.erb b/website/docs/source/layouts/layout.erb index 4fedc3627..38a735de3 100644 --- a/website/docs/source/layouts/layout.erb +++ b/website/docs/source/layouts/layout.erb @@ -324,6 +324,8 @@
  • Documentation
  • About
  • Support
  • + <% github_link = 'https://github.com/mitchellh/vagrant/blob/master/' + current_page.source_file.match(/website.*/)[0] %> +
  • Edit this page
  • Download