Update PDF template for version and date metadata#71
Conversation
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
|
@copilot The build-docs job failed - I believe because the mermaid-filter command was not specified correctly. Please closely compare the job with https://github.com/demaconsulting/SarifMark and align how commands are executed. |
…estore .cmd extension) Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Fixed in commit 1dd5797. The issue was using |
Pull Request
Description
Aligns PDF generation with TestResults and SarifMark repository implementations. PDFs now display version and date metadata in headers.
Template changes (
docs/template/template.html):@page @top-centerinto@top-left(title) and@top-right(version).versionCSS class and string-set ruleoverflow-xtooverflowfor better PDF renderingWorkflow changes (
.github/workflows/build.yaml):--metadata versionand--metadata dateparameters to all pandoc invocationsmermaid-filter.cmdextension for Windows compatibilityType of Change
Related Issues
Implements feature request for updated PDF template based on TestResults repository.
Pre-Submission Checklist
Before submitting this pull request, ensure you have completed the following:
Build and Test
dotnet build --configuration Releasedotnet test --configuration ReleaseCode Quality
dotnet format --verify-no-changesQuality Checks
Please run the following checks before submitting:
cspell "**/*.{md,cs}"markdownlint "**/*.md"yamllint '**/*.{yml,yaml}'Testing
Documentation
Additional Notes
Added
docversionto.cspell.jsondictionary. Workflow aligned with SarifMark implementation for proper filter execution on Windows. No functional changes to code - workflow and template only.Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.