Questions about file selection

未关闭
#1,163 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
25/100
Issue 类型
文档
描述清晰度
需要澄清
活跃度
停滞
技术栈
ruby
领域
cli

调研方向

从 rdoc 命令的默认文件选择路径开始,在 ruby/rdoc/ 中复现无参数运行。跟踪对 bin/、exe/、man/ 和 rakelib/ 的排除在哪里应用;完成标准是识别出控制逻辑,并记录任何其他排除项。

由索引模型根据 Issue 内容生成。

描述

I'm looking at file selection for the rdoc command.

I see in the code that certain files and directories are excluded by default:

  • Each file whose name ends with ~, .orig, .rej, .bak, .gemspec.
  • Each file or directory whose name begins with ..
  • Each directory named test or spec.

When I run rdoc (no arguments or options) in ruby/rdoc/, certain other files (and possibly directories) are excluded:

  • console in bin/.
  • rdoc and ri in exe/.
  • ri.1 in man/.
  • epock.rake in rakelib/.

Questions:

  • Where is the code that controls these?
  • Are there other exclusions that I'm not (yet) seeing?
主要语言
Ruby
星标
928
派生
471
平均合并
2 天 4 分钟
30 天内合并 PR
13

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ruby/rdoc 的其他 Issue

查看 ruby/rdoc 的全部 Issue

相似的 Issue

更多 Ruby Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。