Skip to content

Commit

Permalink
Meta/Editorial: move to a pure Bikeshed build
Browse files Browse the repository at this point in the history
This removes the emu-algify part of the pipeline. The algorithms and abstract operation cross-links in this spec are not very plentiful, and so they can be handled manually, without needing a second build step.

This includes a few editorial changes as I made a pass through removing <emu-alg> elements:

- Moves "Supporting abstract operations" after "Namespace console"
- Links to more Infra terms, and uses the [=foo/bar=] linking style when appropriate
- Use |var| and `code` syntaxes throughout
- Fixes a couple wrong variables
- By virtue of Bikeshed's default styling, adds spacing in between each algorithm step
  • Loading branch information
domenic committed Sep 3, 2017
1 parent 85f43d6 commit 7fb6f1d
Show file tree
Hide file tree
Showing 4 changed files with 294 additions and 340 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: node_js
node_js: stable
sudo: false
dist: trusty
language: generic

env:
global:
Expand Down
12 changes: 3 additions & 9 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ curl https://api.csswg.org/bikeshed/ -f -F file=@$INPUT_FILE -F md-status=LS-COM
-F md-warning="Commit $SHA $COMMIT_URL_BASE$SHA replaced by $LS_URL" \
-F md-title="$TITLE (Commit Snapshot $SHA)" \
-F md-Text-Macro="SNAPSHOT-LINK $BACK_TO_LS_LINK" \
> $COMMIT_DIR/index.intermediate.html;
node_modules/.bin/emu-algify < $COMMIT_DIR/index.intermediate.html > $COMMIT_DIR/index.html
rm $COMMIT_DIR/index.intermediate.html
> $COMMIT_DIR/index.html;
mkdir $COMMIT_DIR/images
cp images/*.* $COMMIT_DIR/images/
echo "Commit snapshot output to $WEB_ROOT/$COMMITS_DIR/$SHA"
Expand All @@ -67,19 +65,15 @@ if [ $BRANCH != "master" ] ; then
-F md-warning="Branch $BRANCH $BRANCH_URL_BASE$BRANCH replaced by $LS_URL" \
-F md-title="$TITLE (Branch Snapshot $BRANCH)" \
-F md-Text-Macro="SNAPSHOT-LINK $SNAPSHOT_LINK" \
> $BRANCH_DIR/index.intermediate.html;
node_modules/.bin/emu-algify < $BRANCH_DIR/index.intermediate.html > $BRANCH_DIR/index.html
> $BRANCH_DIR/index.html;
mkdir $BRANCH_DIR/images
rm $BRANCH_DIR/index.intermediate.html
cp images/*.* $BRANCH_DIR/images/
echo "Branch snapshot output to $WEB_ROOT/$BRANCHES_DIR/$BRANCH"
else
# Living standard, if master
curl https://api.csswg.org/bikeshed/ -f -F file=@$INPUT_FILE \
-F md-Text-Macro="SNAPSHOT-LINK $SNAPSHOT_LINK" \
> $WEB_ROOT/index.intermediate.html;
node_modules/.bin/emu-algify < $WEB_ROOT/index.intermediate.html > $WEB_ROOT/index.html
rm $WEB_ROOT/index.intermediate.html
> $WEB_ROOT/index.html;
mkdir $WEB_ROOT/images
cp images/*.* $WEB_ROOT/images/
echo "Living standard output to $WEB_ROOT"
Expand Down
Loading

0 comments on commit 7fb6f1d

Please sign in to comment.