Open wtsnjp opened 1 month ago
Docfile.name is a name of doc file only used for scoring. Their prefixes are inconsistent and probably depend on the sources of a docfile information (i.e., either from tlpdb or texdocs).
Docfile.name
texmf-dist
https://github.com/TeX-Live/texdoc/blob/6fec041ea8a141551c0e49f0da58a6d202d0cf79/spec/search/tlpdb_spec.rb#L27
texmf-dist/doc
https://github.com/TeX-Live/texdoc/blob/6fec041ea8a141551c0e49f0da58a6d202d0cf79/spec/search/tlpdb_spec.rb#L8
The inconsistency is harmless for the function right now, but is slightly troublesome for testing and debugging.
Docfile.name
is a name of doc file only used for scoring. Their prefixes are inconsistent and probably depend on the sources of a docfile information (i.e., either from tlpdb or texdocs).texmf-dist
https://github.com/TeX-Live/texdoc/blob/6fec041ea8a141551c0e49f0da58a6d202d0cf79/spec/search/tlpdb_spec.rb#L27
texmf-dist/doc
treehttps://github.com/TeX-Live/texdoc/blob/6fec041ea8a141551c0e49f0da58a6d202d0cf79/spec/search/tlpdb_spec.rb#L8
The inconsistency is harmless for the function right now, but is slightly troublesome for testing and debugging.