Replies: 4 comments 1 reply
-
Some possible challenges Project pageThe Projects page, https://typelevel.org/projects/, has the job of quickly listing over a hundred different projects. This could be a giant markdown file, which would then make it very easy to add structure, as has been proposed before: #272 RSSThe current site's blog section has an RSS feed: https://typelevel.org/blog/feed.rss |
Beta Was this translation helpful? Give feedback.
-
I have a weird negative knee-jerk that Laika doesn't look like a community page, it looks like a documentation page. I think that's irrational pattern-matching in my head, so I don't think it's a serious argument -- just noting that reaction. I certainly like the idea in practical terms -- I'm one of the people who has tried to get things working locally and failed a couple of times, washing up on the rocky shoals of Ruby. And I love it in principle: we should be using our own tools when appropriate. But I need to better familiarize myself with how Laika works. Editing here to add more thoughts as I read into this (possibly naive, since I don't yet entirely understand the topic):
|
Beta Was this translation helpful? Give feedback.
-
Having now skimmed the full Laika docs: I'm confident that we could do this -- Laika's level of flexibility is stellar, and it's just a library at its heart, so I'd be quite surprised if there were any insuperable problems. The more interesting question is how much custom Scala code we would need in order to get the results we want. My instinct is that that wouldn't be too bad (I think we're looking more at custom templates than anything else), but it needs a bunch of experimentation. So my gut says, "yes, probably". IMO, the right next step would be essentially a research spike -- a slash-and-burn experimental project focused entirely on the interesting structural problems. The objective would be something that uses a modest amount of completely fake data, and doesn't necessarily look at all good (programmer art, basically), but shows off all the critical structural bits. In particular, this hypothetical research project would:
I don't really have time myself (I've already let myself be nerdsniped for the entire morning on this), but I'm halfway tempted to bootstrap this experiment and start kicking the tires... |
Beta Was this translation helpful? Give feedback.
-
If we don't have the ambition for all the customization that would be required of Laika, Hugo is basically Jekyll with a much longer halflife of its radioactive bits. I use it everywhere I'm not trying to squeeze everything into a JVM. |
Beta Was this translation helpful? Give feedback.
-
Our current site was built with the help of 47 Degrees (now Xebia) and has served us well for the last couple of years.
However there remains some issues that I believe would be best solved by migrating to Laika.
Unfamiliar Tech Stack
The current site uses jekyll which, while popular overall, is not particularly familiar to the Scala ecosystem.
The majority of Typelevel projects now use sbt-typelevel and Laika to manage their builds and construct a documentation site.
Typelevel developers are used to the build tooling required to update a project's documentation, it's just sbt!
The current site requires a ruby installation, and while there is a nix flake to aid with that, I have still seen several people avoid building the website locally because of unfamiliarity with the setup.
Page Discoverability
The current site's main navigation feature is the top level nav bar.
And then within one of those top level pages we can further split into sub sections on that same page:
I believe this navigation structure is too limiting.
There hasn't always been an obvious place for new content to live.
Consider the Platforms page https://typelevel.org/platforms/ which largely repeats the content found in the Projects page.
This perhaps instead could have been a sub-section of "Projects". Or each platform could have been a sub-section of Projects.
Additionally there's the GSoC page https://typelevel.org/gsoc/. This currently isn't discoverable through the main navigation.
I think the left navigation panel, that Laika offers is a much easier way to display and discover the pages available to the user.
What Next?
I am not asking for someone to go off and rebuild our site in sbt-typelevel and Laika just yet.
I think we need to discuss and think through the pro/cons.
What features does the current site have that might be hard to offer in a Laika site?
What other benefits would we get from migrating to a Laika site?
Beta Was this translation helpful? Give feedback.
All reactions