Skip to content

Commit

Permalink
chore(deps): update doc-dependencies (#2301)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Dec 29, 2023
1 parent 945acc1 commit a87602b
Show file tree
Hide file tree
Showing 16 changed files with 633 additions and 549 deletions.
9 changes: 5 additions & 4 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig } from 'vitepress';
import { DefaultTheme } from 'vitepress/theme';
import type { UserConfig } from 'vitepress';
import type { DefaultTheme } from 'vitepress/theme';
import { apiPages } from './api-pages';
import { currentVersion, oldVersions, versionBannerInfix } from './versions';

Expand Down Expand Up @@ -55,7 +55,8 @@ function extendSideNav(current: SidebarItem): SidebarItem[] {
return links;
}

const config = defineConfig({
// TODO @Shinigami92 2023-12-28: reuse `defineConfig` from vitepress, when we can go esm-only
const config: UserConfig<DefaultTheme.Config> = {
title: 'Faker',
description,

Expand Down Expand Up @@ -259,7 +260,7 @@ const config = defineConfig({
__BANNER__: versionBannerInfix ?? false,
},
},
});
};

if (versionBannerInfix) {
config.head?.push([
Expand Down
4 changes: 2 additions & 2 deletions docs/.vitepress/theme/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ table td ul li {
}

.VPHero .action:not(:last-child) a.VPButton.alt {
border-color: var(--vp-button-brand-border) !important;
color: var(--vp-button-brand-border) !important;
border-color: var(--vp-button-brand-bg) !important;
color: var(--vp-button-brand-text) !important;
}
6 changes: 3 additions & 3 deletions docs/api/ApiIndex.vue
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ h2 {

h3 {
letter-spacing: -0.01em;
color: var(--vp-c-green);
color: var(--vp-c-brand-1);
font-size: 18px;
margin-bottom: 1em;
transition: color 0.5s;
Expand All @@ -147,7 +147,7 @@ h3 {
}

.api-groups ul a:hover {
color: var(--vp-c-green);
color: var(--vp-c-brand-1);
transition: none;
}

Expand Down Expand Up @@ -181,7 +181,7 @@ h3 {
}

.api-filter:focus {
border-color: var(--vp-c-green-light);
border-color: var(--vp-c-brand-2);
}

.no-match {
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
},
"devDependencies": {
"@actions/github": "~6.0.0",
"@algolia/client-search": "~4.19.1",
"@algolia/client-search": "~4.22.0",
"@eslint-types/deprecation": "2.0.0-1",
"@eslint-types/jsdoc": "~46.9.1",
"@eslint-types/prettier": "5.1.2",
Expand Down Expand Up @@ -125,11 +125,11 @@
"semver": "~7.5.4",
"standard-version": "~9.5.0",
"tsx": "~3.13.0",
"typedoc": "~0.24.8",
"typedoc": "~0.25.4",
"typescript": "~4.9.5",
"validator": "~13.11.0",
"vite": "~4.5.1",
"vitepress": "1.0.0-beta.7",
"vitepress": "1.0.0-rc.29",
"vitest": "~0.34.6",
"vue": "~3.3.13"
},
Expand Down
Loading

0 comments on commit a87602b

Please sign in to comment.