diff --git a/.github/workflows/publish-website.yml b/.github/workflows/publish-website.yml
index b5385cb..4b2ebb3 100644
--- a/.github/workflows/publish-website.yml
+++ b/.github/workflows/publish-website.yml
@@ -6,7 +6,7 @@ on:
- release-pages
release:
types: [published, edited, deleted, unpublished]
-
+
permissions:
contents: read
pages: write
@@ -28,8 +28,8 @@ jobs:
FEISHU_APP_SECRET: ${{ secrets.FEISHU_APP_SECRET }}
FEISHU_SPACE_ID: "7273324757679325186"
OUTPUT_DIR: ./dist
- BASE_URL: https://longbridgeapp.github.io/feishu-pages/
- uses: longbridgeapp/feishu-pages@main
+ BASE_URL: https://longbridge.github.io/feishu-pages/
+ uses: longbridge/feishu-pages@main
- name: Build Website
run: |
cp -r dist/docs/* website/docs/
diff --git a/DEVELOPMENT b/DEVELOPMENT
index 7375876..e174be4 100644
--- a/DEVELOPMENT
+++ b/DEVELOPMENT
@@ -26,4 +26,4 @@ bun run dev
2. Create git tag with the same version number.
3. Push the tag to GitHub.
4. Then the GitHub Action will automatically release the new version to npm.
-5. Write Releate Notes in [Release Page](https://github.com/longbridgeapp/feishu-pages/releases)
+5. Write Releate Notes in [Release Page](https://github.com/longbridge/feishu-pages/releases)
diff --git a/README.md b/README.md
index 5f0d454..7e0dcc6 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@
## Features
-- [feishu-docx](https://github.com/longbridgeapp/feishu-pages/tree/main/feishu-docx) - 支持将飞书新版文档 Docx 转换为 Markdown 或其他格式(_目前只支持 Markdown_)
+- [feishu-docx](https://github.com/longbridge/feishu-pages/tree/main/feishu-docx) - 支持将飞书新版文档 Docx 转换为 Markdown 或其他格式(_目前只支持 Markdown_)
- 目录结构组织,与 URL 路径自定义
- 图片、附件下载
- 国际化支持
@@ -101,7 +101,7 @@ yarn feishu-pages
按上面默认的配置,最终会在 `./dist` 目录下生成 Markdown 文件以及导出的图片文件,如果你期望调整目录,可以自己设置 `OUTPUT_DIR` 环境变量。
-> 💡 文档内 [Page Mata](https://longbridgeapp.github.io/feishu-pages/zh-CN/page-meta) 标识为 `hide: true` 的文档将会被排除掉,你可以用来隐藏一些不想公开的文档。
+> 💡 文档内 [Page Mata](https://longbridge.github.io/feishu-pages/zh-CN/page-meta) 标识为 `hide: true` 的文档将会被排除掉,你可以用来隐藏一些不想公开的文档。
>
> 所有的 Markdown 导出的文件名将遵循知识库的目录树,并按照 Page Meta 里面的 `slug` 来整理文件夹和文件名。
@@ -111,7 +111,7 @@ yarn feishu-pages
> NOTE: 你需要用到 VitePress 或 Docusaurus 之类的文档工具,这里假设他们在项目根目录有 `yarn build` 命令可以将 `docs` 文件夹的 Markdown 文件生成为静态网站。
>
-> 具体可以参考:https://github.com/longbridgeapp/feishu-pages/tree/main/website
+> 具体可以参考:https://github.com/longbridge/feishu-pages/tree/main/website
```yml
on:
@@ -139,7 +139,7 @@ jobs:
FEISHU_APP_ID: ${{ secrets.FEISHU_APP_ID }}
FEISHU_APP_SECRET: ${{ secrets.FEISHU_APP_SECRET }}
FEISHU_SPACE_ID: ${{ secrets.FEISHU_SPACE_ID }}
- uses: longbridgeapp/feishu-pages@main
+ uses: longbridge/feishu-pages@main
- name: Build Pages
run: |
cp -r dist/docs ./
diff --git a/feishu-docx/README.md b/feishu-docx/README.md
index c59ac7c..0514fb5 100644
--- a/feishu-docx/README.md
+++ b/feishu-docx/README.md
@@ -2,7 +2,7 @@
Convert Feishu Docx into other formats (Markdown, HTML ...)
-Visit [https://github.com/longbridgeapp/feishu-pages](https://github.com/longbridgeapp/feishu-pages) to learn more.
+Visit [https://github.com/longbridge/feishu-pages](https://github.com/longbridge/feishu-pages) to learn more.
## How to add new fixture
diff --git a/feishu-docx/package.json b/feishu-docx/package.json
index b0562c3..c454cc0 100644
--- a/feishu-docx/package.json
+++ b/feishu-docx/package.json
@@ -6,7 +6,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": {
- "url": "https://github.com/longbridgeapp/feishu-pages"
+ "url": "https://github.com/longbridge/feishu-pages"
},
"publisher": "Jason Lee",
"author": {
diff --git a/feishu-docx/src/markdown_renderer.ts b/feishu-docx/src/markdown_renderer.ts
index 662ea8e..ad38c8e 100644
--- a/feishu-docx/src/markdown_renderer.ts
+++ b/feishu-docx/src/markdown_renderer.ts
@@ -163,7 +163,7 @@ export class MarkdownRenderer extends Renderer {
* Return false if not found first code block.
* Otherwise return true if parsed as YAML, false if not YAML.
*
- * https://longbridgeapp.github.io/feishu-pages/zh-CN/page-meta
+ * https://longbridge.github.io/feishu-pages/zh-CN/page-meta
*
* @param block
* @returns
diff --git a/feishu-docx/tests/fixtures/case3.expect.md b/feishu-docx/tests/fixtures/case3.expect.md
index b3ff0ae..7b7109a 100644
--- a/feishu-docx/tests/fixtures/case3.expect.md
+++ b/feishu-docx/tests/fixtures/case3.expect.md
@@ -23,7 +23,7 @@
## Features
-- [feishu-docx](https://github.com/longbridgeapp/feishu-pages/tree/main/feishu-docx) - 支持将飞书新版文档 Docx 转换为 Markdown 或其他格式(目前只支持 Markdown)
+- [feishu-docx](https://github.com/longbridge/feishu-pages/tree/main/feishu-docx) - 支持将飞书新版文档 Docx 转换为 Markdown 或其他格式(目前只支持 Markdown)
- 目录结构组织
- 图片下载
- 与 GitHub Actions 结合
@@ -169,4 +169,4 @@ yarn feishu-pages
## License
-MIT
\ No newline at end of file
+MIT
diff --git a/feishu-docx/tests/fixtures/case3.raw.json b/feishu-docx/tests/fixtures/case3.raw.json
index 5a291a3..5dc6f47 100644
--- a/feishu-docx/tests/fixtures/case3.raw.json
+++ b/feishu-docx/tests/fixtures/case3.raw.json
@@ -436,7 +436,7 @@
"inline_code": false,
"italic": false,
"link": {
- "url": "https%3A%2F%2Fgithub.com%2Flongbridgeapp%2Ffeishu-pages%2Ftree%2Fmain%2Ffeishu-docx"
+ "url": "https%3A%2F%2Fgithub.com%2Flongbridge%2Ffeishu-pages%2Ftree%2Fmain%2Ffeishu-docx"
},
"strikethrough": false,
"underline": false
@@ -4572,4 +4572,4 @@
}
}
]
-}
\ No newline at end of file
+}
diff --git a/feishu-pages/package.json b/feishu-pages/package.json
index 3a4d142..e551a25 100644
--- a/feishu-pages/package.json
+++ b/feishu-pages/package.json
@@ -3,7 +3,7 @@
"version": "0.7.6",
"description": "Generate Feishu Wiki into a Markdown for work with Static Page Generators.",
"repository": {
- "url": "https://github.com/longbridgeapp/feishu-pages"
+ "url": "https://github.com/longbridge/feishu-pages"
},
"license": "MIT",
"readme": "../README.md",
diff --git a/website/.vitepress/config.mts b/website/.vitepress/config.mts
index 047365b..65777b3 100644
--- a/website/.vitepress/config.mts
+++ b/website/.vitepress/config.mts
@@ -80,7 +80,7 @@ export default defineConfig({
},
{
text: 'GitHub',
- link: 'https://github.com/longbridgeapp/feishu-pages',
+ link: 'https://github.com/longbridge/feishu-pages',
},
],
@@ -89,7 +89,7 @@ export default defineConfig({
'zh-CN': docsSidebarZHCN,
},
socialLinks: [
- { icon: 'github', link: 'https://github.com/longbridgeapp/feishu-pages' },
+ { icon: 'github', link: 'https://github.com/longbridge/feishu-pages' },
],
},
});
diff --git a/website/generate-releases.js b/website/generate-releases.js
index 26b5e00..69249e9 100644
--- a/website/generate-releases.js
+++ b/website/generate-releases.js
@@ -2,7 +2,7 @@ const fs = require('fs');
const fetch = require('node-fetch');
const targetFile = 'docs/releases.md';
-const repo = 'longbridgeapp/feishu-pages';
+const repo = 'longbridge/feishu-pages';
const pageSize = 200;
const fetchRelease = async () => {