From f00baf4d589a8ed9cb909f0740a9fb6adef18e6f Mon Sep 17 00:00:00 2001 From: Sakib Hadziavdic Date: Fri, 22 Mar 2024 01:34:20 +0100 Subject: [PATCH] Replace scalafiddle reference with scastie --- docs/trees/guide.md | 4 ++-- docs/trees/scalafiddle.md | 8 -------- docs/trees/scastie.md | 6 ++++++ website/sidebars.json | 2 +- 4 files changed, 9 insertions(+), 11 deletions(-) delete mode 100644 docs/trees/scalafiddle.md create mode 100644 docs/trees/scastie.md diff --git a/docs/trees/guide.md b/docs/trees/guide.md index bdbe64e218..e5551f96db 100644 --- a/docs/trees/guide.md +++ b/docs/trees/guide.md @@ -50,10 +50,10 @@ Welcome to the Ammonite Repl 2.3.8 (Scala 2.13.5 Java 11.0.7) @ import $ivy.`org.scalameta::scalameta:@VERSION@`, scala.meta._ ``` -### ScalaFiddle +### Scastie You can try out Scalameta online with the -[ScalaFiddle playground](scalafiddle.html). +[Scastie playground](scastie.html). ## What is a syntax tree? diff --git a/docs/trees/scalafiddle.md b/docs/trees/scalafiddle.md deleted file mode 100644 index e1e08277d1..0000000000 --- a/docs/trees/scalafiddle.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -id: scalafiddle -title: ScalaFiddle Playground ---- - -Scalameta runs in the browser thanks to [Scala.js](http://www.scala-js.org/). - - diff --git a/docs/trees/scastie.md b/docs/trees/scastie.md new file mode 100644 index 0000000000..22d0241b8c --- /dev/null +++ b/docs/trees/scastie.md @@ -0,0 +1,6 @@ +--- +id: scastie +title: Scastie Playground +--- + +You can try Scalameta in the browser with [Scastie](https://scastie.scala-lang.org/w2zX3RPiSkeK5gIGlDO1Mw/). diff --git a/website/sidebars.json b/website/sidebars.json index 681c738034..deb4a8f092 100644 --- a/website/sidebars.json +++ b/website/sidebars.json @@ -1,6 +1,6 @@ { "docs": { - "Trees": ["trees/guide", "trees/quasiquotes", "trees/examples", "trees/scalafiddle", "trees/astexplorer", "trees/scaladoc"], + "Trees": ["trees/guide", "trees/quasiquotes", "trees/examples", "trees/scastie", "trees/astexplorer", "trees/scaladoc"], "SemanticDB": ["semanticdb/guide", "semanticdb/specification"], "Community": ["misc/built-with-scalameta", "misc/presentations"] }