Skip to content

Commit 7222be3

Browse files
authored
chore: Merge pull request #862 from DocSvartz/FIx-Readme-Links
Fix(docs) : fix Readme links and local build script
2 parents 109c124 + 51a960f commit 7222be3

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

README.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ Writing mapping methods is a machine job. Do not waste your time, let Mapster do
2626
|------|--------|-------------|
2727
| **Mapster.Tool** | [![Mapster.Tool](https://img.shields.io/nuget/v/Mapster.Tool.svg?label=Mapster.Tool&color=informational)](https://www.nuget.org/packages/Mapster.Tool/latest) | [![Mapster.Tool](https://img.shields.io/nuget/vpre/Mapster.Tool.svg?label=Mapster.Tool&color=orange)](https://www.nuget.org/packages/Mapster.Tool) |
2828

29-
_Badges zeigen die jeweils aktuellste Stable-Version und die aktuellste Pre-Release-Version._
3029

3130
## Installation
3231

@@ -105,7 +104,7 @@ using (MyDbContext context = new MyDbContext())
105104

106105
### Generating models & mappers
107106

108-
No need to write your own DTO classes. Mapster provides [Mapster.Tool](https://github.com/MapsterMapper/Mapster/wiki/Mapster.Tool) to help you generating models. And if you would like to have explicit mapping, Mapster also generates mapper class for you.
107+
No need to write your own DTO classes. Mapster provides [Mapster.Tool](https://mapstermapper.github.io/Mapster/articles/tools/mapster-tool/Mapster-Tool-Overview.html) to help you generating models. And if you would like to have explicit mapping, Mapster also generates mapper class for you.
109108

110109
```csharp
111110
[AdaptTo("[name]Dto"), GenerateMapper]
@@ -129,14 +128,14 @@ public static class StudentMapper {
129128

130129
## What's new
131130

132-
- [Fluent API for code generation](https://github.com/MapsterMapper/Mapster/wiki/Fluent-API-Code-generation)
133-
- [Automatically generate mapping code on build](https://github.com/MapsterMapper/Mapster/wiki/Mapster.Tool)
134-
- [Define setting to nested mapping](https://github.com/MapsterMapper/Mapster/wiki/Config-for-nested-mapping)
135-
- [`ISet`, `IDictionary`, `IReadOnlyDictionary` support](https://github.com/MapsterMapper/Mapster/wiki/Data-types#collections)
136-
- [`EmptyCollectionIfNull`, `CreateNewIfNull` DestinationTransform](https://github.com/MapsterMapper/Mapster/wiki/Setting-values#transform-value)
131+
- [Fluent API for code generation](https://mapstermapper.github.io/Mapster/articles/tools/mapster-tool/Fluent-API-Code-generation.html)
132+
- [Automatically generate mapping code on build](https://mapstermapper.github.io/Mapster/articles/tools/mapster-tool/Mapster-Tool-Overview.html)
133+
- [Define setting to nested mapping](https://mapstermapper.github.io/Mapster/articles/configuration/Config-for-nested-mapping.html)
134+
- [`ISet`, `IDictionary`, `IReadOnlyDictionary` support](https://mapstermapper.github.io/Mapster/articles/mapping/Data-types.html#collections)
135+
- [`EmptyCollectionIfNull`, `CreateNewIfNull` DestinationTransform](https://mapstermapper.github.io/Mapster/articles/settings/Setting-values.html#transform-value)
137136
- [Several fixes](https://github.com/MapsterMapper/Mapster/releases/)
138137
- New plugins
139-
- [Immutable collection support](https://github.com/MapsterMapper/Mapster/wiki/Immutable)
138+
- [Immutable collection support](https://mapstermapper.github.io/Mapster/articles/packages/Immutable.html)
140139
141140
## Why Mapster?
142141

@@ -145,8 +144,8 @@ public static class StudentMapper {
145144
Mapster was designed to be efficient on both speed and memory. You could gain a 4x performance improvement whilst using only 1/3 of memory.
146145
And you could gain up to 12x faster performance with:
147146

148-
- [Roslyn Compiler](https://github.com/MapsterMapper/Mapster/wiki/Debugging)
149-
- [FEC](https://github.com/MapsterMapper/Mapster/wiki/FastExpressionCompiler)
147+
- [Roslyn Compiler](https://mapstermapper.github.io/Mapster/articles/packages/ExpressionDebugging.html)
148+
- [FEC](https://mapstermapper.github.io/Mapster/articles/packages/FastExpressionCompiler.html)
150149
- Code generation
151150

152151
| Method | Mean | StdDev | Error | Gen 0 | Gen 1 | Gen 2 | Allocated |
@@ -175,8 +174,8 @@ Code generation allows you to
175174

176175
There are currently two tools which you can choose based on your preferences.
177176

178-
- [Mapster.Tool](https://github.com/MapsterMapper/Mapster/wiki/Mapster.Tool) _**NEW!**_
179-
- [TextTemplate](https://github.com/MapsterMapper/Mapster/wiki/TextTemplate)
177+
- [Mapster.Tool](https://mapstermapper.github.io/Mapster/articles/tools/mapster-tool/Mapster-Tool-Overview.html) _**NEW!**_
178+
- [TextTemplate](https://mapstermapper.github.io/Mapster/articles/tools/TextTemplate.html)
180179
181180
## Change logs
182181

docs/Clean-and-Build-Docs.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Write-Information "Cleaning obsolete API documentation..." -InformationAction Co
3030
# Step 3: Build documentation
3131
Write-Information "Building documentation..." -InformationAction Continue
3232

33-
& .\Build-Docs.ps1 -LogLevel $LogLevel -serve $true -open-browser $true
33+
& .\Build-Docs.ps1 -LogLevel $LogLevel -serve $true -openbrowser $true
3434

3535
if ($LASTEXITCODE -ne 0) {
3636
Write-Error "Documentation build failed"

0 commit comments

Comments
 (0)