Files
tasks/docs/Makefile
T
Stephan BehnkeandGitHub 02a9896e1a Tweak retry documentation (#5998)
## What changed?
<!-- Describe what has changed in this PR -->

Added a diagram to the retries.md docs.

## Why?
<!-- Tell your future self why have you made these changes -->

To make it clearer what's going on.

## How did you test it?
<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->

## Potential risks
<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->

## Documentation
<!-- Have you made sure this change doesn't falsify anything currently
stated in `docs/`? If significant
new behavior is added, have you described that in `docs/`? -->

## Is hotfix candidate?
<!-- Is this PR a hotfix candidate or does it require a notification to
be sent to the broader community? (Yes/No) -->
2024-05-24 14:25:19 -07:00

12 lines
364 B
Makefile

.DEFAULT_GOAL := update-diagrams
COLOR := "\e[1;36m%s\e[0m\n"
DIAGRAMS := $(wildcard ./_assets/*.d2)
install-d2:
@printf $(COLOR) "Install d2..."
@go install oss.terrastruct.com/[email protected]
update-diagrams: install-d2
@printf $(COLOR) "Update diagrams"
$(foreach DIAGRAM, $(DIAGRAMS), $(shell d2 --layout elk --theme 7 --dark-theme 200 $(DIAGRAM) $(NEWLINE)))