ornate icon indicating copy to clipboard operation
ornate copied to clipboard

Cross compile library for 2.11, 2.12, 2.13.

Open alexFrankfurt opened this issue 5 years ago • 2 comments

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
    )
  )

alexFrankfurt avatar Mar 23 '20 17:03 alexFrankfurt

@szeiger is this mergeable?

SethTisue avatar Dec 06 '20 01:12 SethTisue

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.

nafg avatar Jan 14 '22 03:01 nafg