Skip to content

Commit 05f890f

Browse files
author
mikebofs
committed
perf: update actions
1 parent c42220d commit 05f890f

5 files changed

Lines changed: 14 additions & 11 deletions

File tree

‎.JumpServer-whitepaper.md.swp‎

-2.83 MB
Binary file not shown.

‎.github/workflows/jekyll-gh-pages.yml‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ jobs:
3636

3737
- name: Build Next.js site
3838
working-directory: docs
39-
run: |
40-
npm run build
41-
npx next export
39+
run: npm run build
4240

4341
- name: Add .nojekyll
4442
run: |

‎.gitignore‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
node_modules
22
docs/node_modules
33
docs/.next
4-
4+
out
55

‎docs/next.config.mjs‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,9 @@ const withNextra = nextra({
66
})
77

88
export default withNextra({
9-
reactStrictMode: true
9+
reactStrictMode: true,
10+
output: 'export',
11+
images: {
12+
unoptimized: true
13+
}
1014
})

‎docs/theme.config.tsx‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,17 @@ const config: DocsThemeConfig = {
1111
// project: { link: 'https://example.com/repo' },
1212
// docsRepositoryBase: 'https://example.com/repo/tree/main/docs',
1313
footer: {
14-
text: 'JumpServer Whitepaper — Nextra'
14+
content: 'JumpServer Whitepaper — Nextra'
1515
},
1616
sidebar: {
1717
defaultMenuCollapseLevel: 1
1818
},
19-
useNextSeoProps() {
20-
return {
21-
titleTemplate: '%s — Whitepaper'
22-
}
23-
}
19+
head: (
20+
<>
21+
<title>JumpServer Whitepaper</title>
22+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
23+
</>
24+
)
2425
}
2526

2627
export default config

0 commit comments

Comments
 (0)