Skip to content

Commit

Permalink
Run ruby/ruby doc generation on CI (#1272)
Browse files Browse the repository at this point in the history
  • Loading branch information
st0012 authored Jan 6, 2025
1 parent fdbb192 commit a047068
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ruby-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,16 @@ jobs:
- name: Test RDoc
run: make -j2 -s test-all TESTS="rdoc --no-retry"
working-directory: ruby/ruby
- name: Generate Documentation with RDoc
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
working-directory: ruby/ruby
env:
RDOC_USE_PRISM_PARSER: true

0 comments on commit a047068

Please sign in to comment.