Merge pull request #6436 from dearblue/doc/index

This commit is contained in:
Yukihiro "Matz" Matsumoto
2024-11-26 13:35:27 +09:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -105,6 +105,7 @@ extensions in C and/or Ruby. For a guide on how to use mrbgems, consult the
- [About the Symbols](doc/guides/symbol.md)
- [Internal Implementation / About Value Boxing](doc/internal/boxing.md)
- [Internal Implementation / About mruby Virtual Machine Instructions](doc/internal/opcode.md)
<!-- END OF MRUBY DOCUMENT INDEX -->
## License
+1 -1
View File
@@ -91,7 +91,7 @@ namespace :doc do
matched = false
mark_begin = "<!-- BEGIN OF MRUBY DOCUMENT INDEX -->\n"
mark_end = "<!-- END OF MRUBY DOCUMENT INDEX -->\n"
readme1 = readme.sub(/^#{mark_begin}\K.*(?=^#{mark_end})/m) {
readme1 = readme.sub(/^#{mark_begin}\n\K.*(?=^\n#{mark_end})/m) {
matched = true
doc.each_with_object("") { |d, a|
summary = File.open(File.join(MRUBY_ROOT, d)) { |f|