summaryrefslogtreecommitdiff
path: root/lib/rdoc/generator
diff options
context:
space:
mode:
authorMaxime Lapointe <hunter_spawn@hotmail.com>2019-05-14 11:52:36 -0400
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-07-26 17:32:46 +0800
commit21ce8b3298bd3b2c8afa7fd747a958e70b55b708 (patch)
tree4cef20c9be03f3e3904a68573479ffb39b7580f6 /lib/rdoc/generator
parent8bb48923761e0e3689ea61fec05b2c36faf9d899 (diff)
downloadruby-21ce8b3298bd3b2c8afa7fd747a958e70b55b708.tar.gz
[ruby/rdoc] Fix image links in rdoc.css
Every image in the rdoc.css that use url has the wrong one. They end up pointing to `css/images/zoom.png` instead of `images/zoom.png`. Just open this page https://ruby.github.io/rdoc/RDoc/CodeObject.html on chrome and you can see in the console the spam of the failed GET queries. This fixes it. https://github.com/ruby/rdoc/commit/daf36f9894
Diffstat (limited to 'lib/rdoc/generator')
-rw-r--r--lib/rdoc/generator/template/darkfish/css/rdoc.css10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/rdoc/generator/template/darkfish/css/rdoc.css b/lib/rdoc/generator/template/darkfish/css/rdoc.css
index 43588e6f1a..47ecae768c 100644
--- a/lib/rdoc/generator/template/darkfish/css/rdoc.css
+++ b/lib/rdoc/generator/template/darkfish/css/rdoc.css
@@ -94,7 +94,7 @@ pre {
.missing-docs {
font-size: 120%;
- background: white url(images/wrench_orange.png) no-repeat 4px center;
+ background: white url(../images/wrench_orange.png) no-repeat 4px center;
color: #ccc;
line-height: 2em;
border: 1px solid #d00;
@@ -138,11 +138,11 @@ pre {
.table-of-contents li .toc-toggle {
width: 16px;
height: 16px;
- background: url(images/add.png) no-repeat;
+ background: url(../images/add.png) no-repeat;
}
.table-of-contents li .toc-toggle.open {
- background: url(images/delete.png) no-repeat;
+ background: url(../images/delete.png) no-repeat;
}
/* @end */
@@ -270,7 +270,7 @@ dl.label-list dt {
}
.calls-super {
- background: url(images/arrow_up.png) no-repeat right center;
+ background: url(../images/arrow_up.png) no-repeat right center;
}
/* @end */
@@ -487,7 +487,7 @@ main .method-click-advice {
visibility: hidden;
padding-right: 20px;
line-height: 20px;
- background: url(images/zoom.png) no-repeat right top;
+ background: url(../images/zoom.png) no-repeat right top;
}
main .method-heading:hover .method-click-advice {
visibility: visible;