From a8dc1574a0b0ec5c552b89a67bb4eb8adf9ce0fd Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Wed, 14 May 2025 12:24:31 +0200 Subject: [PATCH] docs: rename material.angular.io to material.angular.dev (#30993) (cherry picked from commit 77919725a989bfd0aa097121cad04e9a38dccdd4) --- .git-blame-ignore-revs | 2 +- .github/ISSUE_TEMPLATE/docs.yml | 6 +-- .github/workflows/ci.material-aio.yml | 6 +-- .github/workflows/pr.material-aio.yml | 6 +-- CHANGELOG.md | 4 +- CHANGELOG_ARCHIVE.md | 34 ++++++++--------- CODING_STANDARDS.md | 2 +- README.md | 6 +-- docs/README.md | 20 +++++----- .../app/shared/doc-viewer/doc-viewer.spec.ts | 38 +++++++++---------- docs/src/app/shared/navbar/navbar.ts | 2 +- .../shared/stack-blitz/stack-blitz-writer.ts | 2 +- docs/src/assets/versions.json | 18 ++++----- docs/src/index.html | 16 ++++---- docs/src/robots.txt | 2 +- docs/src/sitemap.xml | 8 ++-- docs/tools/audit-docs.js | 4 +- .../creating-a-custom-form-field-control.md | 2 +- ...-a-custom-stepper-using-the-cdk-stepper.md | 4 +- guides/getting-started.md | 8 ++-- guides/material-2.md | 10 ++--- guides/schematics.md | 4 +- guides/theming.md | 4 +- pnpm-lock.yaml | 2 +- scripts/deploy/publish-docs-content.sh | 2 +- scripts/docs-deploy/deploy-ci-push.mts | 10 ++--- scripts/docs-deploy/snapshot-deploy.mts | 2 +- scripts/docs-deploy/utils.mts | 8 ++-- src/cdk/menu/menu.md | 2 +- src/cdk/table/table.md | 4 +- src/cdk/testing/test-harnesses.md | 2 +- .../card/card-fancy/card-fancy-example.css | 2 +- .../card-media-size-example.html | 8 ++-- .../chips-avatar/chips-avatar-example.html | 6 +-- src/dev-app/chips/chips-demo.html | 4 +- src/dev-app/list/list-demo.html | 4 +- src/material/autocomplete/README.md | 2 +- src/material/badge/badge.md | 2 +- src/material/badge/badge.ts | 6 +-- src/material/bottom-sheet/README.md | 2 +- src/material/button-toggle/README.md | 2 +- src/material/button/button-base.ts | 4 +- src/material/button/button.md | 6 +-- src/material/button/fab.ts | 4 +- src/material/card/README.md | 2 +- src/material/checkbox/README.md | 2 +- src/material/checkbox/checkbox-config.ts | 4 +- src/material/checkbox/checkbox.ts | 4 +- src/material/chips/README.md | 2 +- src/material/chips/chip.ts | 4 +- src/material/core/m2/_typography.scss | 2 +- src/material/core/theming/_theming.scss | 4 +- src/material/datepicker/README.md | 2 +- src/material/datepicker/datepicker-base.ts | 12 +++--- src/material/dialog/README.md | 2 +- src/material/divider/README.md | 2 +- src/material/form-field/README.md | 2 +- src/material/form-field/form-field.md | 8 ++-- src/material/form-field/form-field.ts | 8 ++-- src/material/grid-list/README.md | 2 +- src/material/icon/README.md | 2 +- src/material/icon/icon.ts | 8 ++-- src/material/input/README.md | 2 +- src/material/input/input.md | 14 +++---- src/material/list/README.md | 2 +- src/material/list/list-option.ts | 4 +- src/material/list/selection-list.ts | 4 +- src/material/menu/README.md | 2 +- src/material/paginator/paginator.ts | 4 +- src/material/progress-bar/README.md | 2 +- src/material/progress-bar/progress-bar.ts | 8 ++-- src/material/progress-spinner/README.md | 2 +- .../progress-spinner/progress-spinner.ts | 8 ++-- src/material/radio/README.md | 2 +- src/material/radio/radio.ts | 12 +++--- src/material/schematics/ng-add/schema.json | 8 ++-- .../ng-add/theming/create-custom-theme.ts | 2 +- .../ng-generate/theme-color/README.md | 6 +-- src/material/select/README.md | 2 +- src/material/select/select.md | 10 ++--- src/material/sidenav/README.md | 2 +- src/material/slide-toggle/README.md | 2 +- .../slide-toggle/slide-toggle-config.ts | 4 +- src/material/slide-toggle/slide-toggle.ts | 4 +- src/material/slider/README.md | 2 +- src/material/slider/slider-interface.ts | 2 +- src/material/slider/slider.ts | 4 +- src/material/snack-bar/README.md | 2 +- src/material/stepper/step-header.ts | 4 +- src/material/stepper/stepper.ts | 8 ++-- src/material/table/README.md | 2 +- src/material/table/table.md | 8 ++-- src/material/tabs/README.md | 2 +- src/material/tabs/tab-group.ts | 8 ++-- src/material/tabs/tab-nav-bar/tab-nav-bar.ts | 8 ++-- src/material/toolbar/README.md | 2 +- src/material/toolbar/toolbar.ts | 4 +- src/material/tooltip/README.md | 2 +- tools/dgeni/common/compute-api-url.ts | 6 +-- tools/region-parser/README.md | 2 +- 100 files changed, 268 insertions(+), 268 deletions(-) diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index bcd999bde3be..e30d8f489463 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -1,2 +1,2 @@ -# `material.angular.io/` folder renamed to `docs/` +# `material.angular.dev/` folder renamed to `docs/` cc8d090758b6448a3f745e1faf3e503a293b1757 diff --git a/.github/ISSUE_TEMPLATE/docs.yml b/.github/ISSUE_TEMPLATE/docs.yml index 32f05e124764..2a628c6ebdc1 100644 --- a/.github/ISSUE_TEMPLATE/docs.yml +++ b/.github/ISSUE_TEMPLATE/docs.yml @@ -1,5 +1,5 @@ name: Documentation -description: Suggest an improvement to our documentation at material.angular.io +description: Suggest an improvement to our documentation at material.angular.dev title: 'docs-bug(COMPONENT): TITLE' labels: ['docs', 'needs triage'] body: @@ -8,7 +8,7 @@ body: attributes: label: Documentation Feedback description: | - Provide a brief summary of what you would like to see changed in our documentation at [material.angular.io](https://material.angular.io/). + Provide a brief summary of what you would like to see changed in our documentation at [material.angular.dev](https://material.angular.dev/). Feel free to provide any suggestions of content or examples you’d like us to include. validations: required: true @@ -16,6 +16,6 @@ body: id: affected-documentation-page attributes: label: Affected documentation page - description: Insert a link to the affected page on [material.angular.io](https://material.angular.io/). + description: Insert a link to the affected page on [material.angular.dev](https://material.angular.dev/). validations: required: true diff --git a/.github/workflows/ci.material-aio.yml b/.github/workflows/ci.material-aio.yml index a9758e5e6318..1f4f94634034 100644 --- a/.github/workflows/ci.material-aio.yml +++ b/.github/workflows/ci.material-aio.yml @@ -1,4 +1,4 @@ -name: 'CI (material.angular.io)' +name: 'CI (material.angular.dev)' on: push: @@ -63,7 +63,7 @@ jobs: if: always() with: name: test-logs - path: material.angular.io/bazel-testlogs/ + path: material.angular.dev/bazel-testlogs/ retention-days: 14 lighthouse: @@ -84,5 +84,5 @@ jobs: if: always() with: name: lighthouse-logs - path: material.angular.io/bazel-testlogs/ + path: material.angular.dev/bazel-testlogs/ retention-days: 14 diff --git a/.github/workflows/pr.material-aio.yml b/.github/workflows/pr.material-aio.yml index 74ddd6b2a426..fc612e1225c6 100644 --- a/.github/workflows/pr.material-aio.yml +++ b/.github/workflows/pr.material-aio.yml @@ -1,4 +1,4 @@ -name: 'PR (material.angular.io)' +name: 'PR (material.angular.dev)' on: pull_request: @@ -61,7 +61,7 @@ jobs: if: always() with: name: test-logs - path: material.angular.io/bazel-testlogs/ + path: material.angular.dev/bazel-testlogs/ retention-days: 14 lighthouse: @@ -82,5 +82,5 @@ jobs: if: always() with: name: lighthouse-logs - path: material.angular.io/bazel-testlogs/ + path: material.angular.dev/bazel-testlogs/ retention-days: 14 diff --git a/CHANGELOG.md b/CHANGELOG.md index f1003b3d039d..65f416566ac4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3016,7 +3016,7 @@ Andy Chrzaszcz, Bobby Galli, Joey Perrott, Kristiyan Kostadinov, Miles Malerba, - `mat-tabs` - The TypeScript API should remain largely unchanged, but the DOM and CSS classes for these components have changed. - See the MDC migration guide for more information about the changes and - how to migrate your app: https://material.angular.io/guide/mdc-migration. + how to migrate your app: https://material.angular.dev/guide/mdc-migration. - Buttons inside the datepicker popup and datepicker toggle now use the MDC-based button implementation. They have different CSS classes and styles, so custom style overrides may need to be updated. @@ -5855,4 +5855,4 @@ _Breaking changes:_ # Changes Prior to 12.0.0 -To view changes that occurred prior to 12.0.0, see [CHANGELOG_ARCHIVE.md](https://github.com/angular/components/blob/main/CHANGELOG_ARCHIVE.md). \ No newline at end of file +To view changes that occurred prior to 12.0.0, see [CHANGELOG_ARCHIVE.md](https://github.com/angular/components/blob/main/CHANGELOG_ARCHIVE.md). diff --git a/CHANGELOG_ARCHIVE.md b/CHANGELOG_ARCHIVE.md index 9de1841eee84..19ab29f157a7 100644 --- a/CHANGELOG_ARCHIVE.md +++ b/CHANGELOG_ARCHIVE.md @@ -1891,8 +1891,8 @@ And the same test with harnesses: ``` Learn more about -[Angular Material's component harnesses](https://material.angular.io/guide/using-component-harnesses) -or [building your own with the CDK](https://v9.material.angular.io/cdk/testing/overview). +[Angular Material's component harnesses](https://material.angular.dev/guide/using-component-harnesses) +or [building your own with the CDK](https://v9.material.angular.dev/cdk/testing/overview). #### New `@angular/google-maps` package! @@ -1911,7 +1911,7 @@ Big thanks to @mbehrlich for contributing this! #### New `cdk/clipboard` subpackage containing helpers for working with the clipboard. This new capability for `@angular/cdk` provides some convenient helpers for dealign with -the clipboard. [See the documentation for more information](https://material.angular.io/cdk/clipboard). +the clipboard. [See the documentation for more information](https://material.angular.dev/cdk/clipboard). Big thanks to @xkxx for contributing this! @@ -3242,8 +3242,8 @@ It was always required, but is now correctly listed in the `package.json`. ### Highlights -* Support for [Drag and Drop](https://material.angular.io/cdk/drag-drop/overview) in `@angular/cdk/drag-drop`. -* Support for [Virtual Scrolling](https://material.angular.io/cdk/scrolling/overview) in `@angular/cdk/scrolling`. +* Support for [Drag and Drop](https://material.angular.dev/cdk/drag-drop/overview) in `@angular/cdk/drag-drop`. +* Support for [Virtual Scrolling](https://material.angular.dev/cdk/scrolling/overview) in `@angular/cdk/scrolling`. * Support for native `` & `