Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
st0012 committed Jan 20, 2025
1 parent 112297d commit 248fa8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ruby-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ jobs:
run: |
autoconf
./configure -C --disable-install-doc
make -j2
working-directory: ruby/ruby
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.1.0
with:
Expand All @@ -54,17 +53,18 @@ jobs:
run: |
bundle install
bundle exec rake build
mv pkg/rdoc-*.gem ../ruby/gems
working-directory: ruby/rdoc
- name: Generate Documentation with RDoc
run: make html V=1 RDOC="$(XRUBY) -I${../rdoc/lib} \"$(tooldir)/rdoc-srcdir\""
run: make html
working-directory: ruby/ruby
# We need to clear the generated documentation to generate them again
# with the Prism parser.
- name: Clear Generated Documentation
run: rm -r .ext/html
working-directory: ruby/ruby
- name: Generate Documentation with RDoc (Prism parser)
run: make html V=1
run: make html
working-directory: ruby/ruby
env:
RDOC_USE_PRISM_PARSER: true
Expand Down
1 change: 1 addition & 0 deletions lib/rdoc/rdoc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,7 @@ def document options
# by the RDoc options

def generate
raise
if @options.dry_run then
# do nothing
@generator.generate
Expand Down

0 comments on commit 248fa8b

Please sign in to comment.