-
Notifications
You must be signed in to change notification settings - Fork 408
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
On this page #1504
On this page #1504
Conversation
27f9716
to
1fc987b
Compare
fd5db51
to
6cc6334
Compare
plugins/base/src/main/kotlin/allModulePage/MultimodulePageCreator.kt
Outdated
Show resolved
Hide resolved
@@ -103,6 +106,7 @@ open class HtmlRenderer( | |||
} | |||
node.hasStyle(TextStyle.Paragraph) -> p(additionalClasses) { childrenCallback() } | |||
node.hasStyle(TextStyle.Block) -> div(additionalClasses) { childrenCallback() } | |||
node.isAnchorable -> buildAnchor(node.anchor, node.anchorLabel!!, node.sourceSetsFilters) { childrenCallback() } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Must we have a !!
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, because without it this doesn't make sense.
Also this wont produce NPE since isAnchorable
checks if anchorLabel
!= null
d1d2b32
to
c5d54af
Compare
I dont know if you have realized but this PR depends on: #1307, so this one also needs a review ;D |
6cc6334
to
b7dfbf3
Compare
c5d54af
to
8819dc9
Compare
03f7099
to
2c9e112
Compare
9ca5ae7
to
cee5ab7
Compare
/rebase |
1c2006b
to
7bceb0a
Compare
7bceb0a
to
fe86ded
Compare
Component is available on pages with tabs and anchors as for other pages it doesn't make sense.
It is made to be on hover, just to quickly navigate to desired section.
What do you think about it?