From 21ce8b3298bd3b2c8afa7fd747a958e70b55b708 Mon Sep 17 00:00:00 2001 From: Maxime Lapointe Date: Tue, 14 May 2019 11:52:36 -0400 Subject: [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 --- lib/rdoc/generator/template/darkfish/css/rdoc.css | 10 +++++----- 1 file 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; -- cgit v1.2.3