aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorMárton Braun <braunmarci@gmail.com>2021-06-03 10:34:41 +0200
committerGitHub <noreply@github.com>2021-06-03 10:34:41 +0200
commit4c6ce7a2581074c9b8f3e82fb51d2d953db0d49b (patch)
treebe8dce772a9118c0ea7ab6467fbd46bf1553798d /docs/src
parentd4e70e113ac093bdd35edd9c112b4a0addc78ab5 (diff)
downloaddokka-4c6ce7a2581074c9b8f3e82fb51d2d953db0d49b.tar.gz
dokka-4c6ce7a2581074c9b8f3e82fb51d2d953db0d49b.tar.bz2
dokka-4c6ce7a2581074c9b8f3e82fb51d2d953db0d49b.zip
Fix code blocks on Extension Points page (#1948)
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/doc/docs/developer_guide/extension_points.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/src/doc/docs/developer_guide/extension_points.md b/docs/src/doc/docs/developer_guide/extension_points.md
index 22272562..08b05e20 100644
--- a/docs/src/doc/docs/developer_guide/extension_points.md
+++ b/docs/src/doc/docs/developer_guide/extension_points.md
@@ -161,7 +161,7 @@ This step uses `CoreExtensions.allModulePageTransformer` entry point. All extens
Default core extension points already have an implementation for providing basic Dokka functionality. All of them are declared in `DokkaBase` plugin. If you don't want this default extensions to load, all you need to do is not load Dokka base and load your plugin instead.
- ```kotlin
+```kotlin
val customPlugin by configurations.creating
dependencies {
@@ -182,7 +182,7 @@ tasks {
`DokkaBase` also register several new extension points, with which you can change default behaviour of `DokkaBase` extensions. In order to use them, you need to add `dokka-base` to you dependencies:
```kotlin
- compileOnly("org.jetbrains.dokka:dokka-base:<dokka_version>")
+compileOnly("org.jetbrains.dokka:dokka-base:<dokka_version>")
```
Then, you need to obtain `DokkaBase` instance using `plugin` function: