Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FlowUs按目录存放文档不能同步 #113

Open
0xSparks opened this issue Jan 15, 2025 · 1 comment
Open

FlowUs按目录存放文档不能同步 #113

0xSparks opened this issue Jan 15, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@0xSparks
Copy link

你当前使用的Elog版本

0.14.5

Elog配置文件

module.exports = {
  write: {
    platform: 'flowus',
    flowus: {
      tablePageId: process.env.FLOWUS_TABLE_PAGE_ID,
      filter: false,
      sort: true,
      catalog: true
    },
  },
  deploy: {
    platform: 'local',
    local: {
      outputDir: './docs',
      filename: 'urlname',
      format: 'markdown',
      formatExt: '',
      catalog: true,
      frontMatter: {
        enable: true,
        exclude: ['status'],
      }
    }
  },
  image: {
    enable: false,
    platform: 'local',
    local: {
      outputDir: './docs/images',
      prefixKey: '/images',
      pathFollowDoc: false,
    }
  }
}

发生了什么?

当我选择多个catalog时,运行同步命令卡住,不能继续进行下去。选择一个catalog的时候是可以同步的。
sparks-sz_2025-01-15_22-36-19

image

Elog错误日志

No response

附加信息

No response

@0xSparks 0xSparks added the bug Something isn't working label Jan 15, 2025
@LetTTGACO
Copy link
Owner

LetTTGACO commented Jan 16, 2025

很奇怪,我和你的配置文件一样,我自己试了下没卡住,一切正常
image
image
image

我的 FlowUs 链接:https://flowus.cn/1874/share/90398607-98f1-4ff0-873c-7c3ed526a55c?code=KGTK3K
我的tablePageId=90398607-98f1-4ff0-873c-7c3ed526a55c
我的配置文件

module.exports = {
  write: {
    platform: 'flowus',
    flowus: {
      tablePageId: process.env.FLOWUS_TABLE_PAGE_ID,
      filter: false,
      sort: true,
      catalog: true
    },
  },
  deploy: {
    platform: 'local',
    local: {
      outputDir: './docs/flowus',
      filename: 'urlname',
      format: 'markdown',
      formatExt: '',
      catalog: true,
      frontMatter: {
        enable: true,
        exclude: ['status'],
      }
    }
  },
  image: {
    enable: false,
    platform: 'cos',
    cos: {
      secretId: process.env.COS_SECRET_ID,
      secretKey: process.env.COS_SECRET_KEY,
      bucket: process.env.COS_IMAGE_BUCKET,
      region: process.env.COS_IMAGE_REGION,
      host: process.env.COS_HOST,
      prefixKey: 'elog-docs-images',
      secretExt: '', // 可选
    }
  },
}

方便提供下同步卡住时的日志吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants