Commit b70cf97
committed
Use rbs-integrated RDoc (ruby#16940)
Bump rdoc to the rbs-integrated revision and let bundled gem
specs always be published under .bundle/specifications/ so RDoc's
activation of rbs works during make html.
Two issues blocked `make html` after the rdoc bump:
1. tool/lib/bundled_gem.rb routed gemspecs of bundled gems with
C extensions into .bundle/gems/<gem>/ instead of
.bundle/specifications/. RubyGems looked at the standard
location and could not activate rbs as a runtime dependency
of rdoc. Drop that branch and always write to
.bundle/specifications/; the parallel .bundled.<gem>.gemspec
files (consumed only by extmk.rb's gemspec copy rule and
outdate-bundled-gems.rb's existence check) are no longer
needed.
2. ext/configure-ext.mk was generated before prepare-gems
populated .bundle/gems/, so the template's
`Dir.glob(".bundle/gems/**/extconf.rb")` found nothing on a
clean tree and exts.mk lacked rules for bundled-gem
extensions. Add prepare-gems to its prerequisites so the
bundled-gem directories exist when the template runs.
https://claude.ai/code/session_01YRoRyZPew2LtN6u6BX8bzx1 parent 1c55ad8 commit b70cf97
5 files changed
Lines changed: 6 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
349 | | - | |
| 349 | + | |
| 350 | + | |
350 | 351 | | |
351 | 352 | | |
352 | 353 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
601 | 601 | | |
602 | 602 | | |
603 | 603 | | |
604 | | - | |
605 | | - | |
606 | | - | |
607 | | - | |
608 | | - | |
609 | | - | |
610 | | - | |
611 | | - | |
612 | | - | |
613 | | - | |
614 | | - | |
615 | | - | |
616 | | - | |
617 | 604 | | |
618 | 605 | | |
619 | 606 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
| 77 | + | |
| 78 | + | |
86 | 79 | | |
87 | 80 | | |
88 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
164 | | - | |
| 163 | + | |
165 | 164 | | |
166 | 165 | | |
167 | 166 | | |
| |||
0 commit comments