Skip to content

Commit 1b408a4

Browse files
committed
docs: remove ScrollToHideProvider heading and update API Reference badge
- Remove unnecessary heading from use-scroll-to-hide documentation - Add 'Updated' badge to Provider item in API Reference section
1 parent e6ca08b commit 1b408a4

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

apps/docs/astro.config.mjs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,14 @@ export default defineConfig({
225225
label: 'API Reference',
226226
collapsed: false,
227227
items: [
228-
{ label: 'Provider', slug: 'api/provider' },
228+
{
229+
label: 'Provider',
230+
slug: 'api/provider',
231+
badge: {
232+
text: 'Updated',
233+
variant: 'tip',
234+
},
235+
},
229236
{ label: 'Theme', slug: 'api/theme' },
230237
{ label: 'Registry', slug: 'api/registry' },
231238
{ label: 'Theme Switcher', slug: 'api/theme-switcher' },

apps/docs/src/content/docs/hooks/use-scroll-to-hide.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { Badge } from '@astrojs/starlight/components';
1010
import { Card, CardGrid } from '@astrojs/starlight/components';
1111
import { Steps } from '@astrojs/starlight/components';
1212

13-
## ScrollToHideProvider
1413

1514
The `ScrollToHideProvider` is a React context provider that manages scroll-to-hide animations for headers and tab bars. It provides smooth animations that hide/show UI elements based on scroll direction and position.
1615

0 commit comments

Comments
 (0)