Joey Perrott
e8c5603126
build: move all rule/macro loading into adev/defaults.bzl and fix intellisense loading ( #62627 )
...
Move all of our loading into a local defaults.bzl file instead of mixed loading via tools/defaults and adev/defaults
PR Close #62627
2025-07-14 15:47:05 -07:00
Matthieu Riegler
00afc73f67
docs: fix CLI reference layout ( #62609 )
...
fixes #62602
PR Close #62609
2025-07-14 09:59:54 -07:00
Matthieu Riegler
57e06c5232
docs(docs-infra): Add status to some guide entries. ( #62614 )
...
Guide entries can now have "new" or "updated" tags.
PR Close #62614
2025-07-14 09:58:14 -07:00
Matthieu Riegler
2ddd9aa4c3
docs(docs-infra): update update guide when changing level ( #62526 )
...
This commit also fixes the colors of the material button toggle
fixes #62432
PR Close #62526
2025-07-09 12:40:01 -07:00
Shuaib Hasan Akib
9fc1383115
refactor(docs-infra): cleanup lines in scss ( #62438 )
...
Cleans up some of the scss code.
PR Close #62438
2025-07-03 08:11:09 +00:00
Joey Perrott
ad89f80969
build: migrate adev to use new sass ruleset ( #62297 )
...
Use the new sass ruleset for bazel sass building in adev
PR Close #62297
2025-06-27 09:25:43 +00:00
Saujan Ghimire
d4b96f8c20
docs: embeded best practices in page ( #62173 ) ( #62198 )
...
PR Close #62198
2025-06-24 08:52:24 +00:00
Matthieu Riegler
44782beea7
docs(docs-infra): fix & simplify scrolling for code blocks ( #62179 )
...
PR Close #62179
2025-06-23 14:19:34 +02:00
Andrew Kushnir
4c14503efb
Revert "docs: embeded best practices in page ( #62173 )" ( #62193 )
...
This reverts commit 286f9f573e .
PR Close #62193
2025-06-22 09:14:11 -07:00
Matthieu Riegler
286f9f573e
docs: embeded best practices in page ( #62173 )
...
PR Close #62173
2025-06-20 15:29:24 -07:00
Matthieu Riegler
416553065a
docs(docs-infra): cookie consent should be top-most ( #62103 )
...
PR Close #62103
2025-06-18 10:40:52 +02:00
Hakeem
08eded75ff
docs(docs-infra): fix callouts icon collision with the content ( #61664 )
...
PR Close #61664
2025-06-05 10:00:30 +02:00
Hakeem
58741dd18a
docs(docs-infra): handle fractional sizes between max and min widths vals ( #61600 )
...
PR Close #61600
2025-06-04 11:41:50 -04:00
Matthieu Riegler
bddfd2f8c2
docs: fix deprecated docs navigation background color. ( #61775 )
...
Backport of #58848 into v19 / main.
PR Close #61775
2025-05-30 11:09:13 -04:00
Hakeem
2807a166d1
docs(docs-infra): fix docs pages overflow when specific example-viewer exists ( #61384 )
...
enforce content to be fluid until a specific max width, and rollback breakpoints to be applied when 1430px is the current win size
as widths between 1430px and 1431px will be broken
PR Close #61384
2025-05-21 09:51:47 +00:00
Matthieu Riegler
f1f37896c5
docs(docs-infra): display CLI enum values for enums ( #61521 )
...
fixes #61516
PR Close #61521
2025-05-20 16:54:12 +00:00
ahmadhakeem18
20fdeab612
docs(docs-infra): fix the global layout of the site ( #58831 )
...
take the full width of the page for all the pages that use docs-viewer, also reserve an area for table of contents on-demand
Resolves : #52648
PR Close #58831
2025-05-09 10:24:13 -07:00
Matthieu Riegler
f580318411
docs(docs-infra): Add version of introduction for APIs ( #60814 )
...
For new APIs we'll mention since when a particular API is in its current status (experimental, devPreview, stable)
fixes #49668
PR Close #60814
2025-05-02 07:51:33 -07:00
Matthieu Riegler
201e02b161
docs(docs-infra): fix alert header inlining ( #60708 )
...
PR Close #60708
2025-04-30 08:18:07 -07:00
hawkgs
d8204bf584
docs(docs-infra): fix function api ref header width ( #61022 )
...
Fix the width of the function API reference header when the viewport width is for-desktop-down.
PR Close #61022
2025-04-28 10:01:40 -07:00
Kristiyan Kostadinov
46eba63fb3
fix(docs-infra): use proper API for style overrides ( #61008 )
...
Setting CSS variables directly is fragile and isn't the officially supported way of override Material styles. Instead the `tabs-overrides` mixin should be used which has validation for the token names.
For future reference, these are the docs for the styling API: https://material.angular.io/components/tabs/styling
PR Close #61008
2025-04-28 08:19:17 -07:00
hawkgs
05a03d3f97
docs(docs-infra): fix mat-tab colors ( #61000 )
...
Fix the text color of Material tabs.
PR Close #61000
2025-04-25 08:50:55 -07:00
hawkgs
3e293535e3
docs(docs-infra): use a custom scrollbar for the examples using HighlightTypeScript ( #60981 )
...
The examples used to render the native scrollbar.
PR Close #60981
2025-04-23 17:24:29 +02:00
Matthieu Riegler
c990265473
docs(docs-infra): Improve doc support for pipes. ( #60926 )
...
This commits adds the pipe usage and the impure pipe mention.
PR Close #60926
2025-04-23 08:46:11 +02:00
Michael van der Luit
2b590316be
docs(docs-infra): add status filter to api reference overview ( #57614 )
...
add a status filter on the api reference overview page to filter on status (all|stable|deprecated|developer-preview|experimental)
PR Close #57614
2025-04-10 14:42:54 -04:00
hawkgs
9fde57b1b6
docs(docs-infra): fix home animation text width on small devices; fix snackbar colors ( #60745 )
...
The text used to exceed the viewport width.
PR Close #60745
2025-04-04 09:44:44 -07:00
hawkgs
b938f0ce94
docs(docs-infra): fix navigation component UI bugs ( #60583 )
...
- Detachment of the navigation from the left window border
- Odd horizontal scroll when there is a URL fragment and the viewport width <900px
PR Close #60583
2025-03-27 18:11:38 +00:00
hawkgs
8559c794a8
docs(docs-infra): fix CSS media queries boundaries ( #60564 )
...
Make lower boundaries exclusive, so we avoid conflicts with the upper boundaries.
PR Close #60564
2025-03-26 20:47:32 -07:00
hawkgs
2b114e784d
docs(docs-infra): API doc content rendering fixes ( #60116 )
...
The PR introduces a few doc content rendering fixes:
- Fix highlighted section heading styles (regression from #59965 ).
- Convert JSDoc links within 'Usage Notes' sections to HTML and render them.
- Add IDs to doc content headings. This, by itself, makes these headings available in the page ToC.
PR Close #60116
2025-03-04 17:46:30 +00:00
Hryhorii Avcharov
4078895caf
docs: fix mermaid event node text visibility in light mode ( #60124 )
...
PR Close #60124
2025-02-27 00:27:12 +00:00
hawkgs
ea5b7371e5
docs(docs-infra): fix card highlighting in the API reference details page ( #59965 )
...
Drop `pointer-events: none` and update the member card highlighting mechanism.
PR Close #59965
2025-02-18 14:56:48 +00:00
hawkgs
b6733eeea4
docs(docs-infra): drop tabs layout from the API reference details page ( #59068 )
...
Drop the tabs in favor of a single page separated by sections.
PR Close #59068
2025-02-13 14:58:33 +00:00
hawkgs
803358f0a3
docs(docs-infra): change API reference list items order to top-down ( #58655 )
...
Change the order from left-right to top-down (columns) and additionally make columns equal width.
PR Close #58655
2025-01-14 11:10:52 -05:00
hawkgs
6cd6780d38
docs(docs-infra): fix SCSS build-time warnings ( #59115 )
...
Fix SCSS "declarations after nested rules" and `@import` warnings.
PR Close #59115
2025-01-14 11:09:23 -05:00
Meehdi
ad65da6139
docs: fix mermaid polygon node text visibility in dark mode ( #59285 )
...
Fix visibility issue with text inside polygon nodes in mermaid diagrams when using dark mode theme to ensure proper contrast and readability
PR Close #59285
2025-01-06 16:12:51 +00:00
Matthieu Riegler
139f61913c
docs: remove data attributes from api-item-label ( #59273 )
...
Perf measurments have revealed that `data-*` attributes are slower to set than classes.
PR Close #59273
2025-01-06 16:03:42 +00:00
hawkgs
225b5fa23a
docs(docs-infra): make font styles consistent in the API code ToC ( #59072 )
...
Since code lines are wrapped in `<button>`-s, the native font styles overrides the parent's one which results in the font-family and font-size (esp. Safari) difference. This change fixes that.
PR Close #59072
2024-12-12 16:19:45 -08:00
Kristiyan Kostadinov
5b5418c893
refactor(docs-infra): fix build-time warnings ( #59100 )
...
Fixes a bunch of warnings around an upcoming Sass breaking change https://sass-lang.com/documentation/breaking-changes/mixed-decls/ . Also fixes one unused standalone import.
PR Close #59100
2024-12-10 13:40:11 -08:00
hawkgs
8d6ea5bae3
docs: fix missing alert block styles in the API reference ( #59020 )
...
Substitute legacy alert classes with the new ones.
PR Close #59020
2024-12-04 11:02:42 +01:00
ahmadhakeem18
40e210858a
docs(docs-infra): remove the usage of the deprecated core mixin as it's no-op ( #58812 )
...
PR Close #58812
2024-11-22 14:44:10 +00:00
ahmadhakeem18
292147b42d
docs(docs-infra): fix visually-hidden elements style ( #58812 )
...
import visually-hidden styles from CDK as the new version of Angular material no more do that inside the deprecated core mixin
PR Close #58812
2024-11-22 14:44:10 +00:00
ahmadhakeem18
66ef77fb5c
docs(docs-infra): show the top-level banner on top of all the elements ( #58775 )
...
Starting from Tablet-landscape siz display the banner on top of all the
elements, and for smaller sizes display it under the nav to make it
accessible to users
PR Close #58775
2024-11-21 20:55:46 +00:00
ahmadhakeem18
61b39ddaa6
docs(docs-infra): Fix overflow styles in cards code examples ( #58704 )
...
PR Close #58704
2024-11-18 13:35:15 -08:00
wlotherington
d3f8153917
docs(docs-infra): change mermaid diagram colors ( #58223 )
...
Change diagram colors to:
- Better match the overall site theme.
- Improve dark theme.
- Make the diagram easier to understand. "Unchecked" nodes have no color and "Checked" nodes match the color of the "Event" node that triggered the change detection.
Fixes #56314
PR Close #58223
2024-10-16 16:46:16 +00:00
ColinJolivet
5e0029237c
refactor(docs-infra): add tooltip to the download button in playground ( #58065 )
...
Add a material tooltip to the download button in the playground in order to clarify what this button does
PR Close #58065
2024-10-08 09:28:37 -07:00
Matthieu Riegler
01030d58a7
docs(docs-infra): Add support for cross-links on API pages ( #57346 )
...
PR Close #57346
2024-08-29 13:39:58 -07:00
Matthieu Riegler
04911d7599
docs(docs-infra): Add support for function/method overloads ( #57255 )
...
PR Close #57255
2024-08-13 12:09:01 -07:00
Joey Perrott
2d8635d29d
refactor(docs-infra): migrate @angular/docs from dev-infra into adev directory ( #57132 )
...
To increase the ease of development we are moving @angular/docs into the adev directory within this repo. While
we are doing this to improve our development experience in the short term, efforts are also in place
to maintain a division between this @angular/docs (shared) code and adev itself, so that it can be extracted
back out in the future when components is ready to leverage it as well.
PR Close #57132
2024-07-30 15:51:26 +00:00