-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
misc: disable search and address some accessibility violations (#1154)
- Loading branch information
Showing
5 changed files
with
46 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"id": "ef256fac-bada-4c42-8632-577faeac6800", | ||
"type": "misc", | ||
"description": "Disable search and address accessibility violations in documentation" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
dokka-aws/src/main/kotlin/aws/sdk/kotlin/dokka/transformers/NoOpSearchbarDataInstaller.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package aws.sdk.kotlin.dokka.transformers | ||
|
||
import org.jetbrains.dokka.base.renderers.html.SearchRecord | ||
import org.jetbrains.dokka.base.renderers.html.SearchbarDataInstaller | ||
import org.jetbrains.dokka.pages.DriResolver | ||
import org.jetbrains.dokka.plugability.DokkaContext | ||
|
||
/** | ||
* Disable the search bar data (pages.json). | ||
*/ | ||
class NoOpSearchbarDataInstaller(context: DokkaContext) : SearchbarDataInstaller(context) { | ||
override fun generatePagesList(pages: List<SignatureWithId>, locationResolver: DriResolver): List<SearchRecord> = listOf() | ||
} |