Skip to content

Commit

Permalink
Improve Commit Snapshot setup
Browse files Browse the repository at this point in the history
They will now use a title aligned with Review Drafts, use the snapshot logo, and generally include less data that is best looked for in the Living Standard.

Depends upon speced/bikeshed#1635.

Closes whatwg/meta#88. Closes #309.
  • Loading branch information
annevk committed Mar 27, 2020
1 parent 335bfcb commit c159c71
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions resources.whatwg.org/build/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ echo ""
echo "Running deploy for commit: $SHA"
echo ""

BACK_TO_LS_LINK="<a href=/ id=commit-snapshot-link>Go to the living standard</a>"
SNAPSHOT_LINK="<a href=/commit-snapshots/$SHA/ id=commit-snapshot-link>Snapshot as of this commit</a>"

rm -rf "$WEB_ROOT" || exit 0
Expand Down Expand Up @@ -106,8 +105,7 @@ mkdir -p "$COMMIT_DIR"
curlbikeshed "$COMMIT_DIR/index.html" \
-F md-status=LS-COMMIT \
-F md-warning="Commit $SHA $COMMIT_URL_BASE$SHA replaced by $LS_URL" \
-F md-title="$H1 Standard (Commit Snapshot $SHA)" \
-F md-Text-Macro="SNAPSHOT-LINK $BACK_TO_LS_LINK"
-F md-Text-Macro="COMMIT-SHA $SHA"
copy_extra_files "$COMMIT_DIR"
run_post_build_step "$COMMIT_DIR"
echo "Commit snapshot output to $COMMIT_DIR"
Expand Down

0 comments on commit c159c71

Please sign in to comment.