{"id":13606392,"url":"https://github.com/terrastruct/d2-docs","last_synced_at":"2026-01-27T02:03:49.425Z","repository":{"id":63620478,"uuid":"563098032","full_name":"terrastruct/d2-docs","owner":"terrastruct","description":"Language documentation and blog for D2.","archived":false,"fork":false,"pushed_at":"2025-09-25T14:41:55.000Z","size":61019,"stargazers_count":273,"open_issues_count":32,"forks_count":34,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-29T14:51:27.873Z","etag":null,"topics":["diagramming","diagrams","documentation","text-to-diagram"],"latest_commit_sha":null,"homepage":"https://d2lang.com","language":"D2","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/terrastruct.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-11-07T22:39:40.000Z","updated_at":"2025-09-25T14:42:01.000Z","dependencies_parsed_at":"2025-07-18T02:05:00.059Z","dependency_job_id":null,"html_url":"https://github.com/terrastruct/d2-docs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/terrastruct/d2-docs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrastruct%2Fd2-docs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrastruct%2Fd2-docs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrastruct%2Fd2-docs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrastruct%2Fd2-docs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terrastruct","download_url":"https://codeload.github.com/terrastruct/d2-docs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrastruct%2Fd2-docs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28796962,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T01:07:07.743Z","status":"online","status_checked_at":"2026-01-27T02:00:07.755Z","response_time":168,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["diagramming","diagrams","documentation","text-to-diagram"],"created_at":"2024-08-01T19:01:08.736Z","updated_at":"2026-01-27T02:03:49.388Z","avatar_url":"https://github.com/terrastruct.png","language":"D2","funding_links":[],"categories":["D2"],"sub_categories":[],"readme":"# D2 Documentation\n\n[![ci](https://github.com/terrastruct/d2-docs/actions/workflows/ci.yml/badge.svg)](https://github.com/terrastruct/d2-docs/actions/workflows/ci.yml)\n[![daily](https://github.com/terrastruct/d2-docs/actions/workflows/daily.yml/badge.svg)](https://github.com/terrastruct/d2-docs/actions/workflows/daily.yml)\n[![license](https://img.shields.io/github/license/terrastruct/d2-docs?color=9cf)](./LICENSE)\n\nThis is language documentation for D2, a modern, open-source text-to-diagram DSL. The\nsource repository for that is here:\n[https://github.com/terrastruct/d2](https://github.com/terrastruct/d2).\n\nDeployed at [https://d2lang.com](https://d2lang.com).\n\n## Reference\n\nA more formal reference specification is in the works.\n\n## Contributing\n\n### Development\n\nInit submodules\n\n```sh\ngit submodule update --init\n```\n\nRun dev server\n\n```sh\nyarn\nyarn run dev\n```\n\n### Translations\n\nHelp wanted for translations.\n\nCurrent efforts:\n\n- Korean (Thanks @Baejw0111)\n\nTo preview in dev mode: `yarn dev --locale ko`.\n\nTranslations are filed under `i18n/ko/docusaurus-plugin-content-docs/current`.\n\nOnce we have enough docs translated for a certain language (e.g. above 80%), we'll enable\nthe locale switcher on the nav bar for that language.\n\n### Note\n\nDiagrams are auto generated by `ci/render.sh`.\n\nRenders are currently saved as `.svg2` because I don't know how to override Docusaurus's\nSVG loader that uses SVGGo which is causing a bug during compression (removing a class).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterrastruct%2Fd2-docs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterrastruct%2Fd2-docs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterrastruct%2Fd2-docs/lists"}