Skip to content

Add Learn frontmatter and asset paths#160

Merged
DanWahlin merged 1 commit into
mainfrom
migration/frontmatter-assets
Jun 10, 2026
Merged

Add Learn frontmatter and asset paths#160
DanWahlin merged 1 commit into
mainfrom
migration/frontmatter-assets

Conversation

@DanWahlin

@DanWahlin DanWahlin commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Add GitHub Learn frontmatter to the root and chapter README files

  • add course-level index.yml and schema.json metadata
  • rename image folders to assets and update Markdown, instructions, and helper scripts

Add commented GitHub Learn frontmatter to the course README files and include the course-level metadata files.

Rename image asset folders to assets and update Markdown, instructions, and helper scripts to match the new paths.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 10, 2026 20:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the courseware repository to support GitHub Learn-style metadata and standardizes all image/demo references from images/ to assets/ across the root README, chapter READMEs, and the helper scripts used to generate/verify demo GIFs.

Changes:

  • Added GitHub Learn metadata files (index.yml, schema.json) and inserted commented frontmatter blocks into the root + chapter READMEs.
  • Migrated Markdown image links and HTML <img> tags from images/ to assets/, including cross-chapter references like ../assets/practice.png.
  • Updated demo tooling scripts to discover .tape and *-demo.gif files under chapter assets/ folders, and added new .tape recordings under assets/.
Show a summary per file
File Description
schema.json Adds a JSON schema for course/page metadata.
index.yml Adds course-level metadata (title/description/icon).
README.md Adds commented Learn frontmatter and updates root image paths to assets/.
.github/copilot-instructions.md Updates repo contribution conventions and maintenance matrix to reference assets/.
.gitignore Adds migration.md to ignored files.
.github/scripts/verify-gifs.js Updates GIF discovery to scan chapter assets/ directories.
.github/scripts/preview-gifs.js Updates GIF discovery to scan chapter assets/ directories.
.github/scripts/generate-demos.js Updates .tape discovery doc + scanning to use chapter assets/ directories.
.github/scripts/create-tapes.js Writes generated .tape files into chapter assets/ directories.
.github/scripts/generate-chapter-headers.py Writes headers/background paths using repo/chapter assets/ directories.
assets/copilot-banner.png Moves/updates course banner under assets/.
assets/learning-path.png Moves/updates learning-path image under assets/.
assets/practice.png Moves/updates shared “practice” image under assets/.
assets/quick-reference-header.png Adds/migrates an image asset to assets/.
assets/github-skills-logo.png Adds/migrates the GitHub Skills logo to assets/.
00-quick-start/README.md Adds commented frontmatter and updates chapter image paths to assets/.
00-quick-start/assets/chapter-header.png Chapter header now located under chapter assets/.
00-quick-start/assets/hello-demo.tape Adds VHS tape source under chapter assets/.
01-setup-and-first-steps/README.md Adds commented frontmatter and updates chapter image paths to assets/.
01-setup-and-first-steps/assets/chapter-header.png Chapter header now located under chapter assets/.
01-setup-and-first-steps/assets/code-review-demo.tape Adds VHS tape source under chapter assets/.
01-setup-and-first-steps/assets/explain-code-demo.tape Adds VHS tape source under chapter assets/.
01-setup-and-first-steps/assets/generate-code-demo.tape Adds VHS tape source under chapter assets/.
02-context-conversations/README.md Adds commented frontmatter and updates chapter image paths to assets/ (incl. @assets/... examples).
02-context-conversations/assets/file-context-demo.tape Adds VHS tape source under chapter assets/.
02-context-conversations/assets/multi-file-demo.tape Adds VHS tape source under chapter assets/.
02-context-conversations/assets/multi-turn-demo.tape Adds VHS tape source under chapter assets/.
03-development-workflows/README.md Adds commented frontmatter and updates chapter image paths to assets/ (incl. Skills logo reference).
03-development-workflows/assets/code-review-demo.tape Adds VHS tape source under chapter assets/.
03-development-workflows/assets/fix-bug-demo.tape Adds VHS tape source under chapter assets/.
03-development-workflows/assets/refactor-demo.tape Adds VHS tape source under chapter assets/.
03-development-workflows/assets/test-gen-demo.tape Adds VHS tape source under chapter assets/.
03-development-workflows/assets/git-integration-demo.tape Adds VHS tape source under chapter assets/.
03-development-workflows/assets/request.json Adds an asset generation prompt/config under chapter assets/.
04-agents-custom-instructions/README.md Adds commented frontmatter and updates chapter image paths to assets/.
04-agents-custom-instructions/assets/python-reviewer-demo.tape Adds VHS tape source under chapter assets/.
05-skills/README.md Adds commented frontmatter and updates chapter image paths to assets/.
05-skills/assets/skill-trigger-demo.tape Adds VHS tape source under chapter assets/.
05-skills/assets/list-skills-demo.tape Adds VHS tape source under chapter assets/.
06-mcp-servers/README.md Adds commented frontmatter and updates chapter image paths to assets/.
06-mcp-servers/assets/mcp-status-demo.tape Adds VHS tape source under chapter assets/.
06-mcp-servers/assets/mcp-workflow-demo.tape Adds VHS tape source under chapter assets/.
07-putting-it-together/README.md Adds commented frontmatter and updates chapter image paths to assets/.

Copilot's findings

  • Files reviewed: 17/114 changed files
  • Comments generated: 0

@DanWahlin DanWahlin merged commit d79510e into main Jun 10, 2026
10 checks passed
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