Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"version": "0.2",
"language": "en",
"words": [
"DEMA",
"Dema",
"demaconsulting",
"DemaConsulting",
"dotnet",
"Dotnet",
"nuget",
"NuGet",
"nupkg",
"Nuget",
"nuspec",
"spdx",
"SBOM",
"weasyprint",
"Weasyprint",
"WeasyPrint",
"csproj",
"netstandard",
"mkdir",
"unzip",
"wget",
"Kozea",
"courtbouillon",
"cspell",
"markdownlint",
"newword"
],
"ignorePaths": [
"node_modules",
".git",
"*.nupkg",
"pack/win-x64",
"pack/tools",
"DotnetToolWrapper",
"weasyprint-windows",
"pack/_manifest"
]
}
83 changes: 83 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
name: 🐛 Bug Report
description: Report a bug or issue with WeasyprintTool
title: "[Bug]: "
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!

- type: textarea
id: description
attributes:
label: Description
description: A clear and concise description of what the bug is.
placeholder: Describe the bug...
validations:
required: true

- type: textarea
id: steps
attributes:
label: Steps to Reproduce
description: Steps to reproduce the behavior
placeholder: |
1. Run command '...'
2. See error
validations:
required: true

- type: textarea
id: expected
attributes:
label: Expected Behavior
description: A clear and concise description of what you expected to happen.
placeholder: What should happen?
validations:
required: true

- type: textarea
id: actual
attributes:
label: Actual Behavior
description: A clear and concise description of what actually happened.
placeholder: What actually happened?
validations:
required: true

- type: input
id: version
attributes:
label: Version
description: What version of WeasyprintTool are you using?
placeholder: e.g., 1.0.0
validations:
required: true

- type: input
id: dotnet-version
attributes:
label: .NET Version
description: What version of .NET are you using?
placeholder: e.g., 8.0, 9.0, 10.0
validations:
required: false

- type: input
id: os
attributes:
label: Operating System
description: What operating system are you using?
placeholder: e.g., Windows 11, Ubuntu 24.04, macOS 14
validations:
required: false

- type: textarea
id: additional
attributes:
label: Additional Context
description: Add any other context about the problem here.
placeholder: Any additional information...
validations:
required: false
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: 📚 Documentation
url: https://github.com/demaconsulting/WeasyprintTool/blob/main/README.md
about: Check the documentation for usage instructions
- name: 💬 Discussions
url: https://github.com/demaconsulting/WeasyprintTool/discussions
about: Ask questions and discuss ideas with the community
- name: 🌐 Weasyprint Documentation
url: https://doc.courtbouillon.org/weasyprint/stable/
about: Official Weasyprint documentation
45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: ✨ Feature Request
description: Suggest a new feature or enhancement for WeasyprintTool
title: "[Feature]: "
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to suggest a new feature!

- type: textarea
id: problem
attributes:
label: Problem Statement
description: Is your feature request related to a problem? Please describe.
placeholder: I'm always frustrated when...
validations:
required: true

- type: textarea
id: solution
attributes:
label: Proposed Solution
description: Describe the solution you'd like to see.
placeholder: I would like to...
validations:
required: true

- type: textarea
id: alternatives
attributes:
label: Alternatives Considered
description: Describe any alternative solutions or features you've considered.
placeholder: Alternative approaches...
validations:
required: false

- type: textarea
id: additional
attributes:
label: Additional Context
description: Add any other context, screenshots, or examples about the feature request here.
placeholder: Any additional information...
validations:
required: false
29 changes: 29 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: 2
updates:
# GitHub Actions dependencies
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
groups:
github-actions:
patterns:
- "*"
labels:
- "dependencies"
- "github-actions"

# NuGet dependencies
- package-ecosystem: "nuget"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
groups:
nuget:
patterns:
- "*"
labels:
- "dependencies"
- "nuget"
15 changes: 15 additions & 0 deletions .github/workflows/build-on-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,23 @@ name: Build
on: [push]

jobs:
quality-checks:
name: Quality Checks
runs-on: ubuntu-24.04
permissions:
contents: read
steps:
- uses: actions/checkout@v6

- name: Check Spelling
run: npx cspell "**/*.md"

- name: Lint Markdown
run: npx markdownlint-cli "**/*.md"

build:
name: Build Artifacts
needs: quality-checks
uses: ./.github/workflows/build.yaml
with:
wrapper: "1.2.0"
Expand Down
21 changes: 21 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Node modules (for quality checks)
node_modules/

# Build artifacts
*.nupkg
DotnetToolWrapper/
weasyprint-windows/
pack/win-x64/
pack/_manifest/

# OS files
.DS_Store
Thumbs.db

# IDE files
.vscode/
.idea/
*.suo
*.user
*.userosscache
*.sln.docstates
9 changes: 9 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"default": true,
"MD013": false,
"MD033": {
"allowed_elements": ["img", "br", "details", "summary"]
},
"MD041": false,
"no-hard-tabs": false
}
Loading
Loading