ruby/.document
Earlopain 1ca16fcf71 [DOC] Only document .c in subfolders
`prism` contains `prism/srcs.mk`. RDoc picks it up even though
it is not C/Ruby or anything else recognizable.

It currently doesn't apply to `gc/default` but it could in the future, so I made it
more specific too.
2026-07-22 12:37:58 +09:00

63 lines
824 B
Plaintext

# This file determines which files in the
# Ruby hierarchy will be processed by the RDoc
# tool when it is given the top-level directory
# as an argument
# Process all the C source files
*.c
*.y
# prelude
prelude.rb
rbconfig.rb
array.rb
ast.rb
dir.rb
gc.rb
hash.rb
io.rb
kernel.rb
marshal.rb
numeric.rb
nilclass.rb
pack.rb
pathname_builtin.rb
ractor.rb
string.rb
symbol.rb
timev.rb
thread_sync.rb
trace_point.rb
warning.rb
yjit.rb
zjit.rb
# Errno::*
known_errors.inc
# the lib/ directory (which has its own .document file)
lib
# and some of the ext/ directory (which has its own .document file)
ext
# GC is split between gc.rb and gc/default/default.c
gc/default/*.c
# For `prism`, ruby code is in lib and c in the prism folder
prism/*.c
# rdoc files
NEWS.md
README.md
README.ja.md
COPYING
COPYING.ja
LEGAL
doc