-
Notifications
You must be signed in to change notification settings - Fork 146
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
Add scala-js-dom docs as submodule #609
base: main
Are you sure you want to change the base?
Conversation
3507b22
to
37be424
Compare
@sjrd actually this is what I was wondering your opinion on. Do you think it's too complex? |
Sorry for the late reply. Mostly, my opinion here is that I don't see the point. In other words, why should we integrate the docs of scalajs-dom in scala-js.org, as opposed to publishing them in the same way that every other library publishes docs (i.e., on GitHub pages or directly on javadoc.io)? |
Because to get a nicely styled site takes an annoying amount of configuration, CSS, templates, etc.. Here we are getting a documentation page that perfectly follows the scala-js.org styling for virtually no effort. |
Doesn't mdoc give you a nicely styled site by default? |
It doesn't, it's just a |
What do people usually do when they use mdoc, then? They don't care? |
Many projects use Docusaurus. sbt-typelevel projects use Laika. No matter what we do, we're going to need some more configuration. May I ask your objection to this approach? It's totally valid to say, I just don't like it 😛 |
I guess my objection amounts to "I don't like it", yes. I don't think we should special-case scalajs-dom in scala-js.org. Promote, certainly (and we do promote other libraries as well, notably Laminar). But integrate its documentation? It doesn't make sense to me. Or rather, if we did integrate its documentation, why don't we integrate that of Laminar and other libraries that users are actually more likely to directly use from Scala.js code? |
Thanks for clarifying, I appreciate it!
To be honest I don't really understand this at all. It's already special-cased by living in this org and publishing under the group id. Unless you also don't like this? I'm not advocating we link to it or anything from the rest of the website. Given its status in the org, it seems natural for it to be styled with the scala-js.org style and under the scala-js.org url.
You mean, like this? 😛 https://www.scala-js.org/doc/tutorial/laminar.html Sorry, I really don't get it 🙂 |
That is a different level. It is in the organization and its group ID as a strong message that it is the underlying DOM library that other libraries should reference if they expose DOM stuff in their API. In a sense, it's a common interchange API. IIRC you were part of the discussions when we transferred its maintenance, weren't you?
Ah ah, to be honest that makes even less sense to me, actually. If we're not going to link to it from the rest of the website, why is it on this website? All parts of a website should always be reachable from the top.
If we truly thought directly using scalajs-dom is the recommended way to learn about Scala.js, then yes, exactly like this. But I don't think this is what we want to promote as the getting started experience with Scala.js.
Meh. I guess it's a disagreement stalemate 🤷♂️ We could ask on Discord what people think with 👍 and 👎 reactions to the PR perhaps? |
I mean, if a few random Discord 👍s would change your mind we can do that ... but it does make me question the value of my (and @zetashift's) opinions as the actual volunteer maintainers :) I'd be shocked if anyone cares. My goal here is to minimize maintenance burden and get something reasonably nice. Given the length of this discussion, we've probably already failed at that 😂 At the end of the day scala-js.org is your website, if you don't want to do it for any reason whatsoever, let's close this PR and move on :) |
If I've given the impression that I don't value your opinion, I apologize. The opinion of actual volunteer maintainers has of course much more weight than of random users. I was only suggesting that as a way to perhaps resolve the disagreement between your opinion and my own. If at all, I'd like to think that it is a sign that I value your opinion as much as my own. |
If there would be a poll on Discord, I'd imagine this result as well. So the value in this PR is:
If I look at this PR, it really is like a simple and lightweight solution, even tho it feels like an icky entanglement between A middleway might be to add a similiar page like the Laminar tutorial but for |
@sjrd sorry for the ping, but do you think you could take a look again? Maybe a decent middleground would be doing polls on |
Sorry I've been silent on this. @sjrd so here's the thing ... over the last couple years I've watched and deeply admired how you work and collaborate with others. Now I could be wrong, but based on what I've seen, I believe if you felt strongly about this issue you wouldn't suggest it be resolved by a Discord poll. So yeah, I realize it's not your intent, but I do feel insulted and disrespected by your suggestion. It seems you don't feel strongly, but here we are, the volunteer maintainers. Of course we value your opinion here and and after having considered it we still feel that this approach overall makes the most sense. Our goal is to have nice documentation and minimize our volunteer maintenance burden. We feel strongly about this and it is hurtful that instead of trusting us on this one, you'd rather do something between a coin flip and a popularity contest. |
Demonstration of my proposal from scala-js/scala-js-dom#766 (review).