Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatting problem in docs #970

Closed
Blaisorblade opened this issue Nov 11, 2013 · 1 comment
Closed

Formatting problem in docs #970

Blaisorblade opened this issue Nov 11, 2013 · 1 comment

Comments

@Blaisorblade
Copy link
Contributor

|release| should be 0.13.0 in the text below from the docs, but for some reason it isn't:

You can force a particular version of sbt by creating a file hello/project/build.properties. In this file, write:

sbt.version=|release|

to force the use of sbt 0.13.0. sbt is 99% source compatible from release to release. Still, setting the sbt version in project/build.properties avoids any potential confusion.

What's strange is that in the sources, |release| appears twice and is substituted only once (in the text, but not in the code block); but above, |scalaRelease| is correctly formatted, even though it appears in a code block.

The offending source was introduced by
c14179c#diff-3e84e04dc4c79f9b2d9e85bc4c0d4d6eR84, but I cannot see anything obviously wrong with the code.

@harrah
Copy link
Member

harrah commented Nov 11, 2013

Thanks a lot for pointing it out. The problem was due to a quirk in the substitution syntax that requires the previous character to be alphanumeric or a space.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants