Commit Graph

809 Commits

Author SHA1 Message Date
Aaron Powell a2bd4fda47 Update eng/generate-llms-txt.mjs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-03 12:48:47 +11:00
copilot-swe-agent[bot] 7e23ac9527 Generate llms.txt in website/public for GitHub Pages
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
2026-02-03 01:46:18 +00:00
copilot-swe-agent[bot] 2d996d8ab2 Address code review feedback: improve code quality
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
2026-02-03 01:37:35 +00:00
copilot-swe-agent[bot] a2e8bc2f25 Add llms.txt documentation to README
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
2026-02-03 01:36:34 +00:00
copilot-swe-agent[bot] 3d1d2c1aa0 Fix multiline descriptions in llms.txt to be single-line
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
2026-02-03 01:36:00 +00:00
copilot-swe-agent[bot] fbc72656ab Add llms.txt file generation script and output
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
2026-02-03 01:35:13 +00:00
copilot-swe-agent[bot] 304ed6ee9a Initial plan 2026-02-03 01:30:36 +00:00
Aaron Powell b492cfe854 Merge pull request #645 from github/copilot/fix-spelling-grammar-issues
Add codespell CI workflow for automated spelling checks
2026-02-03 11:45:56 +11:00
Aaron Powell f1367eb1fc Merge pull request #648 from github/fix/dark-mode-dropdown-text
fix: improve dropdown text visibility in dark mode
2026-02-03 11:45:35 +11:00
Aaron Powell 3c5ac86f49 Merge pull request #647 from github/fix/skill-search-path
fix: use skillFile path in search index for skills
2026-02-03 11:45:19 +11:00
Aaron Powell 3e2ad679b3 Merge pull request #642 from garrettsiegel/add-tailwind-v4-vite-instructions
Add Tailwind CSS v4 + Vite installation instructions
2026-02-03 11:44:05 +11:00
Aaron Powell fb4fb59625 fix: improve dropdown text visibility in dark/light modes
and ensure dropdown background and text colors properly use CSS variables
in both dark and light themes.
2026-02-03 11:39:28 +11:00
Aaron Powell 79b5c649b5 fix: use skillFile path in search index for skills
When searching for skills on the homepage, clicking a result would fail
to load because the search index stored the folder path (e.g., skills/my-skill)
instead of the SKILL.md file path. This caused fetchFileContent() to fail.

Changed path property to use skill.skillFile which contains the correct
path to the SKILL.md file that can be fetched and displayed in the modal.
2026-02-03 11:27:45 +11:00
copilot-swe-agent[bot] 20818f230a Fix spelling error: formated → formatted in copilot-instructions.md
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
2026-02-03 00:22:31 +00:00
Aaron Powell eb66c2b1d2 Merge pull request #646 from github/feature/footer-commit-info
Add commit SHA and build date to website footer
2026-02-03 11:17:55 +11:00
garrettsiegel ba03707825 Revert unrelated changes to .vscode/settings.json 2026-02-02 18:56:26 -05:00
Aaron Powell f4c2e0b0e0 Add commit SHA and build date to website footer
- Display short commit SHA with link to GitHub commit
- Show build date in YYYY-MM-DD format
- Use GITHUB_SHA env var in CI, fallback to git command locally
- Add subtle styling for build info text
2026-02-03 10:38:16 +11:00
copilot-swe-agent[bot] 1c38b8388a Improve codespell configuration comments for clarity
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
2026-02-02 23:11:59 +00:00
copilot-swe-agent[bot] 0227b8a2f6 Add codespell GitHub Actions workflow for automatic spelling checks
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
2026-02-02 23:10:45 +00:00
copilot-swe-agent[bot] ea50e5f696 Initial plan 2026-02-02 23:08:34 +00:00
Aaron Powell 612f5e4208 Merge pull request #639 from jeremykohn/fix-spelling-errors-found-by-codespell
fix: Correct spelling errors found by Codespell
2026-02-03 10:06:08 +11:00
garrettsiegel b1fd2fbf5a Add Tailwind CSS v4 + Vite installation instructions 2026-02-02 12:41:48 -05:00
Jeremy Kohn a98230c3a2 Merge branch 'main' into fix-spelling-errors-found-by-codespell 2026-02-02 02:59:58 -06:00
Jeremy Kohn bb146c059f fix: Correct spelling errors found by Codespell 2026-02-02 00:00:31 -06:00
Aaron Powell 8da31944f6 Merge pull request #637 from github/experiment/github-pages-website
website
2026-02-02 16:48:43 +11:00
Aaron Powell a1da290d10 Refactor code for consistency and readability
- Standardized string quotes to double quotes across multiple files.
- Improved formatting and indentation for better readability.
- Added a function to format multiline text in tools rendering.
- Enhanced dropdown and action button handlers for better event management.
- Updated the theme application logic to initialize on page load.
- Refactored utility functions for consistency and clarity.
- Improved error handling and user feedback in download and share functionalities.
2026-02-02 16:42:22 +11:00
Aaron Powell cdb056e44f Merge branch 'experiment/github-pages-website' of https://github.com/github/awesome-copilot into experiment/github-pages-website 2026-02-02 16:09:17 +11:00
Aaron Powell a424744226 Merge pull request #638 from github/copilot/sub-pr-637
fix(website): escape backslashes in file paths to prevent string context breakout
2026-02-02 16:09:09 +11:00
copilot-swe-agent[bot] 9e44173f94 Improve comment clarity for string escaping fix
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
2026-02-02 05:07:06 +00:00
copilot-swe-agent[bot] fb5f22a6b2 fix(website): properly escape backslashes and quotes in file paths
The previous implementation only escaped single quotes, which could allow
backslashes in file paths to break out of the JavaScript string context.
Now we escape backslashes first (\ -> \\), then single quotes (' -> \'),
preventing potential security issues.

Fixes CodeQL alert #26 for incomplete string escaping.

Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
2026-02-02 05:05:42 +00:00
copilot-swe-agent[bot] 8b9fa465f6 Initial plan 2026-02-02 05:03:25 +00:00
Aaron Powell bd7209a439 Revert "feat(ci): add PR preview deployments"
This reverts commit 26df6a2907.
2026-02-02 15:59:37 +11:00
Aaron Powell 26df6a2907 feat(ci): add PR preview deployments
- Add pr-preview.yml workflow using rossjrw/pr-preview-action
- Update astro.config.mjs to support dynamic base path via ASTRO_BASE env
- Previews deploy to /pr-preview/pr-<number>/ on gh-pages branch
- Auto-cleanup when PR is closed
2026-02-02 15:55:07 +11:00
Aaron Powell 611474f980 fix(website): resolve TypeScript errors in samples.ts
- Remove SearchableRecipe interface that conflicted with SearchableItem
- Use proper type casting for search results
- Fix FuzzySearch generic type usage
2026-02-02 15:42:34 +11:00
Aaron Powell f8d9322f01 these are generated, shouldn't be committed 2026-02-02 15:36:32 +11:00
Aaron Powell f1f2a2f6d3 Updating unicode for c# 2026-02-02 15:35:08 +11:00
Aaron Powell a64f4e78b9 Fixing some whitespace 2026-02-02 15:33:04 +11:00
Aaron Powell 3a7c8ccf1a feat(website): add Nerd Fonts for programming language icons
- Add Monaspace Argon NF font for dev icons
- Update cookbook.yml with unicode codepoints for language icons:
  - TypeScript: \uE628
  - Python: \uE73C
  - C#/.NET: \uF81A
  - Go: \uE626
- Style .lang-tab and .lang-indicator with Nerd Font family
2026-02-02 15:26:24 +11:00
Aaron Powell 9eab4ec6e7 fix(website): use Choices.js wrapper for samples tag filter
Use the same createChoices/getChoicesValues helpers as other pages
for consistent multi-select behavior.
2026-02-02 15:14:45 +11:00
Aaron Powell b8d93a0344 feat(website): add samples/cookbook page with recipe browser
Integrates the cookbook/ folder into the website's Samples page:

Data Structure:
- Add cookbook/cookbook.yml manifest defining cookbooks and recipes
- Add .schemas/cookbook.schema.json for validation
- Add COOKBOOK_DIR constant to eng/constants.mjs

Build Integration:
- Add generateSamplesData() to generate samples.json from cookbook.yml
- Include recipe variants with file paths for each language
- Add samples count to manifest.json

Website UI:
- Create samples.ts with FuzzySearch, language/tag filtering
- Replace placeholder samples.astro with functional recipe browser
- Recipe cards with language indicators and action buttons
- Language tabs for switching between implementations
- View Recipe/View Example buttons open modal
- GitHub link for each recipe

Features:
- Search recipes by name/description
- Filter by programming language (Node.js, Python, .NET, Go)
- Filter by tags (multi-select with Choices.js)
- 5 recipes across 4 languages = 20 recipe variants
2026-02-02 15:11:12 +11:00
Aaron Powell 23f08bbb63 Merge branch 'main' into experiment/github-pages-website 2026-02-02 14:58:29 +11:00
Aaron Powell 7feee4284e Merge pull request #632 from github/copilot-sdk-cookbook
Migrating SDK cookbook over
2026-02-02 14:52:52 +11:00
Aaron Powell 18cde40ec6 Merge branch 'main' into copilot-sdk-cookbook 2026-02-02 14:45:32 +11:00
Aaron Powell 8605accb01 Merge pull request #633 from github/copilot/sub-pr-632
Fix misleading comment in Python recipe requirements.txt
2026-02-02 14:43:56 +11:00
Aaron Powell e6c4e0586e Merge pull request #634 from github/copilot/sub-pr-632-again
Fix Prerequisites description in Python cookbook README
2026-02-02 14:43:05 +11:00
copilot-swe-agent[bot] 840523c81b Fix Prerequisites description to accurately reflect PyPI installation
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
2026-02-02 03:34:40 +00:00
copilot-swe-agent[bot] e224a128f7 Fix requirements.txt comment to reflect PyPI installation
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
2026-02-02 03:34:35 +00:00
copilot-swe-agent[bot] 695c60c7ac Initial plan 2026-02-02 03:33:35 +00:00
copilot-swe-agent[bot] 715f433eae Initial plan 2026-02-02 03:33:09 +00:00
Aaron Powell 54ce5c5603 Addressing feedback 2026-02-02 14:01:22 +11:00