Skip to content

Commit

Permalink
Fix code blocks on Extension Points page (#1948)
Browse files Browse the repository at this point in the history
  • Loading branch information
zsmb13 committed Jun 3, 2021
1 parent d4e70e1 commit 4c6ce7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/doc/docs/developer_guide/extension_points.md
Expand Up @@ -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 {
Expand All @@ -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:
Expand Down

0 comments on commit 4c6ce7a

Please sign in to comment.