Skip to content

Commit b95d57e

Browse files
authored
fix errors in docs (#285)
1 parent 986c82f commit b95d57e

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

website/src/_data/navigation.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@
2626
"external": false
2727
},
2828
{
29-
"caption": "Installation",
30-
"url": "/getting-started/installation/",
29+
"caption": "Gradle Configuration",
30+
"url": "/getting-started/gradle-configuration/",
3131
"external": false
3232
},
3333
{
34-
"caption": "Configuration",
35-
"url": "/getting-started/configuration/",
34+
"caption": "Maven Configuration",
35+
"url": "/getting-started/maven-configuration/",
3636
"external": false
3737
}
3838
]

website/src/posts/getting-started/posts/maven.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Mappie can be configured via Maven or per Mapper. The following configuration op
5555
<option>mappie:use-default-arguments=false</option> <!-- Disable using default arguments in implicit mappings -->
5656
<option>mappie:strict-visibility=true</option> <!-- Allow calling constructors not visible from the calling scope -->
5757
<option>mappie:strict-enums=false</option> <!-- Do not report an error if not all enum sources are mapped -->
58-
<option>mappie:reporting-enabled=true</option> <!-- Enable report generation -->
58+
<option>mappie:report-enabled=true</option> <!-- Enable report generation -->
5959
</pluginOptions>
6060
```
6161

website/src/posts/object-mapping/posts/multiple-sources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ For example, suppose we want to map the sources `Person`, `Address`, and `Contac
1818
to `PersonDto`. We can write this as
1919
```kotlin
2020
object PersonDtoMapper : ObjectMappie3<Person, Address, ContactInformation, PersonDto>() {
21-
override fun mapping(first: Person, second: Address, third: ContactInformation): PersonDto = mapping {
21+
override fun map(first: Person, second: Address, third: ContactInformation): PersonDto = mapping {
2222
// mapping logic
2323
}
2424
}

website/src/posts/object-mapping/posts/transforming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ We create a mapping between `Dog` and `DogDto` via
4848
```kotlin
4949
object DogMapper : ObjectMappie<Dog, DogDto>() {
5050
override fun map(from: Dog): DogDto = mapping {
51-
DogDto::name fromProperty DogDto::name transform {
51+
DogDto::name fromProperty Dog::name transform {
5252
it ?: "unknown"
5353
}
5454
}

website/src/posts/object-mapping/posts/via.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ we can then reuse `AddressMapper` to construct a mapper for `Person` and `Person
4141
the operator `via`
4242
```kotlin
4343
object PersonMapper : ObjectMappie<Person, PersonDto>() {
44-
override fun map(from: Address) = mapping {
44+
override fun map(from: Person) = mapping {
4545
to::addressDto fromProperty from::address via AddressMapper
4646
}
4747
}

0 commit comments

Comments
 (0)