This is an automated email from the ASF dual-hosted git repository. dklco pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git
commit 2e8135ae3824b45be30e259fe8eef0c20353b5e1 Author: Dan Klco <[email protected]> AuthorDate: Wed Jun 6 13:15:57 2018 -0400 Fixing the javadoc badge to use the correct artifact id and fixing the url of the features pages --- gh-badge-script/add-badges.sh | 4 ++-- gh-badge-script/generate-aggregator-table.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gh-badge-script/add-badges.sh b/gh-badge-script/add-badges.sh index 716b7af..6c786d3 100755 --- a/gh-badge-script/add-badges.sh +++ b/gh-badge-script/add-badges.sh @@ -53,7 +53,7 @@ function update_badges () { fi FEATURE=$(echo $FEATURE | xargs) if [ ! -z "$FEATURE" ]; then - LINE=" [](https://github.com/apache/sling-aggregator/docs/modules.md#$FEATURE)" + LINE=" [](https://github.com/apache/sling-aggregator/docs/features/$FEATURE.md)" prepend fi fi @@ -66,7 +66,7 @@ function update_badges () { JAVADOC_BADGE_RESPONSE=$(curl -s -o /dev/null -w "%{http_code}" https://www.javadoc.io/badge/org.apache.sling/$ARTIFACT_ID.svg) if [ $JAVADOC_BADGE_RESPONSE = "200" ]; then echo "Adding Javadoc badge for $ARTIFACT_ID" - LINE=" [](https://www.javadoc.io/doc/org.apache.sling/org.apache.sling.api)" + LINE=" [](https://www.javadoc.io/doc/org.apache.sling/$ARTIFACT_ID)" prepend else echo "No published javadocs found for $ARTIFACT_ID" diff --git a/gh-badge-script/generate-aggregator-table.sh b/gh-badge-script/generate-aggregator-table.sh index f051ca2..676f001 100755 --- a/gh-badge-script/generate-aggregator-table.sh +++ b/gh-badge-script/generate-aggregator-table.sh @@ -79,7 +79,7 @@ function add_repo () { JAVADOC_BADGE_RESPONSE=$(curl -s -o /dev/null -w "%{http_code}" https://www.javadoc.io/badge/org.apache.sling/$ARTIFACT_ID.svg) if [ $JAVADOC_BADGE_RESPONSE != "404" ]; then echo "Adding Javadoc badge for $ARTIFACT_ID" - LINE=" [](https://www.javadoc.io/doc/org.apache.sling/org.apache.sling.api)" + LINE=" [](https://www.javadoc.io/doc/org.apache.sling/$ARTIFACT_ID)" write_data else echo "No published javadocs found for $ARTIFACT_ID" -- To stop receiving notification emails like this one, please contact [email protected].
