Skip to content

Commit ba0aa60

Browse files
committed
Update Angular documentation (20.3.4)
1 parent 72564a8 commit ba0aa60

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

assets/stylesheets/pages/_angular.scss

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,40 @@
2121
}
2222

2323
td h3 { margin: 0 !important; }
24+
25+
.docs-reference-member-card .docs-reference-card-item {
26+
&:has(~ .docs-reference-card-item),
27+
&:last-child:not(:first-of-type) {
28+
margin: .25rem 0 1.5rem 1.5rem;
29+
padding: .625rem 1rem;
30+
@extend %box;
31+
}
32+
span {
33+
display: inline-block;
34+
}
35+
.docs-param-group {
36+
margin-block-start: 1rem;
37+
&:not(:has(~ .docs-param-group)) {
38+
margin-block: 1rem;
39+
}
40+
.docs-param-name {
41+
@extend %code;
42+
margin-inline-end: 0.25rem;
43+
}
44+
.docs-param-name:after {
45+
content: ":";
46+
}
47+
.docs-parameter-description p:first-child {
48+
margin-block-start: 0;
49+
}
50+
}
51+
.docs-param-keyword {
52+
color: var(--focusText);
53+
@extend %code;
54+
margin-inline-end: 0.5rem;
55+
}
56+
.docs-return-type {
57+
padding-block: 1rem;
58+
}
59+
}
2460
}

lib/docs/scrapers/angular.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def self.handle_redirects(version)
9999
end
100100
end
101101

102-
version '20' do
102+
version do
103103
self.release = '20.3.4'
104104
self.base_url = 'https://angular.dev/'
105105
self.root_path = 'overview'

0 commit comments

Comments
 (0)