chore(docs): eslint migration + extractor updates
Migrate docs to eslint flat config (build-script console override); doc extractor points at configs/eslint.
This commit is contained in:
+12
-1
@@ -38,14 +38,25 @@ export default defineNuxtConfig({
|
||||
},
|
||||
|
||||
app: {
|
||||
pageTransition: { name: 'page', mode: 'out-in' },
|
||||
head: {
|
||||
title: '@robonen/tools — Documentation',
|
||||
meta: [
|
||||
{ name: 'description', content: 'Auto-generated documentation for @robonen/tools monorepo' },
|
||||
{ name: 'description', content: 'Auto-generated documentation for the @robonen/tools monorepo' },
|
||||
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
|
||||
{ name: 'theme-color', content: '#ffffff', media: '(prefers-color-scheme: light)' },
|
||||
{ name: 'theme-color', content: '#0a0a0a', media: '(prefers-color-scheme: dark)' },
|
||||
],
|
||||
htmlAttrs: {
|
||||
lang: 'en',
|
||||
},
|
||||
script: [
|
||||
{
|
||||
// Set the theme class before first paint to avoid a flash.
|
||||
innerHTML: `(function(){try{var t=localStorage.getItem('docs-theme');var d=t==='dark'||((!t||t==='system')&&matchMedia('(prefers-color-scheme: dark)').matches);document.documentElement.classList.toggle('dark',d);}catch(e){}})();`,
|
||||
tagPosition: 'head',
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user