angular/adev
arturovt aa835da9a2 refactor(docs-infra): allow playground component to be cleaned up properly (#58040)
In this commit, we're replacing the `async-await` style in the playground component with the `from()`
observable, which allows us to invert a dependency and avoid memory leaks. Because an `async` function
has a closure, just like any other function in JavaScript, using `await` captures `this` until the
promise is resolved.

PR Close #58040
2025-01-06 16:16:59 +00:00
..
scripts/update-cli-help docs(docs-infra): enable tslint (#58961) 2024-12-05 16:03:35 -08:00
shared-docs docs: fix mermaid polygon node text visibility in dark mode (#59285) 2025-01-06 16:12:51 +00:00
src refactor(docs-infra): allow playground component to be cleaned up properly (#58040) 2025-01-06 16:16:59 +00:00
tools docs(docs-infra): enable tslint (#58961) 2024-12-05 16:03:35 -08:00
angular.json refactor(docs-infra): adopt new SSR APIs (#58320) 2024-10-23 08:04:11 -07:00
BUILD.bazel refactor(docs-infra): rename Bazel flag --prerender_adev to --full_build_adev (#58320) 2024-10-23 08:04:11 -07:00
firebase.json perf(docs-infra): improve app firebase configuration (#59170) 2024-12-12 14:54:50 -08:00
karma.conf.js docs(docs-infra): enable tslint (#58961) 2024-12-05 16:03:35 -08:00
README.md docs: Fix Code of Conduct Readme link (#59217) 2024-12-17 12:54:19 -08:00
test-main.ts docs(docs-infra): enable tslint (#58961) 2024-12-05 16:03:35 -08:00
tsconfig.app.json docs(docs-infra): Go zoneless and enable the zoneless scheduler (#55161) 2024-06-07 09:31:15 -07:00
tsconfig.json refactor(docs-infra): migrate api-gen from dev-infra into the repo (#57241) 2024-08-05 17:06:29 +00:00
tsconfig.spec.json test(docs-infra): update adev tests to be zoneless (#57100) 2024-07-23 14:50:32 -07:00
tsconfig.worker.json refactor(docs-infra): refactor adev to build using architect (#53497) 2023-12-11 19:21:07 +00:00

Angular.dev

This site is built with Angular.

The content is written primarily in Markdown format located in src/content. For simple edits, you can directly edit the file on GitHub and generate a Pull Request.

Local Development

For local development, yarn is the preferred package manager. You can setup a local environment with the following commands :

# Clone Angular repo
git clone https://github.com/angular/angular.git

# Navigate to project directory
cd angular

# Install dependencies
yarn

# Build and run local dev server
# Note: Initial build will take some time
yarn docs

If you are having issues with the docs building, see the FAQs section.

Contributing

Want to report a bug, contribute some code, or improve the documentation? Excellent!

Read through our contributing guidelines to learn about our submission process, coding rules, and more.

And if you're new, check out one of our issues labeled as help wanted or good first issue.

Code of Conduct

Help us keep Angular open and inclusive. Please read and follow our Code of Conduct.

FAQs

The build is failing and I'm seeing bazel:bazel failed: missing input file messages.

This is most likely due to a bazel dependency / caching issue. To resolve this, run the following command:

# Try this first
yarn bazel clean

# If that doesn't work, try it with the expunge flag
yarn bazel clean --expunge