mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-06 10:03:49 -06:00
docs: list the community tool's fields
Author, Repository and License sat on three lines of one paragraph, which renders as one line. They are a list, and a guard refuses two bold labels on consecutive lines of a paragraph.
This commit is contained in:
1 parent
7876dc09e9
commit
e871e01abf
2 files changed
+15
-3
No files matched your search
@@ -386,6 +386,18 @@ class NoClauseSemicolons(unittest.TestCase):
|
||||
]
|
||||
self.assertEqual(offenders, [], "\n".join(offenders[:20]))
|
||||
|
||||
def test_bold_labels_do_not_run_together(self):
|
||||
"""community-tools.md wrote Author, Repository and License on three
|
||||
lines of one paragraph: rendered, the three ran on one line."""
|
||||
label = r"\*\*[^*\n]+:\*\*"
|
||||
run = re.compile(rf"^{label}.*\n{label}", re.M)
|
||||
offenders = [
|
||||
f"{p.relative_to(ROOT)}: {m.group(0).splitlines()[0]}"
|
||||
for p in _tracked() if p.suffix == ".md"
|
||||
for m in run.finditer(FENCED.sub("", p.read_text(encoding="utf-8")))
|
||||
]
|
||||
self.assertEqual(offenders, [], "\n".join(offenders[:20]))
|
||||
|
||||
def test_wiki_headings_use_sentence_case(self):
|
||||
"""The gaps page and two wiki pages titled in Title Case ("What Each
|
||||
Pack Contains") beside sentence-case pages ("Quick install")."""
|
||||
|
||||
@@ -12,9 +12,9 @@ Projects built on RetroBIOS data.
|
||||
|
||||
## BIOS preservation tool
|
||||
|
||||
**Author:** [monster-penguin](https://github.com/monster-penguin)
|
||||
**Repository:** [github.com/monster-penguin/BIOS-Preservation-Tool](https://github.com/monster-penguin/BIOS-Preservation-Tool)
|
||||
**License:** MIT
|
||||
- **Author:** [monster-penguin](https://github.com/monster-penguin)
|
||||
- **Repository:** [github.com/monster-penguin/BIOS-Preservation-Tool](https://github.com/monster-penguin/BIOS-Preservation-Tool)
|
||||
- **License:** MIT
|
||||
|
||||
A local tool for managing your own BIOS collection. Point it at your files, it verifies them against RetroBIOS platform YAMLs, stores them in a deduplicated database, and produces ready-to-use directories for each platform. Supports scanning directories, archives, and URLs.
|
||||
|
||||
|
||||
Reference in new issue
Block a user