Skip to content

Commit c763769

Browse files
committed
Fix docs changelog sync path for monorepo structure
Update sync-changelog.mjs to read from container/.devcontainer/CHANGELOG.md instead of the old .devcontainer/CHANGELOG.md path. Regenerate the docs changelog page with updated source reference.
1 parent 2645ee1 commit c763769

File tree

2 files changed

+183
-215
lines changed

2 files changed

+183
-215
lines changed

docs/scripts/sync-changelog.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { resolve, dirname } from 'node:path';
1111
import { fileURLToPath } from 'node:url';
1212

1313
const __dirname = dirname(fileURLToPath(import.meta.url));
14-
const source = resolve(__dirname, '../../.devcontainer/CHANGELOG.md');
14+
const source = resolve(__dirname, '../../container/.devcontainer/CHANGELOG.md');
1515
const dest = resolve(__dirname, '../src/content/docs/reference/changelog.md');
1616

1717
const content = readFileSync(source, 'utf-8');
@@ -31,7 +31,7 @@ sidebar:
3131
---
3232
3333
:::note[Auto-Generated]
34-
This page mirrors [\`.devcontainer/CHANGELOG.md\`](https://github.com/AnExiledDev/CodeForge/blob/main/.devcontainer/CHANGELOG.md) and is regenerated on every build. Do not edit directly — update the source file instead.
34+
This page mirrors [\`container/.devcontainer/CHANGELOG.md\`](https://github.com/AnExiledDev/CodeForge/blob/main/container/.devcontainer/CHANGELOG.md) and is regenerated on every build. Do not edit directly — update the source file instead.
3535
:::
3636
3737
## Versioning Policy
@@ -75,4 +75,4 @@ For minor and patch updates, you can usually just rebuild the container. Check t
7575
`;
7676

7777
writeFileSync(dest, frontmatter + cleaned);
78-
console.log('✓ Changelog synced from .devcontainer/CHANGELOG.md');
78+
console.log('✓ Changelog synced from container/.devcontainer/CHANGELOG.md');

0 commit comments

Comments
 (0)