docs: fix empty routes

close #22485
This commit is contained in:
TonyRL
2026-07-09 16:30:42 +08:00
parent eb3b127e16
commit 762885e40a
+3 -1
View File
@@ -2,10 +2,12 @@ import fs from 'node:fs';
import path from 'node:path';
import { config } from '../../lib/config';
import { namespaces } from '../../lib/registry';
import { ensureAllLoaded, namespaces } from '../../lib/registry';
import { getCurrentPath } from '../../lib/utils/helpers';
import { categories } from './data';
await ensureAllLoaded();
const fullTests = await (await fetch('https://cdn.jsdelivr.net/gh/DIYgod/RSSHub@gh-pages/build/test-full-routes.json')).json();
const testResult = fullTests.testResults[0].assertionResults;