Skip to content

Commit c431dc1

Browse files
authored
Merge branch 'main' into dependabot/github_actions/actions/checkout-6
2 parents 05a59df + 7e10051 commit c431dc1

File tree

10 files changed

+24
-20
lines changed

10 files changed

+24
-20
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ jobs:
7878
path: ./out
7979

8080
deploy:
81+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
82+
permissions:
83+
contents: read
84+
pages: write
85+
id-token: write
8186
environment:
8287
name: github-pages
8388
url: ${{ steps.deployment.outputs.page_url }}

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
_pagefind
22
node_modules
33
.next
4-
.DS_Store
4+
.DS_Store
5+
out
6+
tsconfig.tsbuildinfo

app/docs/welcome/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# Welcome to the Paradym EUDI Docs!
1+
# Welcome

app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const navbar = (
1616
// ... Your additional navbar options
1717
/>
1818
)
19-
const footer = <Footer>MIT {new Date().getFullYear()} © Nextra.</Footer>
19+
const footer = <Footer>{new Date().getFullYear()} © Paradym.</Footer>
2020

2121
export default async function RootLayout({ children }: PropsWithChildren) {
2222
return (

mdx-components.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { useMDXComponents as getDocsMDXComponents } from 'nextra-theme-docs'
2+
3+
const docsComponents = getDocsMDXComponents()
4+
5+
export const useMDXComponents = (components) => ({
6+
...docsComponents,
7+
...components,
8+
})

mdx-components.tsx

Lines changed: 0 additions & 12 deletions
This file was deleted.

next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3-
import './.next/dev/types/routes.d.ts'
3+
import './.next/types/routes.d.ts'
44

55
// NOTE: This file should not be edited
66
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

next.config.mts renamed to next.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default withNextra({
1212
turbopack: {
1313
resolveAlias: {
1414
// Path to your `mdx-components` file with extension
15-
'next-mdx-import-source-file': './mdx-components.tsx',
15+
'next-mdx-import-source-file': './mdx-components.ts',
1616
},
1717
},
1818
// ... Add regular Next.js options here

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
"name": "paradym-eudi-docs",
33
"version": "1.0.0",
44
"description": "",
5+
"type": "module",
56
"scripts": {
6-
"dev": "next --turbopack",
7-
"build": "next build",
7+
"dev": "next --turbo",
8+
"build": "next build --turbo",
89
"start": "next start",
910
"postbuild": "pagefind --site .next/server/app --output-path public/_pagefind",
1011
"types:check": "tsc --noEmit",

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"incremental": true,
1010
"module": "esnext",
1111
"esModuleInterop": true,
12-
"moduleResolution": "node",
12+
"moduleResolution": "bundler",
1313
"resolveJsonModule": true,
1414
"isolatedModules": true,
1515
"jsx": "react-jsx",

0 commit comments

Comments
 (0)