Skip to content

Instantly share code, notes, and snippets.

@strzibny
Created October 24, 2013 13:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save strzibny/7136890 to your computer and use it in GitHub Desktop.
Save strzibny/7136890 to your computer and use it in GitHub Desktop.
Patch for zzak's rdoc-4.0 branch of sdoc
From 3ee81e3239f4408c38f57b35344dbd424e7eab1d Mon Sep 17 00:00:00 2001
From: Josef Stribny <jstribny@redhat.com>
Date: Thu, 24 Oct 2013 14:48:46 +0200
Subject: [PATCH] Fix: Rename searchindex.rhtml file
---
lib/rdoc/generator/template/sdoc/search_index.rhtml | 8 ++++++++
lib/rdoc/generator/template/sdoc/searchindex.rhtml | 8 --------
2 files changed, 8 insertions(+), 8 deletions(-)
create mode 100644 lib/rdoc/generator/template/sdoc/search_index.rhtml
delete mode 100644 lib/rdoc/generator/template/sdoc/searchindex.rhtml
diff --git a/lib/rdoc/generator/template/sdoc/search_index.rhtml b/lib/rdoc/generator/template/sdoc/search_index.rhtml
new file mode 100644
index 0000000..20f2dad
--- /dev/null
+++ b/lib/rdoc/generator/template/sdoc/search_index.rhtml
@@ -0,0 +1,8 @@
+<html>
+ <head>File index</head>
+ <body>
+ <% @files.each do |file| %>
+ <a href="../<%= file.path %>"><%= file.relative_name %></a>
+ <% end %>
+ </body>
+</html>
\ No newline at end of file
diff --git a/lib/rdoc/generator/template/sdoc/searchindex.rhtml b/lib/rdoc/generator/template/sdoc/searchindex.rhtml
deleted file mode 100644
index 20f2dad..0000000
--- a/lib/rdoc/generator/template/sdoc/searchindex.rhtml
+++ /dev/null
@@ -1,8 +0,0 @@
-<html>
- <head>File index</head>
- <body>
- <% @files.each do |file| %>
- <a href="../<%= file.path %>"><%= file.relative_name %></a>
- <% end %>
- </body>
-</html>
\ No newline at end of file
--
1.8.3.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment