Commit Graph

19 Commits

Author SHA1 Message Date
Ikenna Nwaiwu 5174f44dc3 Update Tasks.rst
Updating typo in documentation
2013-11-25 08:22:16 -05:00
Mark Harrah 818f4f96fb Docs: add section on Task.taskDyn. Fixes #999. 2013-11-24 18:24:15 -05:00
Mark Harrah 28a4bb3642 Docs: Add and use custom 🔑 role that links to the val in sxr/sbt/Keys.scala. 2013-09-26 18:26:19 -04:00
Mark Harrah c14179c358 Docs: custom role 'codeliteral' to allow substitutions in inline code
The built-in 'literal' role implements ``.  It tokenizes the
literal string to attempt some particular wrapping behavior.
This puts parts of the string in different spans, each with
class='pre' and the previous docs.css had a padding for that
class.  This led to excessive space within the literal string.

The custom role does no do this tokenization, but nested
inline parsing can result in multiple nodes, repeating the
problem.  So, the padding for class='pre' is dropped.  Ideally,
the sequence of nodes would simply be wrapped in an inline element
with class='pre' or some other proper solution that avoids having
multiple nodes.

To avoid wrapping in the middle of a literal, the 'pre' class
now has the style `white-space: pre;`.

The default role is now 'codeliteral' and the previous
uses of the built-in `` are converted to `.  Some incorrectly
converted code blocks were fixed in the process.

Finally, the Global-Settings page is updated with the new location
for the global sbt directory.  Due to the above changes, this could
be done without hardcoding the version.
2013-07-29 07:27:17 -04:00
Mark Harrah 914afb1ca4 Docs: Use more lazy vals on Tasks.
The plain vals were technically correct, but new users don't
necessarily understand Scala initialization order.
2013-07-15 07:36:54 -04:00
Mark Harrah bd2a8e3afb Docs: note about postfix precedence on Tasks page 2013-04-01 11:39:02 -04:00
Mark Harrah d6ef9b0154 Docs: fix ScopeFilter API doc links 2013-03-28 16:08:23 -04:00
Mark Harrah 24fc00ddd5 Docs: escape the - in -b, since it gets interpreted as an option list otherwise 2013-03-28 16:08:23 -04:00
Mark Harrah 5f648d449a Docs: list multi-scope selection on changes page 2013-03-27 09:17:54 -04:00
Mark Harrah 8b68e0f09e Docs: add section on getting values from multiple scopes 2013-03-27 09:17:53 -04:00
Mark Harrah 7ad678f4a4 Docs: cleaned up Tasks pages: clarified its purpose and reorganized 2013-03-27 09:17:53 -04:00
Mark Harrah 27a630e0d0 Docs: more 0.13 cleanup
* Drop dependOn, dependsOn.  These are rarely the right method to call.
* Drop references to ~= in favor of just :=.
* Drop a .scala example where a .sbt example suffices.
2013-03-12 09:20:20 -04:00
Mark Harrah ce439efab3 Convert references to harrah/xsbt to sbt/sbt 2013-01-04 17:22:40 -05:00
Mark Harrah 77a709df13 doc fixes 2012-12-02 03:17:20 -05:00
Mark Harrah 3bff14d77a taskKey,settingKey,inputKey macros to get name from the defining val 2012-12-02 03:17:20 -05:00
Mark Harrah 538f687208 Use and methods instead of mapR,mapFailure,flatFailure,flatMapR 2012-12-02 03:17:19 -05:00
Mark Harrah 132e29415b Docs: initial pass for updated task syntax, vals in .sbt, camelCase 2012-11-19 22:14:12 -05:00
Mark Harrah 3acc17d259 doc updates, conversions, howto extension, theme from akka 2012-09-30 20:36:38 -04:00
Mark Harrah b98e12e9dd first step in md -> rst conversion 2012-09-30 20:36:38 -04:00