szeiger / ornate

A Markdown-based site generator
http://szeiger.github.io/ornate-doc/
Other
80 stars 12 forks source link

Cross compile library for 2.11, 2.12, 2.13. #20

Closed alexFrankfurt closed 1 year ago

alexFrankfurt commented 4 years ago

This allows me to build documentation site in slick project for each scala version at slick/slick#2106.

  override lazy val projectSettings = inConfig(Ornate)(Defaults.configSettings) ++ Seq(
    ornateBaseDir := Some(sourceDirectory.value),
    ...
    libraryDependencies ++= Seq(
      BuildInfo.organization %% BuildInfo.name % BuildInfo.version % Ornate,
      "org.scala-lang" % "scala-library" % BuildInfo.scalaVersion % Ornate
    )
  )
SethTisue commented 3 years ago

@szeiger is this mergeable?

nafg commented 2 years ago

This is really unfortunate. I'm practically done migrating Slick to Paradox because in order to support Scala 3 we need to drop 2.12 but then we can't run Ornate. But it feels like a big downgrade. Ornate has a lot of features and just seems much better designed than Paradox.

That's after I spent a lot of time trying to do it in Docusaurus, because I've heard chatter about that, as well as mdoc which "support" for Docusaurus (which doesn't amount to doing much anyway AFAICT).

Unless this is merged and published very soon, or someone thinks Ornate should be forked, the Paradox Slick site should go live soon G-d willing. It lacks a version selector, a search function, and an index page (which Slick has now, in the sense of a book index or an All Tags page).

Those could be implemented of course (volunteers welcome) but I don't think they're essential to eliminating this obstacle to Scala 3 support.