From 4dde1468add2daca37b815594355306c5d815666 Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Tue, 9 Apr 2013 13:54:45 -0400 Subject: [PATCH] Docs: fix formatting in LocalScala from initial conversion to rST --- src/sphinx/Detailed-Topics/Local-Scala.rst | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/sphinx/Detailed-Topics/Local-Scala.rst b/src/sphinx/Detailed-Topics/Local-Scala.rst index 3f8723e51..0d90119bf 100644 --- a/src/sphinx/Detailed-Topics/Local-Scala.rst +++ b/src/sphinx/Detailed-Topics/Local-Scala.rst @@ -7,13 +7,21 @@ which is of type ``Option[File]``. This Scala version will only be used for the build and not for sbt, which will still use the version it was compiled against. -Example: ``scala scalaHome := Some(file("/path/to/scala"))`` +Example: + +:: + + scalaHome := Some(file("/path/to/scala"))`` Using a local Scala version will override the ``scalaVersion`` setting and will not work with :doc:`cross building `. sbt reuses the class loader for the local Scala version. If you recompile your local Scala version and you are using sbt interactively, -run ``text > reload`` +run + +:: + + > reload to use the new compilation results.