summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@mongodb.com>2015-12-08 14:08:21 +1100
committerMichael Cahill <michael.cahill@mongodb.com>2015-12-08 14:08:21 +1100
commitf1b011ab23909a291b53df3e4d651c276dfb601b (patch)
treef7f8757e3add185ad7878570fa5d15aaac89fc5d
parentdc38ce52ec5998f7f09c64b233e7f0933c697fa6 (diff)
downloadmongo-f1b011ab23909a291b53df3e4d651c276dfb601b.tar.gz
Turn git hashes and jira issues in NEWS into links in the generated docs.
-rwxr-xr-xdist/s_docs3
1 files changed, 2 insertions, 1 deletions
diff --git a/dist/s_docs b/dist/s_docs
index 96cacd3fb34..c66bcb0bd06 100755
--- a/dist/s_docs
+++ b/dist/s_docs
@@ -22,7 +22,8 @@ changelog()
(echo "WiredTiger Change Log"
echo "====================="
echo
- cat ../NEWS) > ../src/docs/changelog.md
+ sed -e 's, \([0-9a-f]\{7\}\) , [\1](https://github.com/wiredtiger/wiredtiger/commit/\1) ,g' \
+ -e 's,\(\(WT\|SERVER\)-[0-9]*\),[\1](https://jira.mongodb.org/browse/\1),g' ../NEWS) > ../src/docs/changelog.md
}
wtperf_config()