docs: restore long-term Strategy and separate six-month horizons
This commit is contained in:
1 parent
a283d6a34a
commit
e96e780beb
41 files changed
+558
-293
No files matched your search
+5
-3
@@ -27,15 +27,17 @@ if (process.argv.includes('--build')) {
|
||||
assert(redirect.includes('/eldorado-v1/documentation/strategy/target-operating-model/'));
|
||||
assert(redirect.includes('window.location.href') && redirect.includes('http-equiv="refresh"') && !redirect.includes('archify-panel'), 'Landing must redirect, not duplicate Target');
|
||||
const strategyPages = [...model.pages,
|
||||
{id:'stage-01-skills-adoption', title:'One bounded experiment'},
|
||||
{id:'six-months-target', title:'6 Months Target'},
|
||||
{id:'six-months-roadmap', title:'6 Months Roadmap'},
|
||||
{id:'stage-01-skills-adoption', title:'Skills lifecycle reference'},
|
||||
{id:'baseline', title:'Baseline'},
|
||||
{id:'stage-02-autonomous-agent', title:'Beyond six months'},
|
||||
{id:'stage-02-autonomous-agent', title:'Beyond 6 Months'},
|
||||
];
|
||||
for (const {id, title} of strategyPages) {
|
||||
const route = `strategy/${id === 'index' ? '' : `${id}/`}index.html`;
|
||||
const page = read(join('build',route));
|
||||
assert(page.includes(title), route);
|
||||
if (!id.startsWith('stage-')) assert(page.includes('Target operating model'), route);
|
||||
if (!id.startsWith('stage-') && !id.startsWith('six-months-')) assert(page.includes('Target operating model'), route);
|
||||
assert(indexes.includes(title), `Missing indexed Strategy page: ${id}`);
|
||||
for (const match of page.matchAll(/href="(\/eldorado-v1\/documentation\/[^"?#]*)/g)) {
|
||||
const local = decodeURIComponent(match[1].replace('/eldorado-v1/documentation/',''));
|
||||
|
||||
Reference in new issue
Block a user