Skip to content

Commit

Permalink
fixes some setup issues, adds uninstall devguard documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
timbastin committed Dec 14, 2024
1 parent 8cd6531 commit 00f80c1
Show file tree
Hide file tree
Showing 11 changed files with 779 additions and 237 deletions.
5 changes: 3 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": "next/core-web-vitals",
"extends":["next/core-web-vitals", "prettier"],
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "error"
"prettier/prettier": "error",
"import/no-anonymous-default-export": "off"
}
}
2 changes: 1 addition & 1 deletion next.config.js → next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ const withNextra = nextra({
themeConfig: './theme.config.tsx',
})

export default withNextra({})
export default withNextra({})
103 changes: 13 additions & 90 deletions package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"@headlessui/react": "^2.1.2",
"@heroicons/react": "^2.1.5",
"dotenv": "^16.4.5",
"eslint-config-prettier": "^9.1.0",
"next": "^14.2.18",
"nextra": "3.2.3",
"nextra-theme-docs": "3.2.3",
Expand Down
8 changes: 5 additions & 3 deletions prettier.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module.exports = {
singleQuote: true,
semi: false,
plugins: [import('prettier-plugin-tailwindcss')],
singleQuote: true,
semi: false,
tabWidth: 4,
useTabs: false,
plugins: [import('prettier-plugin-tailwindcss')],
}
2 changes: 1 addition & 1 deletion src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import '../styles/globals.scss'

// This default export is required in a new `pages/_app.js` file.
export default function MyApp({ Component, pageProps }: any) {
return <Component {...pageProps} />
return <Component {...pageProps} />
}
34 changes: 17 additions & 17 deletions src/pages/_meta.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
export default {
index: { title: 'Introduction' },
basics: { title: 'Basics' },
concepts: { title: 'Concepts' },
guides: { title: 'Guides' },
contributing: { title: 'Contributing' },
about: { title: 'About' },
'about-l3': {
title: 'About L3montree ↗',
type: 'page',
href: 'https://l3montree.com/',
newWindow: true,
},
contact: {
title: 'Contact ↗',
type: 'page',
href: 'mailto:[email protected]',
},
index: { title: 'Introduction' },
basics: { title: 'Basics' },
concepts: { title: 'Concepts' },
guides: { title: 'Guides' },
contributing: { title: 'Contributing' },
about: { title: 'About' },
'about-l3': {
title: 'About L3montree ↗',
type: 'page',
href: 'https://l3montree.com/',
newWindow: true,
},
contact: {
title: 'Contact ↗',
type: 'page',
href: 'mailto:[email protected]',
},
}
4 changes: 2 additions & 2 deletions src/pages/basics/_meta.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default {
index: { title: 'Overview' },
'local-quickstart': { title: 'Local Quickstart' },
index: { title: 'Overview' },
'local-quickstart': { title: 'Local Quickstart' },
}
4 changes: 2 additions & 2 deletions src/pages/contributing/_meta.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default {
'code-of-conduct': { title: 'Code of Conduct' },
roadmap: { title: 'Roadmap' },
'code-of-conduct': { title: 'Code of Conduct' },
roadmap: { title: 'Roadmap' },
}
Loading

0 comments on commit 00f80c1

Please sign in to comment.