Skip to content

Commit

Permalink
Merge pull request #86 from olafurpg/upgrade
Browse files Browse the repository at this point in the history
Upgrade dependencies
  • Loading branch information
olafurpg authored Sep 29, 2018
2 parents 9b2b0c9 + 1c2e384 commit 1a1cb4d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
12 changes: 6 additions & 6 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
inThisBuild(
List(
scalaVersion := "2.12.6",
scalaVersion := "2.12.7",
organization := "com.geirsson",
licenses := Seq(
"Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")
Expand All @@ -26,8 +26,8 @@ inThisBuild(
name := "mdocRoot"
skip in publish := true
val V = new {
val scalameta = "4.0.0-M8"
val scalafix = "0.6.0-M14"
val scalameta = "4.0.0"
val scalafix = "0.9.0-RC1"
}

lazy val runtime = project
Expand Down Expand Up @@ -62,10 +62,10 @@ lazy val mdoc = project
"org.scala-lang" % "scala-compiler" % scalaVersion.value,
"org.scalameta" %% "scalameta" % V.scalameta,
"com.geirsson" %% "metaconfig-typesafe-config" % "0.8.3",
"com.vladsch.flexmark" % "flexmark-all" % "0.26.4",
"com.vladsch.flexmark" % "flexmark-all" % "0.34.44",
"com.lihaoyi" %% "fansi" % "0.2.5",
"io.methvin" % "directory-watcher" % "0.7.0",
"me.xdrop" % "fuzzywuzzy" % "1.1.9", // for link hygiene "did you mean?"
"io.methvin" % "directory-watcher" % "0.8.0",
"me.xdrop" % "fuzzywuzzy" % "1.1.10", // for link hygiene "did you mean?"
"ch.epfl.scala" %% "scalafix-core" % V.scalafix
)
)
Expand Down
8 changes: 0 additions & 8 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ List(x, x)
```
````


Then we generate the site using either the [command-line](#command-line)
interface or [library API](#library). The resulting readme will look like this

Expand All @@ -93,7 +92,6 @@ List(x, x)
```
````


Observe that `MY_VERSION` has been replaced with `1.0.0` and that the
`scala mdoc` code fence has been interpreted by the Scala compiler.

Expand Down Expand Up @@ -300,7 +298,6 @@ $table
```
````


After:

````
Expand All @@ -317,7 +314,6 @@ Look at the table:
| 4 | 8 | 12 | 16 |
````


### Scastie

The `scastie` modifier transforms a Scala code block into a
Expand Down Expand Up @@ -345,7 +341,6 @@ After:
<script src='https://scastie.scala-lang.org/xbrvky6fTjysG32zK6kzRQ.js?theme=light'></script>
````


or in case of a user's snippet:


Expand All @@ -363,7 +358,6 @@ After:
<script src='https://scastie.scala-lang.org/MasseGuillaume/CpO2s8v2Q1qGdO3vROYjfg.js?theme=light'></script>
````


> ⚠️ The empty line in the block can't be omitted due to how the Markdown parser
> works
Expand Down Expand Up @@ -399,7 +393,6 @@ scalaVersion: '2.12.6'
})</script>
````


> ⚠️ Inline snippets are slower to run than embedded ones, since they won't be
> cached. You should prefer embedding existing snippets whenever possible.
Expand Down Expand Up @@ -514,7 +507,6 @@ Link to [old section](#doesnotexist).
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
````


Observe that mdoc suggests a fix if there exists a header that is similar to the
unknown link.

Expand Down

0 comments on commit 1a1cb4d

Please sign in to comment.