[docs] Slim README, add FastH3 Omni news, add a docs news archive (#2066)
Co-authored-by: Aryan Kumar <156166681+aryan5v@users.noreply.github.com>
This commit is contained in:
co-authored by
Aryan Kumar
parent
ce970eb715
commit
866a3cdb91
@@ -59,6 +59,15 @@ test("stops at the next heading and ignores other sections", () => {
|
||||
assert.doesNotMatch(news[1].text, /Awesome work/);
|
||||
});
|
||||
|
||||
test("accepts the Recent news heading used by the README", () => {
|
||||
const { news } = readReadmeSections(legacy.replace("## NEWS", "## Recent news"));
|
||||
assert.equal(news.length, 2);
|
||||
assert.deepEqual(
|
||||
news.map((item) => item.date),
|
||||
["2026/10/06", "2026/09/15"],
|
||||
);
|
||||
});
|
||||
|
||||
test("returns null when a section is missing", () => {
|
||||
assert.deepEqual(readReadmeSections("# FastVideo\n\n## Overview\n"), { news: null, projects: null });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user