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
Consolidate routing-dsl index #1600
Conversation
Test FAILed. |
(CI fails because we haven't released a paradox with lightbend/paradox#170 yet) |
Test FAILed. |
0a5094b
to
23abfff
Compare
Test FAILed. |
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.
LGTM
|
||
See @ref[HttpApp Bootstrap](HttpApp.md) for more details about setting up a server using this approach. | ||
|
||
<a id="long-example"></a> | ||
@@@ div { .group-scala } |
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.
Pity to have this only for Scala, but this can come in another PR
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.
Added #1639
@@ -1,3 +1,10 @@ | |||
@@@ div { .group-java } | |||
|
|||
This DSL is only relevant when using the Scala API. |
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.
Should we then hide it completely maybe?
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.
The question is what should happen when you are on the Scala version of this page and switch to the Java version.
We could go fancy and use page attributes to mark the whole page as scala-only, and then generate a page that does a redirect (though to where?) for when you hit the the java version (lightbend/paradox#169 might be an inspiration)... but that seems kind of tricky, this should be nice and simple for now :).
@raboof could you resolve the conflicts for this? I'd love to have this merged, as I'm working on the |
@jlprat I'd be happy to resolve the conflicts, but for this to actually work we'd need a paradox version with lightbend/paradox#170 to be released.. I guess we could temporarily merge without that, but it would show the Scala-only sections in the Java version of the documentation. |
I copied your changes for that page to #1658 so you can wait to merge this one if you want :) |
Test FAILed. |
Needs a paradox update to remove scala-specific elements from the indexes
67302db
to
bb87788
Compare
Test PASSed. |
Great, thanks @raboof for making sure we improve paradox as we go 👍 |
Refs #1290
Needs a paradox with lightbend/paradox#170 to remove scala-specific elements from
the indexes