Skip to content

Commit

Permalink
flatter dir structure
Browse files Browse the repository at this point in the history
  • Loading branch information
benediktschwab committed Aug 9, 2024
1 parent 0edd30e commit 99d2d98
Show file tree
Hide file tree
Showing 30 changed files with 7 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import nextra from "nextra";

const withNextra = nextra({
theme: 'nextra-theme-docs',
themeConfig: './src/theme.config.tsx',
themeConfig: './theme.config.tsx',
})

export default withNextra({
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/theme.config.tsx → theme.config.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type {DocsThemeConfig} from 'nextra-theme-docs'
import {useConfig} from 'nextra-theme-docs'
import TumLogo from '../src/components/logos/TUM'
import SavenowLogo from '../src/components/logos/SAVeNoW'
import TumLogo from './components/logos/TUM'
import SavenowLogo from './components/logos/SAVeNoW'
import RtronSmallLogo from "./components/logos/rtron-small";

const config: DocsThemeConfig = {
Expand Down
6 changes: 4 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
Expand All @@ -13,7 +12,10 @@
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true
"incremental": true,
"paths": {
"@/*": ["./src/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
Expand Down

0 comments on commit 99d2d98

Please sign in to comment.