angular/adev
Matthieu Riegler 66abff6db8 docs(docs-infra): don't use URL to check for external links (#58955)
For perf reasons, it is more efficient to not rely on creating an `URL` object. Instead we check for the explicit protocol to detect external links.

This will also force us to use relative links, so archived versions & next versions navigate on the current version of the site.

fixes #58954

PR Close #58955
2024-11-28 16:43:28 +01:00
..
scripts/update-cli-help refactor(docs-infra): complete removal of aio directory (#56496) 2024-06-18 12:26:00 -07:00
shared-docs docs(docs-infra): don't use URL to check for external links (#58955) 2024-11-28 16:43:28 +01:00
src docs(docs-infra): don't use URL to check for external links (#58955) 2024-11-28 16:43:28 +01:00
tools refactor(docs-infra): migrate api-gen from dev-infra into the repo (#57241) 2024-08-05 17:06:29 +00: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 docs: fix missing image and baseUrl in tutorials/first-app (#56766) 2024-07-02 20:21:40 +00:00
karma.conf.js refactor(docs-infra): move windows-chromium-path to adev (#56496) 2024-06-18 12:25:59 -07:00
README.md docs(router): update initial navigation SSR note (#57245) 2024-08-07 16:45:30 +00:00
test-main.ts test(docs-infra): update adev tests to be zoneless (#57100) 2024-07-23 14:50:32 -07: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
tslint.json

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