Anmol Sethi
820226c72b
lib/xexec: rm -rf
2022-12-01 11:48:49 -08:00
Anmol Sethi
6139c35af2
watch: Move xbrowser to util-go and fix
...
Closes #175
Closes #205
2022-12-01 11:48:49 -08:00
Júlio César Batista
21083910e5
Rename to Layout
2022-12-01 11:47:27 -08:00
Anmol Sethi
a05ba67a36
go2: rm -rf
2022-12-01 10:49:15 -08:00
Júlio César Batista
7f26540d64
Layout sequence diagrams before running the layout engine
2022-12-01 10:47:46 -08:00
Anmol Sethi
83872ee1c0
Merge pull request #310 from nhooyr/testdata-2322
...
lib/diff: Delete in favour of util-go
2022-12-01 10:27:45 -08:00
Anmol Sethi
dd4a7bc2df
lib/diff: Delete in favour of util-go
2022-12-01 10:23:48 -08:00
Anmol Sethi
207a445766
Merge pull request #309 from nhooyr/urlenc-a461
...
compress -> urlenc
2022-12-01 10:15:52 -08:00
Anmol Sethi
712217050b
compress -> urlenc
...
And associated cleanup.
Blocked until oss.terrastruct.com/util-go is importable.
2022-12-01 10:06:28 -08:00
Anmol Sethi
349d902ffc
Merge pull request #308 from nhooyr/tocsubst-39f7
...
Add markdown TOC generation using pandoc and shell
2022-12-01 09:55:49 -08:00
Anmol Sethi
91ac1280b3
ci/fmt.sh: More efficient
2022-12-01 09:54:09 -08:00
Anmol Sethi
b81647e7e3
Add markdown TOC generation using pandoc and shell
...
See a875763ecc/lib/misc.sh (L28)
The TOC is generated via pandoc and inserted via shell. `<!-- toc -->`
marks the insertion point, the TOC is inserted right below.
I'm using this in utils-go too. We should use it anywhere else we need
TOCs. I'm sure pandoc can handle the frontmatter in d2-docs too.
2022-12-01 09:54:09 -08:00
Anmol Sethi
0cb71095b7
Merge pull request #292 from nhooyr/autofmt-f0d3
...
d2format: Expose in CLI under fmt subcommand
2022-12-01 09:52:30 -08:00
Anmol Sethi
cdffedb9df
pr292: Review fixes
2022-12-01 09:24:50 -08:00
Anmol Sethi
f7623a2057
main: Error on arguments to version subcmd
2022-12-01 09:24:48 -08:00
Anmol Sethi
fcb41107db
d2format: Expose in CLI under fmt subcommand
...
Closes #289
2022-12-01 09:24:48 -08:00
Anmol Sethi
2df2c781e9
lib/xmain: Print usage info in separate log
2022-12-01 09:24:48 -08:00
Anmol Sethi
80b9d1b057
ci/dev.sh: Add
2022-12-01 09:24:48 -08:00
Anmol Sethi
d21e36b407
Merge pull request #293 from nhooyr/improve-watch-ab11
...
watch.go: Ignore first error in ensureAddWatch
2022-12-01 09:19:08 -08:00
Anmol Sethi
fa217fdab6
watch.go: Ignore first error in ensureAddWatch
...
Will prevent the benign watching errors we've been seeing.
I feel like there was an open issue for this but I cannot find it.
2022-12-01 09:17:16 -08:00
Anmol Sethi
026959bc57
Merge pull request #306 from nhooyr/textmeasure-ab94
...
Move textmeasure into lib
2022-12-01 08:57:18 -08:00
Anmol Sethi
11a93df61c
make.sh: Fix
2022-12-01 06:51:17 -08:00
Anmol Sethi
c4ef432daf
Move textmeasure into lib
...
It's not a d2renderer.
2022-12-01 06:51:17 -08:00
Anmol Sethi
8a7f9589f6
daily.yml: Simplify
2022-12-01 05:34:34 -08:00
Anmol Sethi
264a164cf6
workflows/project.yml: Add all opened issues to D2 project automatically
2022-12-01 04:30:55 -08:00
Anmol Sethi
0fc29bf1f7
README: Update
2022-12-01 03:51:06 -08:00
Anmol Sethi
b5bfd68b50
go mod tidy
2022-12-01 02:19:12 -08:00
Anmol Sethi
a5516589a1
Update cmdlog
2022-12-01 02:11:11 -08:00
Anmol Sethi
c14e588b8a
Update cmdlog
2022-12-01 02:04:18 -08:00
Anmol Sethi
7565328e19
main: Use cmdlog API to enable timestamps
2022-12-01 01:45:14 -08:00
Anmol Sethi
c865aaebeb
Update cmdlog
2022-12-01 01:06:14 -08:00
Anmol Sethi
3279060849
Merge pull request #291 from nhooyr/cmdlog-13d0
...
Update cmdlog
2022-12-01 00:45:26 -08:00
Anmol Sethi
4cfd7c9c03
Update cmdlog
2022-12-01 00:44:59 -08:00
Anmol Sethi
b0f58ef575
Minor doc fixes
2022-11-30 23:02:51 -08:00
Anmol Sethi
7797839f9f
Merge pull request #290 from nhooyr/nocmd-326c
...
Move d2 cmd to repo root and update library examples
2022-12-01 01:57:23 -05:00
Anmol Sethi
20abda5ffe
ci/sub: Update
2022-11-30 22:55:42 -08:00
Anmol Sethi
14a78f2a30
README: Update toc
2022-11-30 22:54:49 -08:00
Anmol Sethi
f334ef5952
README: Cleanup examples to make them runnable and testable
2022-11-30 22:54:47 -08:00
Anmol Sethi
c55bf62438
d2: Move cmd to repo root
...
Closes #113
2022-11-30 21:16:02 -08:00
Júlio César Batista
30cd28fd39
Handle nested sequence diagrams
2022-11-30 16:11:02 -08:00
Anmol Sethi
5fa80861ff
Merge pull request #288 from nhooyr/ver-1242
...
lib/version: Set to HEAD when building from source instead of ????
2022-11-30 18:58:07 -05:00
Anmol Sethi
63d5a66962
lib/version: Update to include some version context
2022-11-30 15:50:53 -08:00
Anmol Sethi
e3060f6aca
lib/version: Set to HEAD when building from source instead of ????
...
More clear. See https://github.com/terrastruct/d2/issues/202
2022-11-30 15:38:40 -08:00
Anmol Sethi
b3859c25f5
Merge pull request #277 from nhooyr/comp-31a5
...
README: Add comparison front and center
2022-11-30 18:18:28 -05:00
Anmol Sethi
43dbf8cb96
README: Add comparison front and center
...
There's been a few comments that our comparison was buried in the FAQ
and it sort of is. It's important enough to be front and center along
with the language docs and cheat sheet.
2022-11-30 15:16:52 -08:00
Anmol Sethi
29562feeb2
Merge pull request #278 from nhooyr/fixes-d6f3
...
imgbundler and CLI fixes
2022-11-30 18:00:29 -05:00
Anmol Sethi
1d2ea2bb87
imgbundler: Use time.Ticker instead
2022-11-30 14:58:52 -08:00
Anmol Sethi
e3104688a6
pr278: Review fixes
2022-11-30 14:58:52 -08:00
Anmol Sethi
39a990364d
changelog: Update
2022-11-30 14:58:52 -08:00
Anmol Sethi
fd0eba997d
imgbundler: Split bundle into three functions
2022-11-30 14:58:52 -08:00