Skip to content

Commit d324c8f

Browse files
committed
Merge branch 'fix-answers-links'
2 parents f000926 + 29fc378 commit d324c8f

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

website/docs/Guides/Answers.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,8 @@ everySuspend { repository.findById(any()) } calls {
248248
The answers API provides a way to define custom behavior for mocked method calls in Mokkery.
249249
It is built around two core interfaces:
250250

251-
- [AnsweringScope](https://mokkery.dev/api_reference/mokkery-runtime/dev.mokkery.answering/-answering-scope/index.html)
252-
- [Answer](https://mokkery.dev/api_reference/mokkery-runtime/dev.mokkery.answering/-answer/index.html)
251+
- [AnsweringScope](pathname:///api_reference/mokkery-runtime/dev.mokkery.answering/-answering-scope/index.html)
252+
- [Answer](pathname:///api_reference/mokkery-runtime/dev.mokkery.answering/-answer/index.html)
253253

254254
```kotlin
255255
@DelicateMokkeryApi
@@ -367,7 +367,7 @@ This is simpler and avoids extra boilerplate.
367367
#### Answer description
368368

369369
The `Answer` interface lets you implement a `description()` method, which provides a human-readable explanation of the answer.
370-
This is especially useful for debugging, e.g., with [printMokkeryDebug](https://mokkery.dev/api_reference/mokkery-runtime/dev.mokkery.debug/print-mokkery-debug.html)
370+
This is especially useful for debugging, e.g., with [printMokkeryDebug](pathname:///api_reference/mokkery-runtime/dev.mokkery.debug/print-mokkery-debug.html)
371371

372372
The description should resemble the code usage:
373373
```kotlin
@@ -386,10 +386,10 @@ private class ReturnsDelayedAnswer<T>(private val value: T) : Answer<T> {
386386

387387
When implementing custom answers, these helper interfaces can useful:
388388

389-
- [Answer.Suspending](https://mokkery.dev/api_reference/mokkery-runtime/dev.mokkery.answering/-answer/-suspending/index.html) - For suspend-only answers.
389+
- [Answer.Suspending](pathname:///api_reference/mokkery-runtime/dev.mokkery.answering/-answer/-suspending/index.html) - For suspend-only answers.
390390
Provides a default blocking implementation that throws an exception.
391-
- [Answer.Blocking](https://mokkery.dev/api_reference/mokkery-runtime/dev.mokkery.answering/-answer/-blocking/index.html) - For blocking-only answers.
391+
- [Answer.Blocking](pathname:///api_reference/mokkery-runtime/dev.mokkery.answering/-answer/-blocking/index.html) - For blocking-only answers.
392392
Provides a default suspend implementation that throws an exception.
393-
- [Answer.Unified](https://mokkery.dev/api_reference/mokkery-runtime/dev.mokkery.answering/-answer/-unified/index.html) - Adds a third call overload with MokkeryCallScope.
393+
- [Answer.Unified](pathname:///api_reference/mokkery-runtime/dev.mokkery.answering/-answer/-unified/index.html) - Adds a third call overload with MokkeryCallScope.
394394
The other two overloads delegate to this method, so you only need to implement one function.
395395
Useful when the same logic applies to both blocking and suspend contexts.

0 commit comments

Comments
 (0)