Skip to content

Commit a047068

Browse files
authored
Run ruby/ruby doc generation on CI (#1272)
1 parent fdbb192 commit a047068

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/ruby-core.yml

+13
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,16 @@ jobs:
5757
- name: Test RDoc
5858
run: make -j2 -s test-all TESTS="rdoc --no-retry"
5959
working-directory: ruby/ruby
60+
- name: Generate Documentation with RDoc
61+
run: make html
62+
working-directory: ruby/ruby
63+
# We need to clear the generated documentation to generate them again
64+
# with the Prism parser.
65+
- name: Clear Generated Documentation
66+
run: rm -r .ext/html
67+
working-directory: ruby/ruby
68+
- name: Generate Documentation with RDoc (Prism parser)
69+
run: make html
70+
working-directory: ruby/ruby
71+
env:
72+
RDOC_USE_PRISM_PARSER: true

0 commit comments

Comments
 (0)