Kam
c3d69aeaaa
fix(docs-infra): prevent inline code wrapping in CLI reference table
...
Inline code elements inside table cells inherited `width: 100%` from
the global code styles, causing short codes like `s`, `dev` to stack
vertically instead of rendering on the same line. Add `min-width` to
table cells containing code to ensure proper inline layout.
(cherry picked from commit c8e23d3a9d )
2026-04-14 18:29:30 +03:00
Kam
245bcdd607
docs(docs-infra): fix card container overflow on mobile viewports
...
Override h2 min-width in docs-card-container-header for small screens
and add docs-content container query fallback to hide SVG illustrations.
(cherry picked from commit c3d4be4a61 )
2026-04-13 11:09:54 +03:00
SkyZeroZx
1af0db5742
docs(docs-infra): replace non-interactive buttons with spans
...
These elements are not interactive, so using <button> is misleading for accessibility
(screen readers and keyboard navigation expect an action).
(cherry picked from commit ad3991cd0b )
2026-03-23 10:24:13 -07:00
Matthieu Riegler
9f92312cde
docs(docs-infra): fix deprecation style for light theme
...
(cherry picked from commit cc07d46e49 )
2026-03-19 15:00:31 -07:00
SkyZeroZx
ea4847aae5
docs(docs-infra): add spacing between reference option and description
...
Add a spacing class to `docs-reference-option` to prevent the text from appearing too close together.
(cherry picked from commit 3720b2de0f )
2026-03-16 09:00:50 -07:00
Alan Agius
fad5def327
feat(docs-infra): add hideDollar option to hide the dollar sign prefix in shell code blocks.
...
The dollar sign is not always required.
(cherry picked from commit efcf76ea61 )
2026-02-23 17:08:56 +00:00
SkyZeroZx
4ea3cafdc8
docs(docs-infra): fixed missing gray color palette definitions for light and dark modes
...
Adds the missing gray color palette definitions for both light and dark modes
(cherry picked from commit 1771d54fb7 )
2026-02-19 16:55:02 +00:00
Matthieu Riegler
bd1cdac54d
docs(docs-infra): new homepage
2026-02-18 07:10:53 -08:00
SkyZeroZx
0b9d1cfb7b
docs(docs-infra): simplify external link rendering for pill
...
Renders the external link icon for docs pills using CSS instead of a `docs-icon` component.
2026-02-09 12:19:07 -08:00
Kristiyan Kostadinov
b275206a49
fix(docs-infra): use focus-visible for focus styling
...
`focus-visible` should lead to a better experience, compared to showing the state on any focus.
2026-01-20 17:17:03 -08:00
Shuaib Hasan Akib
f53f878e0f
fix(docs-infra): use margin instead of padding to prevent heading hover overflow
...
Replaced padding-block-start with margin-block-start on
.docs-reference-section-heading to prevent anchor hover and click areas from extending into empty space above the heading. This ensures hover behavior aligns with the visible text.
2026-01-12 13:38:46 -08:00
omar-almasry11
405b05607c
fix(docs-infra): improve symbolic green contrast for WCAG compliance
...
Adjusts the symbolic green color to meet WCAG contrast requirements in documentation styles.
2026-01-12 08:50:33 -08:00
omar-almasry11
ad49d489ae
fix(docs-infra): improve dark mode button hover contrast for WCAG compliance
...
The .docs-primary-btn hover state in dark mode had a contrast ratio of 2.18:1,
failing WCAG 2.1 SC 1.4.3. This change reuses the existing
--hot-pink-to-electric-violet-radial-gradient to achieve 4.5:1+ contrast.
2026-01-08 11:21:23 -08:00
Shuaib Hasan Akib
e6631f0007
docs(docs-infra): sync heading colors between docs and API pages
...
Aligns documentation heading colors across docs and API pages to ensure
visual consistency and a cohesive reading experience.
2026-01-05 12:36:58 -05:00
SkyZeroZx
c1d72af10d
docs(docs-infra): add external link styles to API reference documentation
...
Adds the missing icon external link styling to the API reference documentation.
2026-01-05 12:14:31 -05:00
SkyZeroZx
a5ebdd9cd1
docs(docs-infra): Fixes the visibility of the copy link button in CLI headings
...
Fixes the visibility of the copy link button in CLI documentation headings.
2026-01-05 11:52:24 -05:00
Matthieu Riegler
80eb5c4d8a
docs(docs-infra): user-select none for buttons
...
fixes #66214
2026-01-02 08:22:16 +01:00
SkyZeroZx
59c1dcc662
docs(docs-infra): adjust z-index to prevent adev tutorial nav overlapping sidebar
...
Updated the z-index hierarchy to avoid the adev tutorial navigation bar
overlapping the main sidebar.
2026-01-02 08:10:53 +01:00
SkyZeroZx
15e3407dab
docs(docs-infra): Fixes the visibility of the copy link button in API documentation headings
...
Fixes the visibility of the copy link button in API documentation headings.
The button now appears on hover, improving the user experience.
2025-12-10 10:15:59 -08:00
Matthieu Riegler
3411638f65
docs(docs-infra): prefer/avoid code block styling
...
fixes #65866
2025-12-09 09:23:12 -08:00
Shuaib Hasan Akib
4b9fffaa79
docs(docs-infra): hide trailing empty line in code examples
...
Add CSS rule to hide the last empty line in code blocks to prevent displaying
unnecessary empty lines when source files end with a newline character.
The empty line remains in the DOM for proper copy-paste functionality.
2025-12-09 09:17:41 -08:00
Matthieu Riegler
a784995a98
docs(docs-infra): Show examples on function overloads
2025-12-02 12:13:11 +01:00
SkyZeroZx
4e89bc6244
feat(docs-infra): Adds copy link to anchor functionality
...
Enables copying a direct link to any section by clicking its anchor. Also updates the aria-label to remove the code tag
2025-12-01 19:19:31 +01:00
SkyZeroZx
ef034c15c1
docs(docs-infra): renders inline code snippets in docs pills
...
Improves the rendering of `DocsPillRow` to correctly display inline code snippets (using backticks) within the pill labels.
2025-11-25 18:30:05 -05:00
Joey Perrott
8ec0a4ee5c
refactor(docs-infra): drop support for providing a file diff in docs-code
...
Drop support for exposing a diff view in the docs-code element as it is unused and costly to even check for
2025-11-21 13:20:46 -05:00
Amy Sorto
111a7644ef
docs: update overview page
2025-11-18 14:54:08 -08:00
hawkgs
7ab1b3a32a
docs(docs-infra): improve playground layout
...
Improve the layout and optimize the empty space; Introduce some minor improvements to the code editor
2025-11-13 09:07:53 -08:00
SkyZeroZx
b6a91d4c39
docs: Fixed mermaid diagram node label contrast in dark mode
2025-11-12 15:01:35 -08:00
Matthieu Riegler
16e61f5dd0
docs(docs-infra): Add support for experimental enum entries
2025-11-11 08:46:06 -08:00
Miles Malerba
59635bba34
docs: improve docs generation for namespaces ( #64747 )
...
Improves docs epxerience for interfaces / type aliases that are merged
with a namespace.
PR Close #64747
2025-11-05 22:42:59 +00:00
Matthieu Riegler
3e3b6e8134
docs(docs-infra): Fix animation bug on iPhones ( #64342 )
...
PR Close #64342
2025-10-13 08:25:47 -07:00
Matthieu Riegler
563bc386b2
docs(docs-infra): fix app-scroller offset. ( #64144 )
...
Guide heading need different scroll offsets depending on the width of the screen. (The menu position varies).
PR Close #64144
2025-09-30 11:05:26 -04:00
hawkgs
0b2018d153
docs(docs-infra): align docs-step number to the heading ( #64035 )
...
Fix misaligned number element.
PR Close #64035
2025-09-24 18:31:42 +00:00
Cheng-Hsuan Tsai
60267282c7
docs(docs-infra): fix docs-card padding ( #64004 )
...
PR Close #64004
2025-09-23 14:18:31 +00:00
Matthieu Riegler
331e35c283
docs(docs-infra): fix colors ( #63842 )
...
fixes #63841
PR Close #63842
2025-09-16 17:36:18 +00:00
Matthieu Riegler
d53ac26d4e
docs(docs-infra): new home page ( #63662 )
...
ADEV is getting a new home page!
This is a first iteration.
PR Close #63662
2025-09-16 16:21:32 +00:00
Matthieu Riegler
7d6ae95807
docs(docs-infra): fix mermaid rendering ( #63311 )
...
A recent update of mermaid change the html output. `rect` became `path`.
fixes #63308
PR Close #63311
2025-08-21 10:06:32 -07:00
Alan Agius
494385cac0
fix(docs-infra): allow wrapping of types-and-default CLI options ( #63211 )
...
This change fixes an issue where long lists of enum values would display on a single line, running off the screen, especially on mobile devices.
PR Close #63211
2025-08-18 12:52:03 +02:00
Alan Agius
2c34e37df9
fix(docs-infra): add spacing between Alias and Value ( #63211 )
...
Prior to this change there was noi spacing between the Alias and Value
PR Close #63211
2025-08-18 12:52:03 +02:00
Cheng-Hsuan Tsai
b9a134b8eb
docs(docs-infra): fix codeblock styles ( #63153 )
...
PR Close #63153
2025-08-14 22:04:39 +02:00
Cheng-Hsuan Tsai
621d077746
docs(docs-infra): fix inconsistent codeblock styles ( #63041 )
...
PR Close #63041
2025-08-07 09:09:21 -07:00
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