Skip to content

Commit a57bf47

Browse files
vapierrginda
authored andcommitted
libdoc: convert to markdown
This also updates the version extraction logic to skip the # markers. Change-Id: I3a87f3c94d0dc42d24d34b46fa3fc53f92c25bb3 Reviewed-on: https://chromium-review.googlesource.com/332270 Reviewed-by: Rob Ginda <rginda@chromium.org> Tested-by: Rob Ginda <rginda@chromium.org>
1 parent fc6c631 commit a57bf47

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

libdot/bin/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ function echo_changelog() {
142142
if [ -z "$key" ]; then
143143
head -n1 "$file"
144144
elif [ "$key" = "version" ]; then
145-
head -n1 "$file" | cut -f1 -d',' | sed -e 's/ //g'
145+
head -n1 "$file" | cut -f1 -d',' | sed -e 's/[ #]//g'
146146
elif [ "$key" = "date" ]; then
147147
head -n1 "$file" | cut -f2 -d',' | sed -e 's/ //g'
148148
else

libdot/doc/ChangeLog.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,46 @@
1-
1.9, 2014-05-27, Add "@eval" directive to bin/concat.sh
1+
# 1.9, 2014-05-27, Add "@eval" directive to bin/concat.sh
22

33
* Add an "@eval" directive which evaluates its operand with bash's eval
44
builtin, and appends the result to the concat output.
55

6-
1.8, 2014-04-05, Remove option parameter from result.pass()
6+
# 1.8, 2014-04-05, Remove option parameter from result.pass()
77

88
* lib.TestManager.Result.prototype.pass took an optional parameter, a message
99
to log, which was never used, and made it awkward to use
1010
result.pass.bind(result) as the value of an onSuccess callback, since any
1111
parameter passed to the callback would show up in the test log.
1212

13-
1.7, 2014-04-28, Firefox compatibility
13+
# 1.7, 2014-04-28, Firefox compatibility
1414

1515
* Fix if `(chrome...)` tests to be `if (window.chrome...)`.
1616
* Fix TextComplete exception detection.
1717

18-
1.6, 2014-02-24, lib.PreferenceManager fixes.
18+
# 1.6, 2014-02-24, lib.PreferenceManager fixes.
1919

2020
* diff() and onStorageChanged had issues dealing with boolean prefs
2121
and the change-to-default-value case. The upshot was that
2222
set(name, true/false/DEFAULT_VALUE) caused the notifyChange to be called
2323
twice.
2424

25-
1.5, 2014-01-09, Switch from BlobBuilder to Blob constructor.
25+
# 1.5, 2014-01-09, Switch from BlobBuilder to Blob constructor.
2626

2727
* BlobBuilder has been deprecated. Switch over to the blob constructor instead.
2828

29-
1.4, 2013-07-17, Add test harness.
29+
# 1.4, 2013-07-17, Add test harness.
3030

3131
* Add lib_test.html test harness.
3232
* Modify shell scripts to work on BSD.
3333

34-
1.3, 2013-04-30, Fix concat.sh append_string
34+
# 1.3, 2013-04-30, Fix concat.sh append_string
3535

3636
* Fix append_string to work with multi-line strings.
3737

38-
1.2, 2013-04-02, Add export/import methods to lib.PreferenceManager.
38+
# 1.2, 2013-04-02, Add export/import methods to lib.PreferenceManager.
3939

4040
* Add lib.PreferenceManager..exportAsJson/importFromJson methods to facilitate
4141
backup or migration of preferences.
4242

43-
1.1, 2013-03-14, Grab bag of changes.
43+
# 1.1, 2013-03-14, Grab bag of changes.
4444

4545
* Initial add of libdot changelog.
4646
* Fix file selection in libdot/bin/mkzip.sh. rsync selection wasn't working

0 commit comments

Comments
 (0)