Skip to content

Commit adb5c5d

Browse files
author
Zachary Scott
committed
Move Darkfish css files under ./css directory
1 parent d23cc03 commit adb5c5d

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

Manifest.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ lib/rdoc/generator/template/darkfish/_sidebar_search.rhtml
5555
lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml
5656
lib/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml
5757
lib/rdoc/generator/template/darkfish/class.rhtml
58-
lib/rdoc/generator/template/darkfish/fonts.css
58+
lib/rdoc/generator/template/darkfish/css/fonts.css
5959
lib/rdoc/generator/template/darkfish/fonts/Lato-Light.ttf
6060
lib/rdoc/generator/template/darkfish/fonts/Lato-LightItalic.ttf
6161
lib/rdoc/generator/template/darkfish/fonts/Lato-Regular.ttf
@@ -92,7 +92,7 @@ lib/rdoc/generator/template/darkfish/js/darkfish.js
9292
lib/rdoc/generator/template/darkfish/js/jquery.js
9393
lib/rdoc/generator/template/darkfish/js/search.js
9494
lib/rdoc/generator/template/darkfish/page.rhtml
95-
lib/rdoc/generator/template/darkfish/rdoc.css
95+
lib/rdoc/generator/template/darkfish/css/rdoc.css
9696
lib/rdoc/generator/template/darkfish/servlet_not_found.rhtml
9797
lib/rdoc/generator/template/darkfish/servlet_root.rhtml
9898
lib/rdoc/generator/template/darkfish/table_of_contents.rhtml

lib/rdoc/generator/darkfish.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ class RDoc::Generator::Darkfish
6262

6363
BUILTIN_STYLE_ITEMS = # :nodoc:
6464
%w[
65-
fonts.css
65+
css/fonts.css
6666
fonts/Lato-Light.ttf
6767
fonts/Lato-LightItalic.ttf
6868
fonts/Lato-Regular.ttf
6969
fonts/Lato-RegularItalic.ttf
7070
fonts/SourceCodePro-Bold.ttf
7171
fonts/SourceCodePro-Regular.ttf
72-
rdoc.css
72+
css/rdoc.css
7373
]
7474

7575
##

lib/rdoc/generator/template/darkfish/_head.rhtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
<script src="<%= asset_rel_prefix %>/js/jquery.js"></script>
1010
<script src="<%= asset_rel_prefix %>/js/darkfish.js"></script>
1111

12-
<link href="<%= asset_rel_prefix %>/fonts.css" rel="stylesheet">
13-
<link href="<%= asset_rel_prefix %>/rdoc.css" rel="stylesheet">
12+
<link href="<%= asset_rel_prefix %>/css/fonts.css" rel="stylesheet">
13+
<link href="<%= asset_rel_prefix %>/css/rdoc.css" rel="stylesheet">
1414
<% if @options.template_stylesheets.flatten.any? then %>
1515
<% @options.template_stylesheets.flatten.each do |stylesheet| %>
1616
<link href="<%= asset_rel_prefix %>/<%= File.basename stylesheet %>" rel="stylesheet">

test/test_rdoc_generator_darkfish.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ def test_generate
7676
assert_file 'table_of_contents.html'
7777
assert_file 'js/search_index.js'
7878

79-
assert_hard_link 'rdoc.css'
80-
assert_hard_link 'fonts.css'
79+
assert_hard_link 'css/rdoc.css'
80+
assert_hard_link 'css/fonts.css'
8181

8282
assert_hard_link 'fonts/SourceCodePro-Bold.ttf'
8383
assert_hard_link 'fonts/SourceCodePro-Regular.ttf'

0 commit comments

Comments
 (0)