Repository: metron Updated Branches: refs/heads/master 1cd819a6b -> cf6058938
METRON-1278 Strip "Build Status" widget from root README.md in site-book build (mattf-horton) closes apache/metron#815 Project: http://git-wip-us.apache.org/repos/asf/metron/repo Commit: http://git-wip-us.apache.org/repos/asf/metron/commit/cf605893 Tree: http://git-wip-us.apache.org/repos/asf/metron/tree/cf605893 Diff: http://git-wip-us.apache.org/repos/asf/metron/diff/cf605893 Branch: refs/heads/master Commit: cf6058938cb0c16ec5bc10e0301f3e92cd802af5 Parents: 1cd819a Author: mattf-horton <[email protected]> Authored: Wed Oct 25 10:10:54 2017 -0700 Committer: mattf <[email protected]> Committed: Wed Oct 25 10:10:54 2017 -0700 ---------------------------------------------------------------------- site-book/bin/generate-md.sh | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/metron/blob/cf605893/site-book/bin/generate-md.sh ---------------------------------------------------------------------- diff --git a/site-book/bin/generate-md.sh b/site-book/bin/generate-md.sh index 686635c..818ab99 100755 --- a/site-book/bin/generate-md.sh +++ b/site-book/bin/generate-md.sh @@ -72,7 +72,9 @@ RESOURCE_LIST=( ## This is a list of duples, flattened into a bash array. Even fields are relative paths to a .md file ## that needs an href re-written to match a resource in the images/ directory. Odd fields are the corresponding ## one-line sed script, in single quotes, that does the rewrite. See below for examples. +## The first line is a special, to remove the "Build Status" variable icon widget. HREF_REWRITE_LIST=( + README.md '/!\[Build Status\](https:\/\/travis-ci.org/d' metron-deployment/Kerberos-manual-setup.md 's#(readme-images/ambari-storm-site-properties.png)#(../images/ambari-storm-site-properties.png)#g' metron-deployment/Kerberos-manual-setup.md 's#(readme-images/ambari-storm-site.png)#(../images/ambari-storm-site.png)#g' metron-deployment/Kerberos-manual-setup.md 's#(readme-images/custom-storm-site-final.png)#(../images/custom-storm-site-final.png)#g'
