Skip to content

Commit 248fa8b

Browse files
committed
Test
1 parent 112297d commit 248fa8b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/ruby-core.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ jobs:
4545
run: |
4646
autoconf
4747
./configure -C --disable-install-doc
48-
make -j2
4948
working-directory: ruby/ruby
5049
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.1.0
5150
with:
@@ -54,17 +53,18 @@ jobs:
5453
run: |
5554
bundle install
5655
bundle exec rake build
56+
mv pkg/rdoc-*.gem ../ruby/gems
5757
working-directory: ruby/rdoc
5858
- name: Generate Documentation with RDoc
59-
run: make html V=1 RDOC="$(XRUBY) -I${../rdoc/lib} \"$(tooldir)/rdoc-srcdir\""
59+
run: make html
6060
working-directory: ruby/ruby
6161
# We need to clear the generated documentation to generate them again
6262
# with the Prism parser.
6363
- name: Clear Generated Documentation
6464
run: rm -r .ext/html
6565
working-directory: ruby/ruby
6666
- name: Generate Documentation with RDoc (Prism parser)
67-
run: make html V=1
67+
run: make html
6868
working-directory: ruby/ruby
6969
env:
7070
RDOC_USE_PRISM_PARSER: true

lib/rdoc/rdoc.rb

+1
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,7 @@ def document options
515515
# by the RDoc options
516516

517517
def generate
518+
raise
518519
if @options.dry_run then
519520
# do nothing
520521
@generator.generate

0 commit comments

Comments
 (0)