GitHunt
RA

ram02z/d2-docs

Language documentation and blog for D2.

D2 Documentation

ci
daily
license

This is language documentation for D2, a modern, open-source text-to-diagram DSL. The
source repository for that is here:
https://github.com/terrastruct/d2.

Deployed at https://d2lang.com.

Reference

A more formal reference specification is in the works.

Contributing

Development

Init submodules

git submodule update --init

Run dev server

yarn
yarn run dev

Note

Diagrams are auto generated by ci/render.sh.

Renders are currently saved as .svg2 because I don't know how to override Docusaurus's
SVG loader that uses SVGGo which is causing a bug during compression (removing a class).

Languages

JavaScript76.2%Shell19.4%CSS3.0%Makefile1.4%

Contributors

BSD 3-Clause "New" or "Revised" License
Created April 6, 2023
Updated April 5, 2023
ram02z/d2-docs | GitHunt