mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-26 23:49:51 +00:00
UI: update OG border
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
---
|
||||
'fumadocs-ui': patch
|
||||
'@fumadocs/base-ui': patch
|
||||
---
|
||||
|
||||
Update default OG image
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@fumadocs/local-md': patch
|
||||
---
|
||||
|
||||
fix file watcher pattern matching
|
||||
@@ -62,7 +62,7 @@ export function generate({
|
||||
color: 'white',
|
||||
padding: '4rem',
|
||||
backgroundColor: '#0c0c0c',
|
||||
border: `8px ${primaryColor}`,
|
||||
border: `18px ${primaryColor}`,
|
||||
}}
|
||||
>
|
||||
<p
|
||||
|
||||
@@ -37,12 +37,15 @@ export async function startDevServer(options: DevServerOptions): Promise<DevServ
|
||||
let watchOptions: ChokidarOptions = {
|
||||
ignoreInitial: true,
|
||||
followSymlinks: false,
|
||||
ignored(file) {
|
||||
ignored(file, _stats) {
|
||||
if (!_stats || !_stats.isFile()) return false;
|
||||
|
||||
for (const client of clients) {
|
||||
for (const [dir, { matcher }] of client.watching) {
|
||||
if (matcher(path.relative(dir, file))) return false;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
},
|
||||
};
|
||||
|
||||
@@ -62,7 +62,7 @@ export function generate({
|
||||
color: 'white',
|
||||
padding: '4rem',
|
||||
backgroundColor: '#0c0c0c',
|
||||
border: `8px ${primaryColor}`,
|
||||
border: `18px ${primaryColor}`,
|
||||
}}
|
||||
>
|
||||
<p
|
||||
|
||||
Reference in New Issue
Block a user