[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-9474":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":16,"starSnapshotCount":16,"syncStatus":30,"lastSyncTime":31,"discoverSource":32},9474,"site-www","dart-lang\u002Fsite-www","dart-lang","The source for the Dart website.","https:\u002F\u002Fdart.dev",null,"Dart",1033,778,78,61,0,5,21.67,"Other",false,"main",true,[24,25,26],"dart","language","website","2026-06-12 02:02:08","# \u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fdart-lang\u002Fsite-shared\u002Fblob\u002Fmain\u002Fsrc\u002F_assets\u002Fimage\u002Fdart\u002Flogo\u002F64.png\" alt=\"Dart\" width=\"28\" height=\"28\"\u002F> The Dart language site (dart.dev)\n\n[![Build Status SVG][]][Repo on GitHub Actions]\n[![OpenSSF Scorecard SVG][]][Scorecard Results]\n\nThe documentation site for the [Dart programming language](https:\u002F\u002Fdart.dev), \nbuilt with [Jaspr][] and hosted on [Firebase][].\n\nWe welcome contributions of all kinds!\nTo set up the site locally, follow the\nbelow guidelines on [Building the site](#build-the-site).\nTo learn more about contributing to this repository,\ncheck out the [Contributing guidelines](CONTRIBUTING.md).\n\n## Getting started\n\nStart by looking for an [issue](https:\u002F\u002Fgithub.com\u002Fdart-lang\u002Fsite-www\u002Fissues)\nthat catches your interest, or create an issue with your proposed change.\nConsider adding a comment to let everyone know that you're working on it, and\nfeel free to ask any questions you have on the same issue.\n\nTo update this site, fork the repo, make your changes,\nand generate a pull request.\nFor small, contained changes (such as style and typo fixes),\nyou probably don't need to build this site.\nOften you can make changes using the GitHub UI.\nWe can stage the changes automatically in your pull request.\n\nIf your change involves code samples, adds\u002Fremoves pages, or affects navigation,\ndo consider building and testing your work before submitting.\n\nIf you want or need to build the site, follow the steps below.\n\n## Build the site\n\nFor changes beyond simple text and CSS tweaks,\nwe recommend running the site locally to\nenable an edit-refresh cycle. \n\n### Get the prerequisites\n\nInstall the following tools to build and develop the site:\n\n#### Dart\n\nThe latest stable release of Dart is required to build the site\nand run its tooling. This can be the Dart included in the Flutter SDK.\nIf you don't have Dart or need to update, follow the\ninstructions at [Get the Dart SDK][].\n\nIf you already have Dart installed, verify it's on your path\nand already the latest stable version:\n\n```terminal\ndart --version\n```\n\n### Clone this repo\n\nIf you're not a member of the Dart organization,\nwe recommend you [create a fork][] of this repo under your own account,\nand then submit a PR from that fork.\n\nOnce you have a fork (or you're a Dart org member),\nclone the repository with `git clone`:\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fdart-lang\u002Fsite-www.git\n```\n\n[create a fork]: https:\u002F\u002Fdocs.github.com\u002Fpull-requests\u002Fcollaborating-with-pull-requests\u002Fworking-with-forks\u002Ffork-a-repo\n\n## Set up your local environment and serve changes\n\nBefore you continue setting up the site infrastructure,\nverify the correct version of Dart is set up and available by\nfollowing the instructions in [Get the prerequisites](#get-the-prerequisites).\n\n1. _Optional:_ After cloning the repo,\n   create a branch for your changes:\n\n   ```terminal\n   git checkout -b \u003CBRANCH_NAME>\n   ```\n\n2. From the root directory of the repository,\n   fetch the site's Dart dependencies.\n\n   ```terminal\n   dart pub get\n   ```\n\n3. From the root directory, run the `dash_site` tool to\n   validate your setup and learn about the available commands.\n\n   ```terminal\n   dart run dash_site --help\n   ```\n\n4. From the root directory, serve the site locally.\n\n   ```terminal\n   dart run dash_site serve\n   ```\n\n   This command generates and serves the site on a\n   local port that's printed to your terminal.\n\n5. View your changes in the browser by navigating to \u003Chttp:\u002F\u002Flocalhost:8080>.\n\n   Note the port might be different if `8080` is taken.\n\n6. Make your changes to the local repo.\n\n   The site should automatically rebuild on most changes, but if\n   something doesn't update, exit the process and rerun the command.\n   Improvements to this functionality are planned.\n   Please open a new issue to track the issue if this occurs.\n\n9. Commit your changes to the branch and submit your PR.\n\n   If your change is large, or you'd like to test it,\n   consider [validating your changes](#validate-your-changes).\n\n> [!TIP]\n> To find additional commands that you can run,\n> run `dart run dash_site --help` from the repository's root directory.\n\n## Validate your changes\n\n### Check documentation and example code\n\nIf you've made changes to the code in the `\u002Fexamples` or `\u002Ftool` directories,\ncommit your work, then run the following command to\nverify it is up to date and matches the site standards.\n\n```terminal\ndart run dash_site check-all\n```\n\nIf this script reports any errors or warnings,\nthen address those issues and rerun the command.\nIf you have any issues, leave a comment on your issue or pull request,\nand we'll try our best to help you.\nYou can also chat with us on the `#hackers-devrel` channel\non the [Flutter contributors Discord][]!\n\n[Flutter contributors Discord]: https:\u002F\u002Fgithub.com\u002Fflutter\u002Fflutter\u002Fwiki\u002FChat\n\n### Refresh code excerpts\n\nA build that fails with the error\n`Error: Some code excerpts needed to be updated!`\nmeans that one or more code excerpts in the site Markdown files\naren't identical to the code regions declared\nin the corresponding `.dart` files.\n\nTo resolve this error,\nfrom the root of the `site-www` directory,\nrun `dart run dash_site refresh-excerpts`.\n\nTo learn more about creating, editing, and using code excerpts,\ncheck out the [excerpt updater package documentation][].\n\n[excerpt updater package documentation]: https:\u002F\u002Fgithub.com\u002Fflutter\u002Fwebsite\u002Ftree\u002Fmain\u002Fpackages\u002Fexcerpter#readme\n\n\n[Build Status SVG]: https:\u002F\u002Fgithub.com\u002Fdart-lang\u002Fsite-www\u002Fworkflows\u002Fbuild\u002Fbadge.svg\n[OpenSSF Scorecard SVG]: https:\u002F\u002Fapi.securityscorecards.dev\u002Fprojects\u002Fgithub.com\u002Fdart-lang\u002Fsite-www\u002Fbadge\n[Scorecard Results]: https:\u002F\u002Fdeps.dev\u002Fproject\u002Fgithub\u002Fdart-lang%2Fsite-www\n[Jaspr]: https:\u002F\u002Fjaspr.site\n[Firebase]: https:\u002F\u002Ffirebase.google.com\u002F\n[Repo on GitHub Actions]: https:\u002F\u002Fgithub.com\u002Fdart-lang\u002Fsite-www\u002Factions?query=workflow%3Abuild+branch%3Amain\n","该项目是Dart编程语言官方网站的源代码。它使用Dart语言编写，并通过Jaspr构建，托管在Firebase上。项目的核心功能包括提供详细的Dart语言文档、示例代码和社区资源。技术特点上，它支持本地开发环境搭建，便于贡献者进行修改和测试。此项目非常适合那些希望了解Dart语言特性和应用场景的开发者，以及想要参与开源贡献的人士。",2,"2026-06-11 03:23:01","top_language"]