Skip to content
This repository was archived by the owner on Apr 13, 2026. It is now read-only.
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
41 changes: 41 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
on:
push:
branches:
- master

permissions:
actions: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
publish-docs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Dotnet Setup
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x

- run: dotnet tool update -g docfx
- run: docfx ./docfx.json

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: '/_site'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ riderModule.iml
/_ReSharper.Caches/
/.idea
/.vs
/_site
/.vs
5 changes: 2 additions & 3 deletions DtoGenerator/DtoGenerator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<NoPackageAnalysis>false</NoPackageAnalysis>
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);_AddAnalyzersToOutput</TargetsForTfmSpecificContentInPackage>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DocumentationFile>bin\Release\DtoGenerator.xml</DocumentationFile>
</PropertyGroup>
Expand All @@ -40,7 +40,6 @@
</PackageReference>
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="4.8.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0" />
<None Include="..\readme.md" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup>
Expand All @@ -65,7 +64,7 @@
<TfmSpecificPackageFile Include="$(OutputPath)\DtoGenerator.dll" PackagePath="analyzers/dotnet/cs" />
</ItemGroup>
</Target>

<Target Name="_AddAssembliesToOutput">
<ItemGroup>
<TfmSpecificPackageFile Include="$(OutputPath)\DtoGenerator.dll" PackagePath="lib/netstandard2.0/" />
Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

Stop writing boilerplate code for your DTOs. This package will generate them for you.

# Introduction

Since its generator library, and it works on compile time, it will not affect the performance of your application. It will generate the DTOs for you

# Example

```csharp
Expand Down
19 changes: 19 additions & 0 deletions api/.manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"TenJames.DtoGenerator": "TenJames.DtoGenerator.yml",
"TenJames.DtoGenerator.DtoIgnoreAttribute": "TenJames.DtoGenerator.DtoIgnoreAttribute.yml",
"TenJames.DtoGenerator.DtoType": "TenJames.DtoGenerator.DtoType.yml",
"TenJames.DtoGenerator.DtoType.All": "TenJames.DtoGenerator.DtoType.yml",
"TenJames.DtoGenerator.DtoType.AllRead": "TenJames.DtoGenerator.DtoType.yml",
"TenJames.DtoGenerator.DtoType.Create": "TenJames.DtoGenerator.DtoType.yml",
"TenJames.DtoGenerator.DtoType.Read": "TenJames.DtoGenerator.DtoType.yml",
"TenJames.DtoGenerator.DtoType.ReadDetail": "TenJames.DtoGenerator.DtoType.yml",
"TenJames.DtoGenerator.DtoType.Update": "TenJames.DtoGenerator.DtoType.yml",
"TenJames.DtoGenerator.DtoVisibilityAttribute": "TenJames.DtoGenerator.DtoVisibilityAttribute.yml",
"TenJames.DtoGenerator.DtoVisibilityAttribute.#ctor(TenJames.DtoGenerator.DtoType)": "TenJames.DtoGenerator.DtoVisibilityAttribute.yml",
"TenJames.DtoGenerator.GenerateDtoAttribute": "TenJames.DtoGenerator.GenerateDtoAttribute.yml",
"TenJames.DtoGenerator.GenerateDtoAttribute.#ctor(TenJames.DtoGenerator.DtoType)": "TenJames.DtoGenerator.GenerateDtoAttribute.yml",
"TenJames.DtoGenerator.MapFromAttribute": "TenJames.DtoGenerator.MapFromAttribute.yml",
"TenJames.DtoGenerator.MapFromAttribute.#ctor(System.Type,System.String)": "TenJames.DtoGenerator.MapFromAttribute.yml",
"TenJames.DtoGenerator.MapToAttribute": "TenJames.DtoGenerator.MapToAttribute.yml",
"TenJames.DtoGenerator.MapToAttribute.#ctor(System.Type,System.String)": "TenJames.DtoGenerator.MapToAttribute.yml"
}
Loading