From 1688fb0b0eda5eff285afa2cf3fe5d13d3f58f6e Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Mon, 17 Dec 2018 16:44:54 -0500 Subject: [PATCH] Update Ruby documentation (2.5.3) --- assets/stylesheets/pages/_rdoc.scss | 2 -- lib/docs/scrapers/rdoc/ruby.rb | 23 ++++++++--------------- 2 files changed, 8 insertions(+), 17 deletions(-) diff --git a/assets/stylesheets/pages/_rdoc.scss b/assets/stylesheets/pages/_rdoc.scss index 2b4fc9d5..6622e68e 100644 --- a/assets/stylesheets/pages/_rdoc.scss +++ b/assets/stylesheets/pages/_rdoc.scss @@ -35,8 +35,6 @@ .method-source-code { display: none; - - > pre { margin: 0; } } // Rails guides diff --git a/lib/docs/scrapers/rdoc/ruby.rb b/lib/docs/scrapers/rdoc/ruby.rb index 0335de60..dd296765 100644 --- a/lib/docs/scrapers/rdoc/ruby.rb +++ b/lib/docs/scrapers/rdoc/ruby.rb @@ -1,16 +1,9 @@ module Docs class Ruby < Rdoc - # Generated with: - # ./configure && make html - # or: - # rdoc \ - # --root . \ - # --page-dir doc \ - # --encoding=UTF-8 \ - # --visibility=public \ - # --format=darkfish \ - # --no-line-numbers \ - # --op html . + # Instructions: + # 1. Download Ruby's source code + # 2. Run "./configure && make html" (in the Ruby directory) + # 3. Copy the ".ext/html" directory to "docs/ruby~[version]" include FixInternalUrlsBehavior @@ -77,19 +70,19 @@ module Docs HTML version '2.5' do - self.release = '2.5.0' + self.release = '2.5.3' end version '2.4' do - self.release = '2.4.3' + self.release = '2.4.5' end version '2.3' do - self.release = '2.3.6' + self.release = '2.3.8' end version '2.2' do - self.release = '2.2.9' + self.release = '2.2.10' end end end