Skip to content

Commit b7ffbd5

Browse files
committed
fix checks
1 parent 025de1a commit b7ffbd5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/docs-check.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
- uses: actions/checkout@v4
3131
with:
3232
fetch-depth: 0
33+
- name: Generate versioned docs
34+
run: ./build_versioned_docs.sh
3335
- uses: actions/setup-node@v4
3436
with:
3537
node-version: 18

website/docusaurus.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ const config: Config = {
5656
{
5757
docs: {
5858
sidebarPath: './sidebars.ts',
59-
editUrl:
60-
'https://github.com/alibaba/fluss/tree/main/website/',
59+
editUrl: ({versionDocsDirPath, docPath}) =>
60+
`https://github.com/alibaba/fluss/tree/main/website/docs/${docPath}`,
6161
remarkPlugins: [versionReplace],
6262
},
6363
blog: {

0 commit comments

Comments
 (0)