From f5d0f3698863b46485e3f1f2afbfc37bff0ccf4e Mon Sep 17 00:00:00 2001 From: Gavin Nishizawa Date: Fri, 10 Feb 2023 18:10:10 -0800 Subject: [PATCH 1/2] update example d2 file --- docs/examples/twitter/in.d2 | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/examples/twitter/in.d2 b/docs/examples/twitter/in.d2 index 19fbc9b6a..b39815ec2 100644 --- a/docs/examples/twitter/in.d2 +++ b/docs/examples/twitter/in.d2 @@ -10,7 +10,7 @@ timeline mixer: "" { } People discovery: "People discovery \nservice" admixer: Ad mixer { - fill: "#c1a2f3" + style.fill: "#c1a2f3" } onboarding service: "Onboarding \nservice" @@ -54,7 +54,7 @@ Android: { web -> twitter fe timeline scorer: "Timeline\nScorer" { - fill: "#ffdef1" + style.fill: "#ffdef1" } home ranker: Home Ranker @@ -66,7 +66,7 @@ timeline mixer -> home ranker: { } timeline mixer -> timeline service home mixer: Home mixer { - # fill: "#c1a2f3" + # style.fill: "#c1a2f3" } container0.graphql -> home mixer: { style.stroke-dash: 4 @@ -93,7 +93,7 @@ prediction service2: Prediction Service { icon: https://cdn-icons-png.flaticon.com/512/6461/6461819.png } home scorer: Home Scorer { - fill: "#ffdef1" + style.fill: "#ffdef1" } manhattan: Manhattan memcache: Memcache { @@ -101,15 +101,16 @@ memcache: Memcache { } fetch: Fetch { - multiple: true + style.multiple: true shape: step } + feature: Feature { - multiple: true + style.multiple: true shape: step } scoring: Scoring { - multiple: true + style.multiple: true shape: step } fetch -> feature From 99a75463a2c26bc75dde49b2e31987420c1471b0 Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Sun, 12 Feb 2023 07:45:29 -0800 Subject: [PATCH 2/2] Makefile: Revert unset GITHUB_TOKEN Made the change in terrastruct/ci repo instead. --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f3484eb54..8fd431900 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,7 @@ all: fmt gen lint build test .PHONY: fmt fmt: - # Unset GITHUB_TOKEN, see https://github.com/terrastruct/d2/commit/335d925b7c937d4e7cac7e26de993f60840eb116#commitcomment-98101131 - prefix "$@" GITHUB_TOKEN= ./ci/sub/bin/fmt.sh + prefix "$@" ./ci/sub/bin/fmt.sh .PHONY: gen gen: prefix "$@" ./ci/gen.sh