-
Notifications
You must be signed in to change notification settings - Fork 106
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
ALR Skunkworks testing: Java as a docs language #1267
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for tbd-website-developer ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@dayhaysoos This works in Non-blocking, non-critical. This whole thing is my side project ATM. |
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.
Please make a clone of this doc and experiment with that one. I'm trying to get everyone to stop experimenting in our most widely used guide, as we've had to urgently do a fast-follow twice before (late at night) when changes have been merged and this top priority doc has been broken
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.
Pay no attention to that man behind the curtain. 🤣
Looks like I picked a hot article to port over as my end-to-end test. Not to worry - this PR isn't destined for any merge to main
until we have cross-team coordination. It introduces an experimental feature I'm vetting. You won't be needing any late night fixes from this, my Island of Misfit Toys.
These are the errors on
|
04d236e
to
470edaa
Compare
* Configure Kotlin and Java sources to coexist in the testsuite * Make a real Java port of an existing Kotlin test * Hook Java snippets into docs * Add Java support to Shnippet * Configure Docusaurus CodeBlock component for Java syntax highlighting * Add Java support to CodeSnippet component * Work around a ReDoc bug (java language support needs scala too)
470edaa
to
cac3666
Compare
Rebased on |
Will reopen as draft and restoring branch; don't want to lose this work. If we need to move off somewhere for clarity, let's. But we shouldn't delete it entirely, may have value looking forward if we enable Java as a docs language. |
This is a test; as of now, it's not an incoming PR.
A little trial I'm vetting to see the lift involved in writing Java docs examples calling upon the JVM bytecode available to it from
tbdex-kt
andweb5-kt
.Looks like:
TODO:
testsuite-kotlin
totestsuite-jvm
or even better, justjvm
alongside the other suite becomingjs
instead oftestsuite-js
import
statements in the trial Java test to come from real code, and surface in docs