Skip to content

Rename docs-app/src template files from .md to .gjs.md#178

Merged
NullVoxPopuli merged 4 commits intomainfrom
copilot/rename-md-to-gjs-md
Feb 25, 2026
Merged

Rename docs-app/src template files from .md to .gjs.md#178
NullVoxPopuli merged 4 commits intomainfrom
copilot/rename-md-to-gjs-md

Conversation

Copy link
Contributor

Copilot AI commented Feb 25, 2026

  • Rename all 21 .md files in docs-app/src/templates/ to .gjs.md extensions
  • Update references to /1-get-started/index.md in docs-app/src/templates/index.gts
  • Fix prettier formatting in index.gts (line length for InternalLink attributes)
  • Fix pnpm build:prod — add #sample-data to package.json imports, add ./sample-data export, replace docs-app/sample-data imports with #sample-data in .gjs.md files (kolay's gjs-md plugin now processes these at build time, requiring resolvable imports)

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com>
Copilot AI changed the title [WIP] Rename .md files to .gjs.md extensions in docs-app/src Rename docs-app/src template files from .md to .gjs.md Feb 25, 2026
Copilot AI requested a review from NullVoxPopuli February 25, 2026 02:39
@NullVoxPopuli
Copy link
Contributor

@copilot there are lints to fix (check ci)

Co-authored-by: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Feb 25, 2026

@copilot there are lints to fix (check ci)

Fixed in c8772dd — the InternalLink in index.gts needed its attributes split across lines to satisfy prettier's line-length rules.

@NullVoxPopuli
Copy link
Contributor

@copilot is pnpm build:prod succeeding?

…ution for build

Co-authored-by: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Feb 25, 2026

@copilot is pnpm build:prod succeeding?

Fixed in bdbfaa4. The rename to .gjs.md caused kolay's gjs-md vite plugin to now compile the live code blocks at build time, which required their imports to be resolvable. Two fixes were needed in docs-app/package.json:

  1. Added "#sample-data": "./src/sample-data/index.ts" to imports
  2. Added "./sample-data": "./src/sample-data/index.ts" to exports

Additionally, replaced docs-app/sample-data imports (in 6 .gjs.md files) with #sample-data — the package subpath import had a path resolution bug when used from kolay virtual modules, while the # import resolves correctly. pnpm build:prod now succeeds (vite build completes in ~1m).

@github-actions
Copy link
Contributor

Project Preview URL
Docs https://231070d0.ue-table.pages.dev

Logs

@NullVoxPopuli NullVoxPopuli marked this pull request as ready for review February 25, 2026 12:52
@NullVoxPopuli NullVoxPopuli merged commit 542e4d4 into main Feb 25, 2026
13 checks passed
@NullVoxPopuli NullVoxPopuli deleted the copilot/rename-md-to-gjs-md branch February 25, 2026 12:52
@github-actions github-actions bot mentioned this pull request Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants