Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[re-issue] dokka-customFormat-example/dokkaCustomFormat not working #2605

Closed
kjt0429 opened this issue Aug 4, 2022 · 2 comments · Fixed by #2608
Closed

[re-issue] dokka-customFormat-example/dokkaCustomFormat not working #2605

kjt0429 opened this issue Aug 4, 2022 · 2 comments · Fixed by #2608
Assignees
Labels

Comments

@kjt0429
Copy link

kjt0429 commented Aug 4, 2022

Describe the bug
dokka-customFormat-example not wokring

I also tried what you said in the comments.
#2584

but not working.
(./gradlew dokkaHtml and ./gradlew dokkaCustomFormat)

Expected behaviour
ktor-logo.png is shown. (left-top)

Screenshots
screenshot

To Reproduce

  1. pull this repository
  2. cd /dokka/examples/gradle/dokka-customFormat-example
  3. run sh (./gradlew dokkaHtml or ./gradlew dokkaCustomFormat)
  4. i expect that left-top icon is ktor-logo.png. but nothing.

Installation

  • Operating system: macOS
  • Build tool: Gradle v6.6.0
  • Dokka version: 1.7.10
@kjt0429 kjt0429 added the bug label Aug 4, 2022
@kjt0429
Copy link
Author

kjt0429 commented Aug 4, 2022

i update .css

.library-name a {
position: relative;
--logo-width: 50px;
--logo-space: 20px;
margin-left: calc(var(--logo-width) + var(--logo-space));
}

.library-name a::before {
content: '';
background: url("../images/ktor-logo.png") center no-repeat;
background-size: contain;
position: absolute;
width: var(--logo-width);
height: 50px;
top: -18px;
left: calc(-1 * var(--logo-width) - var(--logo-space));
}

it is working

@IgnatBeresnev
Copy link
Member

Hi! Wow, it indeed is a bug. It seems like the example is outdated. Thanks for re-opening the issue.

I'll update it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants