Skip to content

Commit 7ca0356

Browse files
committed
Test
1 parent 112297d commit 7ca0356

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/ruby-core.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,13 @@ jobs:
5252
path: ruby/rdoc
5353
- name: Build RDoc locally
5454
run: |
55+
rm -r ../ruby/.bundle/gems/rdoc-*
5556
bundle install
5657
bundle exec rake build
58+
mv pkg/rdoc-*.gem ../ruby/gems
5759
working-directory: ruby/rdoc
5860
- name: Generate Documentation with RDoc
59-
run: make html V=1 RDOC="$(XRUBY) -I${../rdoc/lib} \"$(tooldir)/rdoc-srcdir\""
61+
run: make html V=1
6062
working-directory: ruby/ruby
6163
# We need to clear the generated documentation to generate them again
6264
# with the Prism parser.

lib/rdoc.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# frozen_string_literal: true
22
$DEBUG_RDOC = nil
33

4+
raise
5+
46
##
57
# RDoc produces documentation for Ruby source files by parsing the source and
68
# extracting the definition for classes, modules, methods, includes and

0 commit comments

Comments
 (0)