-
Notifications
You must be signed in to change notification settings - Fork 77
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
Allow text to change along with selected snippet alternative #62
Comments
Refers to akka/akka-http#527 |
By leveraging the
And you could probably also group the snippets under the div if that was desired. |
So this is needed if Akka HTTP is to switch to a "single tree". |
Doing it via JavaScript should be straightforward. If Paradox will support PDF output in the future then there will likely need to be some sort of or preprocessing involved but I suggest to not worry about that now. |
I agree, let's not think about the PDF for now at least. |
Another usecase for this that should not be forgotten is to switch between scaladoc and javadoc links. That is a user looking at java documentation would like to get a link to a corresponding javadoc and if she is browsing scala documentation, clicking on a link on a type should open a scaladoc page. |
Text switching added in #107. Should be possible to at least wrap scaladoc/javadoc in the new scala/java group directives. Makes sense to generate the switching wrappers automatically for api links though. |
Hi, where should I put JavaScript code to handle CSS classes like below which @jonas suggested?
I wanted to work on on merging Akka's Scala and Java docs, but found Akka doc has Scala-specific sections like this ( I think switching for multi-line text, including things like |
It is already supported by giving a container a specific group class:
|
Ah, I didn't realize that. Thank you very much!! |
Fixed in #116 |
In order to totally move away from page-per-language we'd need something like the below (pseudo code):
If you see what I'm getting at. This way for either language the text would "feel right".
Just putting the text into the snippet does not feel right, we'd randomly have bits inside the tab and others not.
The text was updated successfully, but these errors were encountered: