Skip to content

Commit

Permalink
update all
Browse files Browse the repository at this point in the history
  • Loading branch information
alixander committed Sep 3, 2024
1 parent a4c6873 commit 8607041
Show file tree
Hide file tree
Showing 82 changed files with 1,867 additions and 1,863 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ Please follow the examples in `src/examples`.
1. Create the text for as many languages as you can. It's okay if not totally complete. We
or others can fill.
1. Run `./render.sh` (with the respective tools installed)
- Pre-requisite tools:
- `mmdc`
- `plantuml`
- `graphviz`
- `d2`

<img alt="CLI render" src="/docs/assets/render.png" />

Expand Down
1 change: 0 additions & 1 deletion src/components/CodeBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ async function newTextMateRegistry() {
return parseRawGrammar(markdownGrammar);
}

console.warn(`unknown scope name: ${scope}`);
return undefined;
},
});
Expand Down
2 changes: 1 addition & 1 deletion src/components/Features.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const features: Feature[] = [
[D2_LANG]: 'Any URL',
[MERMAID_LANG]: 'FontAwesome. Hacky <img> tags',
[GRAPHVIZ_LANG]: false,
[PLANTUML_LANG]: false,
[PLANTUML_LANG]: 'Any URL',
},
},
{
Expand Down
4 changes: 2 additions & 2 deletions src/components/faq.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ const items = [
},
{
question: 'How up-to-date is this?',
answer: `Very up to date. Every so often, we upgrade to latest version of all tools and regenerate all. Latest: July 31, 2023.`,
answer: `Very up to date. Every so often, we upgrade to latest version of all tools and regenerate all. Latest: September 03, 2024.`,
},
{
question: 'Who made this?',
answer: `This is created and maintained by Terrastruct. We created D2, and it's in our interest to provide anyone evaluating us with an objective comparison against others in the space. The only favor granted to D2 is that it shows up as the first comparison. We welcome contributions, and if any examples potentially make D2 look bad, we will include them without bias (and then furiously improve D2 so the example looks better, a right other tools have as well).`,
},
{
question: "Why isn't [my favorite underground language] here?",
answer: `The cross-table of examples and languages is big, and nobody's gotten around to it yet. We're seeding and adding languages in order of perceived popularity. If you'd like to help support your favorite one, feel free to submit a PR -- we'll merge.`,
answer: `The cross-table of examples and languages is big, and nobody's gotten around to it yet. We're seeding and adding languages in order of perceived popularity. If you'd like to help support your favorite one, feel free to submit a PR -- we'll merge. Note that if the language is niche, like only does network diagrams, it's useless comparing to other languages so will be out of scope for this site.`,
},
{
question: 'Future plans?',
Expand Down
2 changes: 1 addition & 1 deletion src/examples/0_basic/render/d2_dagre.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/examples/0_basic/render/d2_elk.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/examples/0_basic/render/d2_tala.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 12 additions & 12 deletions src/examples/0_basic/render/graphviz_dot.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 11 additions & 11 deletions src/examples/0_basic/render/graphviz_neato.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 8607041

Please sign in to comment.