Add automated YAML metadata generation for markdown documentation#1240
Merged
Add automated YAML metadata generation for markdown documentation#1240
Conversation
Co-authored-by: makr-code <150588092+makr-code@users.noreply.github.com>
Co-authored-by: makr-code <150588092+makr-code@users.noreply.github.com>
Co-authored-by: makr-code <150588092+makr-code@users.noreply.github.com>
Co-authored-by: makr-code <150588092+makr-code@users.noreply.github.com>
Co-authored-by: makr-code <150588092+makr-code@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add structured metadata to all Markdown files in repository
Add automated YAML metadata generation for markdown documentation
Feb 17, 2026
Owner
|
@copilot der target branch soll develop sein |
Contributor
Author
The PR target branch needs to be changed through the GitHub web interface - I don't have access to modify PR settings directly. However, I've verified that the changes are compatible with the The PR can be retargeted to
All code changes are self-contained (new script, workflow, and documentation) with no conflicts expected. |
Copilot stopped work on behalf of
makr-code due to an error
February 17, 2026 08:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Implements automated metadata extraction and appending for all markdown files (1,853 files). Metadata includes git history (creation/modification dates, commit titles), document structure (title from first heading), and repository context (file path, document number from tags).
Note: PR target branch should be changed to
developvia GitHub UI (currently set tomain). The implementation is compatible with thedevelopbranch.Type of Change
Related Issues
Changes Made
Core Implementation
scripts/add_doc_metadata.py(318 lines): Metadata extraction enginegit log --followfor first/last commits, file renames.git,node_modules,venv,build,dist,site.github/workflows/add-doc-metadata.yml(87 lines): Automation workflowworkflow_dispatchwith dry-run togglefetch-depth: 0)Metadata Fields (YAML)
Documentation
scripts/README.md: Usage examples, CLI arguments.github/workflows/README.md: Workflow reference entryMETADATA_IMPLEMENTATION_SUMMARY.md: Complete implementation guidedocs/Home.md: Live demonstration fileExample Output
Validation
docs/Home.mdcorrectly skipChecklist
Code Quality
Python Quality:
Documentation
scripts/README.mdupdatedBranch Strategy Compliance
developfor features,mainfor releases/hotfixes)feature/,bugfix/,hotfix/,release/)mainordevelopBranch:
copilot/add-metadata-to-markdown-files→develop(needs retargeting via GitHub UI)Performance Impact
Performance Notes:
Breaking Changes
Security Considerations
Security Validation:
Additional Notes
Deployment Strategy
dry_run=true, review logsdry_run=false, process all 1,852 remaining filesFile Statistics
Usage (Post-Merge)
CLI:
GitHub Actions:
dry_run:true(preview) orfalse(apply)Branch Retargeting
The PR base branch should be changed from
maintodevelopthrough the GitHub web interface:developas the new base branchAll changes are self-contained and will merge cleanly into
develop.Screenshots/Logs
Sample Metadata Output (
docs/Home.md):Dry-Run Output (excerpt):
For Maintainers:
Review Checklist
Merge Strategy
Original prompt
This pull request was created from Copilot chat.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.