-
Notifications
You must be signed in to change notification settings - Fork 0
Add PDF compilation pipeline for Developer Guide #58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 3 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
cf00668
Initial plan
Copilot 4ce330c
Add PDF generation infrastructure for Developer Guide
Copilot 0b3eeec
Fix YAML linting issues in definition.yaml
Copilot b198d25
Address PR feedback: extract CSS, stay in repo root, upload PDF only
Copilot 7884d69
Fix CSS path and simplify YAML syntax
Copilot 1141ad1
Fix tool commands and switch to Windows runner
Copilot bdbf8a1
Fix input file path in definition.yaml to use full path
Copilot 2e7e81b
Move build-docs job to separate reusable workflow
Copilot b89a8f5
Rename build-docs.yaml to build_docs.yaml for naming consistency
Copilot ec52192
Manage dependencies via package.json and dotnet-tools.json
Copilot 206c853
Simplify package.json by removing unnecessary fields
Copilot ff9737d
Use dotnet prefix for tools and multi-line YAML format
Copilot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| --- | ||
| resource-path: | ||
| - docs/guide | ||
| - docs/template | ||
|
|
||
| input-files: | ||
| - guide.md | ||
|
Malcolmnixon marked this conversation as resolved.
Outdated
|
||
|
|
||
| template: guide_template.html | ||
|
|
||
| table-of-contents: true | ||
|
|
||
| number-sections: true | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| --- | ||
| title: TestResults Library | ||
| subtitle: Developer Guide | ||
| lang: en-US | ||
| keywords: | ||
| - TestResults | ||
| - C# | ||
| - .NET | ||
| - TRX | ||
| - JUnit | ||
| - Test Results | ||
| - Testing | ||
| - Documentation | ||
| --- |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,159 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="$lang$"> | ||
| <head> | ||
| <meta charset="utf-8"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| <title>$if(title)$$title$$endif$</title> | ||
| <style> | ||
| body { | ||
| font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; | ||
| line-height: 1.6; | ||
| color: #333; | ||
| max-width: 800px; | ||
| margin: 0 auto; | ||
| padding: 20px; | ||
| } | ||
| h1, h2, h3, h4, h5, h6 { | ||
| margin-top: 24px; | ||
| margin-bottom: 16px; | ||
| font-weight: 600; | ||
| line-height: 1.25; | ||
| } | ||
| h1 { font-size: 2em; border-bottom: 1px solid #eaecef; padding-bottom: 0.3em; } | ||
| h2 { font-size: 1.5em; border-bottom: 1px solid #eaecef; padding-bottom: 0.3em; } | ||
| h3 { font-size: 1.25em; } | ||
| h4 { font-size: 1em; } | ||
| h5 { font-size: 0.875em; } | ||
| h6 { font-size: 0.85em; color: #6a737d; } | ||
| code { | ||
| background-color: #f6f8fa; | ||
| border-radius: 3px; | ||
| font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace; | ||
| font-size: 85%; | ||
| padding: 0.2em 0.4em; | ||
| } | ||
| pre { | ||
| background-color: #f6f8fa; | ||
| border-radius: 3px; | ||
| font-size: 85%; | ||
| line-height: 1.45; | ||
| overflow: auto; | ||
| padding: 16px; | ||
| } | ||
| pre code { | ||
| background-color: transparent; | ||
| border: 0; | ||
| display: inline; | ||
| line-height: inherit; | ||
| margin: 0; | ||
| max-width: auto; | ||
| overflow: visible; | ||
| padding: 0; | ||
| word-wrap: normal; | ||
| } | ||
| blockquote { | ||
| border-left: 0.25em solid #dfe2e5; | ||
| color: #6a737d; | ||
| padding: 0 1em; | ||
| margin: 0 0 16px 0; | ||
| } | ||
| table { | ||
| border-collapse: collapse; | ||
| margin: 16px 0; | ||
| width: 100%; | ||
| } | ||
| table th, table td { | ||
| border: 1px solid #dfe2e5; | ||
| padding: 6px 13px; | ||
| } | ||
| table tr { | ||
| background-color: #fff; | ||
| border-top: 1px solid #c6cbd1; | ||
| } | ||
| table tr:nth-child(2n) { | ||
| background-color: #f6f8fa; | ||
| } | ||
| ul, ol { | ||
| padding-left: 2em; | ||
| margin-bottom: 16px; | ||
| } | ||
| li + li { | ||
| margin-top: 0.25em; | ||
| } | ||
| a { | ||
| color: #0366d6; | ||
| text-decoration: none; | ||
| } | ||
| a:hover { | ||
| text-decoration: underline; | ||
| } | ||
| .title-page { | ||
| text-align: center; | ||
| margin-top: 100px; | ||
| margin-bottom: 100px; | ||
| } | ||
| .title-page h1 { | ||
| font-size: 3em; | ||
| border-bottom: none; | ||
| } | ||
| .title-page h2 { | ||
| font-size: 2em; | ||
| color: #6a737d; | ||
| border-bottom: none; | ||
| } | ||
| #TOC { | ||
| border: 1px solid #dfe2e5; | ||
| border-radius: 3px; | ||
| padding: 16px; | ||
| margin: 24px 0; | ||
| background-color: #f6f8fa; | ||
| } | ||
| #TOC ul { | ||
| list-style-type: none; | ||
| padding-left: 0; | ||
| } | ||
| #TOC ul ul { | ||
| padding-left: 20px; | ||
| } | ||
| #TOC > ul > li { | ||
| margin-top: 8px; | ||
| } | ||
| #TOC a { | ||
| color: #0366d6; | ||
| } | ||
| @media print { | ||
| body { | ||
| max-width: none; | ||
| } | ||
| .title-page { | ||
| page-break-after: always; | ||
| } | ||
| h1, h2, h3 { | ||
| page-break-after: avoid; | ||
| } | ||
| pre, blockquote { | ||
| page-break-inside: avoid; | ||
| } | ||
| } | ||
| </style> | ||
| </head> | ||
| <body> | ||
| $if(title)$ | ||
| <div class="title-page"> | ||
| <h1>$title$</h1> | ||
| $if(subtitle)$ | ||
| <h2>$subtitle$</h2> | ||
| $endif$ | ||
| </div> | ||
| $endif$ | ||
|
|
||
| $if(toc)$ | ||
| <nav id="TOC"> | ||
| <h2>Table of Contents</h2> | ||
| $toc$ | ||
| </nav> | ||
| $endif$ | ||
|
|
||
| $body$ | ||
| </body> | ||
| </html> |
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.
Uh oh!
There was an error while loading. Please reload this page.