Skip to content

docs: updating the docs with the http secure tag #27259

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG_ARCHIVE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5597,7 +5597,7 @@ StackBlitz instead of Plunker.
behaviors are stable and mature enough to exit beta. Please continue to file issues that
help us eliminate more bugs from the forthcoming 5.0.0 release. Moving forward, the _major_
version number of Angular Material and CDK will update alongside Angular itself.
* A [moment.js](http://momentjs.com/) implementation of the `DateAdapter` for `MatDatepicker` is
* A [moment.js](https://momentjs.com/) implementation of the `DateAdapter` for `MatDatepicker` is
now available as `@angular/material-moment-adapter`
* Based on Angular 5.0
* More consistent naming conventions across the board
Expand Down
2 changes: 1 addition & 1 deletion CODING_STANDARDS.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ pre-rendering).
### CSS

#### Be cautious with use of `display: flex`
* The [baseline calculation for flex elements](http://www.w3.org/TR/css-flexbox-1/#flex-baselines)
* The [baseline calculation for flex elements](https://www.w3.org/TR/css-flexbox-1/#flex-baselines)
is different than other display values, making it difficult to align flex elements with standard
elements like input and button.
* Component outermost elements are never flex (block or inline-block)
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,11 +266,11 @@ changes to be accepted, the CLA must be signed. It's a quick process, we promise
[coc]: https://github.com/angular/code-of-conduct/blob/main/CODE_OF_CONDUCT.md
[commit-message-format]: https://docs.google.com/document/d/1QrDFcIiPjSLDn3EL15IJygNPiHORgU1_OOAqWjiDU5Y/preview
[commit-message-scopes]: https://github.com/angular/components/blob/main/.ng-dev/commit-message.mts#L10
[corporate-cla]: http://code.google.com/legal/corporate-cla-v1.0.html
[corporate-cla]: https://code.google.com/legal/corporate-cla-v1.0.html
[dev-doc]: https://github.com/angular/components/blob/main/DEV_ENVIRONMENT.md
[github]: https://github.com/angular/components
[gitter]: https://gitter.im/angular/material2
[individual-cla]: http://code.google.com/legal/individual-cla-v1.0.html
[individual-cla]: https://code.google.com/legal/individual-cla-v1.0.html
[js-style-guide]: https://google.github.io/styleguide/jsguide.html
[codepen]: http://codepen.io/
[jsbin]: http://jsbin.com/
Expand Down
4 changes: 2 additions & 2 deletions src/dev-app/legacy-list/legacy-list-demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,15 @@ <h2>Dense lists</h2>
<div>
<h2>Nav lists</h2>
<mat-nav-list>
<a mat-list-item *ngFor="let link of links" href="http://www.google.com">
<a mat-list-item *ngFor="let link of links" href="https://www.google.com">
{{ link.name }}
</a>
</mat-nav-list>
<div *ngIf="infoClicked">
More info!
</div>
<mat-nav-list>
<a mat-list-item *ngFor="let link of links; last as last" href="http://www.google.com">
<a mat-list-item *ngFor="let link of links; last as last" href="https://www.google.com">
<mat-icon mat-list-icon>folder</mat-icon>
<span mat-line>{{ link.name }}</span>
</a>
Expand Down
2 changes: 1 addition & 1 deletion src/dev-app/legacy-menu/legacy-menu-demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
</mat-toolbar>

<mat-menu #anchorMenu="matMenu">
<a mat-menu-item *ngFor="let item of items" href="http://www.google.com" [disabled]="item.disabled">
<a mat-menu-item *ngFor="let item of items" href="https://www.google.com" [disabled]="item.disabled">
{{ item.text }}
</a>
</mat-menu>
Expand Down
2 changes: 1 addition & 1 deletion src/dev-app/menu/menu-demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
</mat-toolbar>

<mat-menu #anchorMenu="matMenu">
<a mat-menu-item *ngFor="let item of items" href="http://www.google.com" [disabled]="item.disabled">
<a mat-menu-item *ngFor="let item of items" href="https://www.google.com" [disabled]="item.disabled">
{{ item.text }}
</a>
</mat-menu>
Expand Down
2 changes: 1 addition & 1 deletion src/material/button/button.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ describe('MatFabDefaultOptions', () => {
[disabled]="isDisabled" [color]="buttonColor" [disableRipple]="rippleDisabled">
Go
</button>
<a [tabIndex]="tabIndex" href="http://www.google.com" mat-button [disabled]="isDisabled"
<a [tabIndex]="tabIndex" href="https://www.google.com" mat-button [disabled]="isDisabled"
[color]="buttonColor">
Link
</a>
Expand Down
2 changes: 1 addition & 1 deletion src/material/icon/icon-registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export class MatIconRegistry implements OnDestroy {
/**
* The CSS classes to apply when an `<mat-icon>` component has no icon name, url, or font
* specified. The default 'material-icons' value assumes that the material icon font has been
* loaded as described at http://google.github.io/material-design-icons/#icon-font-for-the-web
* loaded as described at https://google.github.io/material-design-icons/#icon-font-for-the-web
*/
private _defaultFontSetClass = ['material-icons', 'mat-ligature-font'];

Expand Down
2 changes: 1 addition & 1 deletion src/material/icon/icon.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Some fonts are designed to show icons by using
component.

By default, `<mat-icon>` expects the
[Material icons font](http://google.github.io/material-design-icons/#icon-font-for-the-web).
[Material icons font](https://google.github.io/material-design-icons/#icon-font-for-the-web).
(You will still need to include the HTML to load the font and its CSS, as described in the link).
You can specify a different font by setting the `fontSet` input to either the CSS class to apply to
use the desired font, or to an alias previously registered with
Expand Down
2 changes: 1 addition & 1 deletion src/material/legacy-button/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
.mat-button-ripple-round {
border-radius: 50%;
// z-index needed to make clipping to border-radius work correctly.
// http://stackoverflow.com/questions/20001515/
// https://stackoverflow.com/questions/20001515/
z-index: 1;
}

Expand Down
2 changes: 1 addition & 1 deletion src/material/legacy-button/button.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ describe('MatLegacyButton', () => {
[disabled]="isDisabled" [color]="buttonColor" [disableRipple]="rippleDisabled">
Go
</button>
<a [tabIndex]="tabIndex" href="http://www.google.com" mat-button [disabled]="isDisabled"
<a [tabIndex]="tabIndex" href="https://www.google.com" mat-button [disabled]="isDisabled"
[color]="buttonColor">
Link
</a>
Expand Down
4 changes: 2 additions & 2 deletions tools/markdown-to-html/docs-marked-renderer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ describe('DocsMarkdownRenderer', () => {
expect(renderer.link('#some-hash', 'some title', 'some text')).toEqual(
'<a href="#some-hash" title="some title">some text</a>',
);
expect(renderer.link('http://google.com', 'some title', 'some text')).toEqual(
'<a href="http://google.com" title="some title">some text</a>',
expect(renderer.link('https://google.com', 'some title', 'some text')).toEqual(
'<a href="https://google.com" title="some title">some text</a>',
);
});

Expand Down