Commit Graph

12 Commits

Author SHA1 Message Date
Kurtis Rader
d4b4edbbbe Replace legacy lambda with new lambda examples
I was surprised to see so many legacy lambda syntax examples in the
documentation. This replaces all of them with the new syntax -- excluding
the handful of cases meant to explicitly verify the legacy form is still
valid. This also adds a link to the issue in the release notes which
documents the change in syntax.

Related #664
2021-11-28 21:30:59 +00:00
Qi Xiao
196eea21d4 Change module import path to src.elv.sh 2021-01-27 01:30:25 +00:00
Kurtis Rader
f94a0ec735 Trivial documentation consistency change
I noticed that most places in the documentation that emit a "note"
about Elvish behavior use `**Note**:`. There were two places that use
all uppercase. Make those consistent with the other uses. Also clarify
the note associated with the `not` builtin.
2020-12-25 17:43:32 +00:00
Qi Xiao
ad9c93df9d pkg/eval: Styled -> styled. 2020-09-04 22:15:29 +01:00
Qi Xiao
9b2b33b429 pkg/eval: Move elvdoc comments before the implementations. 2020-08-16 18:46:29 +01:00
Kurtis Rader
2d86a2453d Clarify the rules for using styled #RGB values
Document that an unqouted `#` character has special meaning to the Elvish
parser in the context of passing `#RGB` values to the `styled` command.
Also document the `fg-` color name prefix.
2020-05-18 00:25:05 +01:00
Kurtis Rader
f9d90f0225 Fix formatting of the styled documentation 2020-04-13 02:32:08 +01:00
Qi Xiao
79ed2c5549 pkg/eval: Fix the indentation in the styled doc. 2020-04-10 18:27:37 +01:00
Qi Xiao
096ee354d6 pkg/eval: Simplify API for output capture. 2020-04-10 01:12:25 +01:00
Qi Xiao
5588cda927 pkg/ui: Style.ImportFromOptions -> .MergeFromOptions. 2020-04-01 00:39:02 +01:00
Qi Xiao
41985123d3 Move all docs for builtins to the Go code. 2020-01-18 08:12:50 -05:00
Qi Xiao
e45fdf7228 Move all libraries to new pkg/. 2019-12-23 20:00:59 +00:00