docs: name the site Eldorado Powered By AI
Build and publish Eldorado documentation / build (pull_request) Successful in 32s

This commit is contained in:
jarvis-at-skic committed 2026-10-02 10:10:12 +00:00
1 parent 98a0cb088f
commit f98bbfd63a
5 files changed
+17 -14

No files matched your search

+4 -1
View File
@@ -20,7 +20,10 @@ if (process.argv.includes('--build')) {
assert(existsSync(join('build',route)), `Missing route: ${route}`);
}
const home = read('build/index.html');
assert(home.includes('A home for') && home.includes('what comes next.'));
assert(/<title\b[^>]*>Eldorado Powered By AI<\/title>/.test(home));
assert(home.includes('Powered By AI</span></h1>'));
assert(home.includes('Strategy and direction for an AI-powered Eldorado.'));
assert(!home.includes('Purpose to be defined') && !home.includes('what comes next.'));
assert(home.includes('/eldorado-v1/documentation/assets/'));
const search = readdirSync('build').filter(f => /^search-index.*\.json$/.test(f));
assert(search.length > 0, 'Missing search index');