Skip to content

Commit 1bd3ffe

Browse files
Alexander WangAlexander Wang
authored andcommitted
update links for d2lang organization
1 parent 2446e24 commit 1bd3ffe

12 files changed

Lines changed: 35 additions & 50 deletions

File tree

.github/workflows/project.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66

77
[Docs](https://d2lang.com) | [Cheat sheet](./docs/assets/cheat_sheet.pdf) | [Comparisons](https://text-to-diagram.com) | [Playground](https://play.d2lang.com)
88

9-
[![ci](https://github.com/terrastruct/d2/actions/workflows/ci.yml/badge.svg)](https://github.com/terrastruct/d2/actions/workflows/ci.yml)
10-
[![daily](https://github.com/terrastruct/d2/actions/workflows/daily.yml/badge.svg)](https://github.com/terrastruct/d2/actions/workflows/daily.yml)
11-
[![release](https://img.shields.io/github/v/release/terrastruct/d2)](https://github.com/terrastruct/d2/releases)
9+
[![ci](https://github.com/d2lang/d2/actions/workflows/ci.yml/badge.svg)](https://github.com/d2lang/d2/actions/workflows/ci.yml)
10+
[![daily](https://github.com/d2lang/d2/actions/workflows/daily.yml/badge.svg)](https://github.com/d2lang/d2/actions/workflows/daily.yml)
11+
[![release](https://img.shields.io/github/v/release/d2lang/d2)](https://github.com/d2lang/d2/releases)
1212
[![changelog](https://img.shields.io/badge/changelog-read-blue)](./CHANGELOG.md)
1313
[![npm version](https://img.shields.io/npm/v/@terrastruct/d2)](https://www.npmjs.com/package/@terrastruct/d2)
1414
[![discord](https://img.shields.io/discord/1039184639652265985?label=discord)](https://discord.gg/NF6X8K4eDq)
1515
[![twitter](https://img.shields.io/twitter/follow/terrastruct?style=social)](https://twitter.com/terrastruct)
16-
[![license](https://img.shields.io/github/license/terrastruct/d2?color=9cf)](./LICENSE.txt)
16+
[![license](https://img.shields.io/github/license/d2lang/d2?color=9cf)](./LICENSE.txt)
1717

1818
<a href="https://play.d2lang.com">
1919
<img src="./docs/assets/playground_button.png" alt="D2 Playground button" width="200" />
@@ -232,9 +232,9 @@ let us know and we'll be happy to include it here!
232232

233233
### Official plugins
234234

235-
- **VSCode extension**: [https://github.com/terrastruct/d2-vscode](https://github.com/terrastruct/d2-vscode)
236-
- **Vim extension**: [https://github.com/terrastruct/d2-vim](https://github.com/terrastruct/d2-vim)
237-
- **Obsidian plugin**: [https://github.com/terrastruct/d2-obsidian](https://github.com/terrastruct/d2-obsidian)
235+
- **VSCode extension**: [https://github.com/d2lang/d2-vscode](https://github.com/d2lang/d2-vscode)
236+
- **Vim extension**: [https://github.com/d2lang/d2-vim](https://github.com/d2lang/d2-vim)
237+
- **Obsidian plugin**: [https://github.com/d2lang/d2-obsidian](https://github.com/d2lang/d2-obsidian)
238238
- **Slack app**: [https://d2lang.com/tour/slack](https://d2lang.com/tour/slack)
239239
- **Discord plugin**: [https://d2lang.com/tour/discord](https://d2lang.com/tour/discord)
240240

@@ -274,8 +274,8 @@ let us know and we'll be happy to include it here!
274274
### Misc
275275

276276
- **Comparison site**: [https://github.com/terrastruct/text-to-diagram-site](https://github.com/terrastruct/text-to-diagram-site)
277-
- **Playground**: [https://github.com/terrastruct/d2-playground](https://github.com/terrastruct/d2-playground)
278-
- **Language docs**: [https://github.com/terrastruct/d2-docs](https://github.com/terrastruct/d2-docs)
277+
- **Playground**: [https://github.com/d2lang/d2-playground](https://github.com/d2lang/d2-playground)
278+
- **Language docs**: [https://github.com/d2lang/d2-docs](https://github.com/d2lang/d2-docs)
279279
- **Hosted icons**: [https://icons.terrastruct.com](https://icons.terrastruct.com)
280280

281281
## FAQ

ci/release/_install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ note: Deleting the unarchived releases will cause --uninstall to stop working.
104104
You can rerun install.sh to update your version of D2. install.sh will avoid reinstalling
105105
if the installed version is the latest unless --force is passed.
106106
107-
See https://github.com/terrastruct/d2/blob/master/docs/INSTALL.md#security for
107+
See https://github.com/d2lang/d2/blob/master/docs/INSTALL.md#security for
108108
documentation on its security.
109109
EOF
110110
}
@@ -166,7 +166,7 @@ main() {
166166
flag_errusage "no arguments are accepted"
167167
fi
168168

169-
REPO=${REPO:-terrastruct/d2}
169+
REPO=${REPO:-d2lang/d2}
170170
ensure_os
171171
ensure_arch
172172
ensure_prefix

ci/release/changelogs/next.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
#### Features 🚀
22

3-
- exports: gif exports work with `animate: true` keyword [#2663](https://github.com/terrastruct/d2/pull/2663)
3+
- exports: gif exports work with `animate: true` keyword [#2663](https://github.com/d2lang/d2/pull/2663)
44

55
#### Improvements 🧹
66

77
- d2ascii:
8-
- sql_table and uml class shapes are supported [#2623](https://github.com/terrastruct/d2/pull/2623)
9-
- newlines are handled [#2626](https://github.com/terrastruct/d2/pull/2626)
10-
- empty left columns are cropped [#2626](https://github.com/terrastruct/d2/pull/2626)
8+
- sql_table and uml class shapes are supported [#2623](https://github.com/d2lang/d2/pull/2623)
9+
- newlines are handled [#2626](https://github.com/d2lang/d2/pull/2626)
10+
- empty left columns are cropped [#2626](https://github.com/d2lang/d2/pull/2626)
1111
- exports:
12-
- Chromium download through CLI for PNG exports is prompted [#2655](https://github.com/terrastruct/d2/pull/2655)
13-
- `animate-interval` is no longer required, defaults to 1000ms for gifs [#2663](https://github.com/terrastruct/d2/pull/2663)
12+
- Chromium download through CLI for PNG exports is prompted [#2655](https://github.com/d2lang/d2/pull/2655)
13+
- `animate-interval` is no longer required, defaults to 1000ms for gifs [#2663](https://github.com/d2lang/d2/pull/2663)
1414
- renders:
15-
- remote images are fetched more reliably [#2659](https://github.com/terrastruct/d2/pull/2659)
15+
- remote images are fetched more reliably [#2659](https://github.com/d2lang/d2/pull/2659)
1616

1717
#### Bugfixes ⛑️
1818

19-
- exports: pptx follows standards more closely, addressing warnings from some Powerpoint software [#2645](https://github.com/terrastruct/d2/pull/2645)
20-
- d2sequence: fix edge case of invalid sequence diagrams [#2660](https://github.com/terrastruct/d2/pull/2660)
21-
- d2svg: Text may overflow legend bounds when monospace font is used [#2674](https://github.com/terrastruct/d2/pull/2674)
19+
- exports: pptx follows standards more closely, addressing warnings from some Powerpoint software [#2645](https://github.com/d2lang/d2/pull/2645)
20+
- d2sequence: fix edge case of invalid sequence diagrams [#2660](https://github.com/d2lang/d2/pull/2660)
21+
- d2svg: Text may overflow legend bounds when monospace font is used [#2674](https://github.com/d2lang/d2/pull/2674)
2222

2323
---
2424

25-
For the latest d2.js changes, see separate [changelog](https://github.com/terrastruct/d2/blob/master/d2js/js/CHANGELOG.md).
25+
For the latest d2.js changes, see separate [changelog](https://github.com/d2lang/d2/blob/master/d2js/js/CHANGELOG.md).

ci/release/changelogs/template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66

77
---
88

9-
For the latest d2.js changes, see separate [changelog](https://github.com/terrastruct/d2/blob/master/d2js/js/CHANGELOG.md).
9+
For the latest d2.js changes, see separate [changelog](https://github.com/d2lang/d2/blob/master/d2js/js/CHANGELOG.md).

ci/release/template/README.md.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This release is structured the same as our Unix releases for use with MSYS2.
2525
You may find our \`.msi\` installer more convenient as it handles putting \`d2.exe\` into
2626
your \`\$PATH\` for you.
2727
28-
See https://github.com/terrastruct/d2/blob/master/docs/INSTALL.md#windows
28+
See https://github.com/d2lang/d2/blob/master/docs/INSTALL.md#windows
2929
EOF
3030
fi
3131

d2cli/help.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ func layoutNotFound(ctx context.Context, ps []d2plugin.Plugin, layout string) er
139139
return xmain.UsageErrorf(`D2_LAYOUT "%s" is not bundled and could not be found in your $PATH.
140140
The available options are: %s. For details on each option, run "d2 layout".
141141
142-
For more information on setup, please visit https://github.com/terrastruct/d2.`,
142+
For more information on setup, please visit https://github.com/d2lang/d2.`,
143143
layout, strings.Join(names, ", "))
144144
}
145145

d2js/js/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
D2.js is a JavaScript wrapper around D2, the modern diagram scripting language. It enables running D2 directly in browsers and Node environments through WebAssembly.
77

8-
For an example of usage, see [https://play.d2lang.com](https://play.d2lang.com), which is powered by d2.js and is [open-source](https://github.com/terrastruct/d2-playground).
8+
For an example of usage, see [https://play.d2lang.com](https://play.d2lang.com), which is powered by d2.js and is [open-source](https://github.com/d2lang/d2-playground).
99

1010
## Features
1111

@@ -163,7 +163,7 @@ sudo apt-get install binaryen
163163
### Building from source
164164

165165
```bash
166-
git clone https://github.com/terrastruct/d2.git
166+
git clone https://github.com/d2lang/d2.git
167167
cd d2/d2js/js
168168
./make.sh all
169169
```

d2js/js/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
"version": "0.1.33",
66
"repository": {
77
"type": "git",
8-
"url": "git+https://github.com/terrastruct/d2.git",
8+
"url": "git+https://github.com/d2lang/d2.git",
99
"directory": "d2js/js"
1010
},
1111
"bugs": {
12-
"url": "https://github.com/terrastruct/d2/issues"
12+
"url": "https://github.com/d2lang/d2/issues"
1313
},
14-
"homepage": "https://github.com/terrastruct/d2/tree/master/d2js/js#readme",
14+
"homepage": "https://github.com/d2lang/d2/tree/master/d2js/js#readme",
1515
"publishConfig": {
1616
"access": "public"
1717
},

docs/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ The code itself should be documented as appropriate with Go-style comments. No r
148148

149149
If it's some new functionality, please submit a pull request to document it in the
150150
language docs:
151-
[https://github.com/terrastruct/d2-docs](https://github.com/terrastruct/d2-docs).
151+
[https://github.com/d2lang/d2-docs](https://github.com/d2lang/d2-docs).
152152

153153
### Questions
154154

0 commit comments

Comments
 (0)