[ci-base] update readme
This commit is contained in:
parent
1fb855cf79
commit
e3fa5e9e90
1 changed files with 12 additions and 14 deletions
26
README.md
26
README.md
|
|
@ -21,22 +21,22 @@
|
||||||
<!-- toc -->
|
<!-- toc -->
|
||||||
|
|
||||||
- [Quickstart (CLI)](#quickstart-cli)
|
- [Quickstart (CLI)](#quickstart-cli)
|
||||||
* [MacOS](#macos)
|
* [Install from source](#install-from-source)
|
||||||
* [Linux/Windows](#linuxwindows)
|
* [Install](#install)
|
||||||
- [Quickstart (library)](#quickstart-library)
|
- [Quickstart (library)](#quickstart-library)
|
||||||
- [Themes](#themes)
|
- [Themes](#themes)
|
||||||
- [Fonts](#fonts)
|
- [Fonts](#fonts)
|
||||||
- [Export file types](#export-file-types)
|
- [Export file types](#export-file-types)
|
||||||
- [Language tooling](#language-tooling)
|
- [Language tooling](#language-tooling)
|
||||||
- [Layout engine](#layout-engine)
|
- [Plugins](#plugins)
|
||||||
- [Comparison](#comparison)
|
- [Comparison](#comparison)
|
||||||
- [Contributing](#contributing)
|
- [Contributing](#contributing)
|
||||||
- [License](#license)
|
- [License](#license)
|
||||||
- [Dependencies](#dependencies)
|
|
||||||
- [Related](#related)
|
- [Related](#related)
|
||||||
* [VSCode extension](#vscode-extension)
|
* [VSCode extension](#vscode-extension)
|
||||||
* [Vim extension](#vim-extension)
|
* [Vim extension](#vim-extension)
|
||||||
* [Misc](#misc)
|
* [Misc](#misc)
|
||||||
|
- [FAQ](#faq)
|
||||||
|
|
||||||
<!-- tocstop -->
|
<!-- tocstop -->
|
||||||
|
|
||||||
|
|
@ -98,11 +98,11 @@ Go programs.
|
||||||
|
|
||||||
```go
|
```go
|
||||||
import (
|
import (
|
||||||
"github.com/terrastruct/d2/d2compiler"
|
"github.com/terrastruct/d2/d2compiler"
|
||||||
"github.com/terrastruct/d2/d2exporter"
|
"github.com/terrastruct/d2/d2exporter"
|
||||||
"github.com/terrastruct/d2/d2layouts/d2dagrelayout"
|
"github.com/terrastruct/d2/d2layouts/d2dagrelayout"
|
||||||
"github.com/terrastruct/d2/d2renderers/textmeasure"
|
"github.com/terrastruct/d2/d2renderers/textmeasure"
|
||||||
"github.com/terrastruct/d2/d2themes/d2themescatalog"
|
"github.com/terrastruct/d2/d2themes/d2themescatalog"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
@ -221,10 +221,8 @@ Copyright © 2022 Terrastruct, Inc. Open-source licensed under the Mozilla Publi
|
||||||
- Does D2 need a browser to run?
|
- Does D2 need a browser to run?
|
||||||
- No, D2 can run entirely server-side.
|
- No, D2 can run entirely server-side.
|
||||||
- I have a question or need help.
|
- I have a question or need help.
|
||||||
- The best way to get help is to open an Issue, so that it's searchable by others in the
|
- The best way to get help is to ask on [D2 Discord](https://discord.gg/NF6X8K4eDq)
|
||||||
future. If you prefer synchronous or just want to chat, you can pop into the help
|
- I have a feature request, proposal, or bug report.
|
||||||
channel of the [D2 Discord](https://discord.gg/NF6X8K4eDq) as well.
|
- Please open up a Github Issue.
|
||||||
- I have a feature request or proposal.
|
|
||||||
- D2 uses Github Issues for everything. Just add a "discussion" label to your Issue.
|
|
||||||
- I have a private inquiry.
|
- I have a private inquiry.
|
||||||
- Please reach out at [hi@d2lang.com](hi@d2lang.com).
|
- Please reach out at [hi@d2lang.com](hi@d2lang.com).
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue