Commit 5d998ff
authored
fix(review): classify .markdown/.asciidoc files as doc in RAG indexing (#2839)
DOC_EXT_RE recognized md/mdx/rst/adoc but not the long-form markdown/asciidoc
spellings, so files like NOTES.markdown / guide.asciidoc were classified as
skip instead of doc and dropped from RAG code-review indexing. Align it with
the canonical DOCS_EXTENSIONS set in signals/path-matchers.ts (which already
lists markdown + asciidoc). Extends classifyRepoFile test coverage for both.1 parent f2fd057 commit 5d998ff
2 files changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
127 | 131 | | |
128 | 132 | | |
129 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| |||
0 commit comments