mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-16 22:57:49 -06:00
fix: keep the Run by row out of the search
Setup names on 530 emulator pages lowered their weight in the index and ranked the data page first for batocera folder and retroarch system folder. The row is left out of the search, as the card's setup lists are.
This commit is contained in:
1 parent
5621737c29
commit
acd2ef31fd
2 files changed
+6
-3
No files matched your search
@@ -785,6 +785,8 @@ class AnEmulatorPageNamesItsSetups(unittest.TestCase):
|
||||
row = next(line for line in text.splitlines() if line.startswith("| Run by |"))
|
||||
for setup in ("emudeck", "rocknix", "nextui", "retroarch"):
|
||||
self.assertIn(f"/platforms/{setup}/", row)
|
||||
# Setup names on every emulator page outranked the setup's own page.
|
||||
self.assertIn("data-pagefind-ignore", row)
|
||||
|
||||
|
||||
class SizesTheCodeComparesAreExact(unittest.TestCase):
|
||||
|
||||
Reference in new issue
Block a user