Compare commits

...

50 Commits

Author SHA1 Message Date
lifedreamer 1a8cb3a7de refactor: .devops/实验一.yml 2025-07-16 16:53:26 +08:00
lifedreamer 70ce7e658b Update docusaurus.config.js 2025-06-03 16:33:12 +08:00
lifedreamer 9a8cce6bf9 Update docusaurus.config.js 2025-06-03 16:32:34 +08:00
hzd123456 b9c56fd3d6 Delete src/theme/Navbar/Content/styles.module.css 2025-06-03 15:36:04 +08:00
hzd123456 45e22736df Delete src/theme/Navbar/Content/index.js 2025-06-03 15:35:46 +08:00
hzd123456 0331341c52 Delete src/components/PdfExport/styles.module.css 2025-06-03 15:35:25 +08:00
hzd123456 8db3fe22c1 Delete src/components/PdfExport/index.js 2025-06-03 15:34:57 +08:00
hzd123456 90fc9a7af7 feat: 添加PDF导出功能 2025-06-03 15:24:40 +08:00
hzd123456 55d105cee6 功能添加——导出PDF 2025-06-03 15:11:07 +08:00
lifedreamer ff61d3899b Delete src/theme/Navbar/Content/index.js 2025-06-03 14:56:18 +08:00
lifedreamer ee03cb87cc Delete src/theme/Navbar/index.js 2025-06-03 14:48:54 +08:00
lifedreamer 602c27b277 Delete src/theme/ExportPDFButton/index.js 2025-06-03 14:48:39 +08:00
lifedreamer 15ca76bdde 添加功能——导出PDF 2025-06-03 08:47:15 +08:00
4dreamer1 1e1ae60860 2025-06-03 08:46:24 +08:00
4dreamer1 f4585e9d41 新增功能——导出PDF 2025-06-02 21:39:30 +08:00
chenyanzhan dad03730a9 Merge pull request '111' (#8) from chenyanzhan-branch into master 2025-06-02 20:39:16 +08:00
hzd123456 1ad555f13a Merge pull request '到达底部与点赞和踩' (#7) from hezhendong-branch into master 2025-06-02 20:32:15 +08:00
2793660631@qq.com 9873d915a2 新增ai回答 2025-06-02 20:31:52 +08:00
hzd123456 fdcc5cc8a1 1 2025-06-02 20:31:11 +08:00
hzd123456 2227d05d7e 到达底部与点赞和踩 2025-06-02 20:25:59 +08:00
hzd123456 628169444b Merge branch 'hezhendong-branch' of https://gitlink.org.cn/likecheng22/gitlink_help_center into hezhendong-branch
# Conflicts:
#	src/theme/Layout/index.js
2025-06-02 20:24:00 +08:00
hzd123456 8f993f5bb1 1 2025-06-02 20:22:34 +08:00
hzd123456 7f07e75eec 2 2025-06-02 19:54:59 +08:00
hzd123456 7ba7b54fbf 到达底部与回到顶部按钮添加 2025-06-02 19:21:25 +08:00
hzd123456 991dadc2c3 1 2025-06-02 19:17:45 +08:00
chenyanzhan 3ab32e73c6 Merge pull request '新增功能' (#3) from chenyanzhan-branch into master 2025-06-02 19:07:39 +08:00
2793660631@qq.com c2e7c67c36 新增功能反馈跟常用文档 2025-06-02 19:06:51 +08:00
likecheng22 5a1a2a3d79 feat: .devops/实验一.yml 2025-06-01 23:42:58 +08:00
likecheng22 4fb654f004 refactor: delete .devops/实验一.yml 2025-06-01 23:42:32 +08:00
likecheng22 d34f3c4eec feat: .devops/实验一.yml 2025-06-01 23:41:25 +08:00
likecheng22 79a50964a6 refactor: delete .devops/实验一.yml 2025-06-01 23:40:48 +08:00
likecheng22 de8951c795 refactor: .devops/实验一.yml 2025-06-01 23:27:15 +08:00
likecheng22 40543b99a3 refactor: delete .devops/未命名项目.yml 2025-06-01 23:26:38 +08:00
lifedreamer 5b17c32c72 refactor: .devops/未命名项目.yml 2025-06-01 22:18:51 +08:00
lifedreamer 7b77ab907b refactor: .devops/未命名项目.yml 2025-06-01 22:10:20 +08:00
lifedreamer 8e70d9aa3c feat: .devops/未命名项目.yml 2025-06-01 22:09:46 +08:00
lifedreamer 9708454c7f refactor: delete .devops/未命名项目.yml 2025-06-01 22:03:18 +08:00
lifedreamer 1e05e51247 refactor: .devops/未命名项目.yml 2025-06-01 21:57:24 +08:00
lifedreamer ed70d62365 refactor: .devops/未命名项目.yml 2025-06-01 11:04:56 +08:00
hzd123456 dc82d47a7a Merge pull request '格式' (#2) from hezhendong-branch into master 2025-05-30 11:39:54 +08:00
chenyanzhan 12c1290c6e Merge pull request '1111' (#1) from chenyanzhan-branch into master 2025-05-30 11:39:19 +08:00
hzd123456 2982c91f8f 格式 2025-05-30 11:36:12 +08:00
2793660631@qq.com 41d23fb2de 修改第二标题格式保持一致 2025-05-30 11:34:06 +08:00
2793660631@qq.com 6e192c814b 格式 2025-05-30 11:04:12 +08:00
lifedreamer bb13b5b7d4 Delete 测试.txt 2025-05-30 10:31:50 +08:00
4dreamer1 2ae9bcf297 1 2025-05-30 10:30:37 +08:00
lifedreamer bf8e997019 Update 注册GitLink账号.md 2025-05-27 17:07:43 +08:00
lifedreamer a874d51fcd Update 注册GitLink账号.md 2025-05-27 17:06:10 +08:00
lifedreamer 8d221c5f1d Update 注册GitLink账号.md 2025-05-27 17:04:29 +08:00
lifedreamer 15d9b2d42d Update 注册GitLink账号.md 2025-05-27 16:59:38 +08:00
49 changed files with 2126 additions and 160 deletions

View File

@ -16,11 +16,11 @@ workflow:
name: docker镜像构建
task: docker_image_build@1.6.0
input:
docker_username: ((nudt_devops.nudt_devops))
docker_password: ((nudt_devops.nudt_devops))
image_name: '"registry.cn-guangzhou.aliyuncs.com/nudt_devops/gitlink_help_center_group5"'
docker_username: ((likecheng.docker_user))
docker_password: ((likecheng.docker_pswd))
image_name: '"crpi-hrmn1kvspzg9vrn0.cn-hangzhou.personal.cr.aliyuncs.com/likecheng/likecheng"'
image_tag: '"latest"'
registry_address: '"registry.cn-guangzhou.aliyuncs.com"'
registry_address: '"crpi-hrmn1kvspzg9vrn0.cn-hangzhou.personal.cr.aliyuncs.com"'
docker_file: '"Dockerfile"'
docker_build_path: '"."'
workspace: git_clone_0.git_path
@ -32,9 +32,9 @@ workflow:
name: git clone
task: git_clone@1.2.9
input:
username: ((ganshihao21.ganshihao21_user))
password: ((ganshihao21.ganshihao21))
remote_url: '"https://gitlink.org.cn/shuaihao/gitlink_help_center.git"'
username: ((likecheng.user))
password: ((likecheng.pswd))
remote_url: '"https://gitlink.org.cn/likecheng22/gitlink_help_center.git"'
ref: '"refs/heads/master"'
commit_id: '""'
depth: 1
@ -44,14 +44,14 @@ workflow:
name: ssh执行命令
task: ssh_cmd@1.1.1
input:
ssh_pass: ((ssh_key.ssh_key))
ssh_ip: '"47.96.164.145"'
ssh_pass: ((likecheng.ssh_pswd))
ssh_ip: '"116.62.22.98"'
ssh_port: '"22"'
ssh_user: '"root"'
ssh_cmd: '"docker stop ghc_group5 && docker rm ghc_group5 && docker pull
registry.cn-guangzhou.aliyuncs.com/nudt_devops/gitlink_help_center_group5:latest
&& docker run -d -p 3000:3000 --name ghc_group5
registry.cn-guangzhou.aliyuncs.com/nudt_devops/gitlink_help_center_group5:latest"'
ssh_cmd: '" docker stop group10_helpcenter ; docker rm group10_helpcenter && docker pull
crpi-hrmn1kvspzg9vrn0.cn-hangzhou.personal.cr.aliyuncs.com/likecheng/likecheng:latest
&& docker run -d -p 3000:3000 --name group10_helpcenter
crpi-hrmn1kvspzg9vrn0.cn-hangzhou.personal.cr.aliyuncs.com/likecheng/likecheng:latest"'
needs:
- docker_image_build_0
- ref: end
@ -59,4 +59,3 @@ workflow:
task: end
needs:
- ssh_cmd_0

View File

@ -1,62 +0,0 @@
version: 2
name: 未命名项目
description: ""
global:
concurrent: 1
trigger:
webhook: gitlink@1.0.0
event:
- ref: push
ruleset-operator: AND
workflow:
- ref: start
name: 开始
task: start
- ref: git_clone_0
name: git clone
task: git_clone@1.2.9
input:
username: ((ganshihao21.ganshihao21_user))
password: ((ganshihao21.ganshihao21))
remote_url: '"https://gitlink.org.cn/ganshihao21/reposync.git"'
ref: '"refs/heads/master"'
commit_id: '""'
depth: 1
needs:
- start
- ref: docker_image_build_0
name: docker镜像构建
task: docker_image_build@1.6.0
input:
docker_username: ((nudt_devops.nudt_devops))
docker_password: ((nudt_devops.nudt_devops))
image_name: '"registry.cn-guangzhou.aliyuncs.com/nudt_devops/reposync_group5"'
image_tag: '"latest"'
registry_address: '"registry.cn-guangzhou.aliyuncs.com"'
docker_file: '"Dockerfile"'
docker_build_path: '"."'
workspace: git_clone_0.git_path
image_push: true
build_args: '""'
needs:
- git_clone_0
- ref: ssh_cmd_0
name: ssh执行命令
task: ssh_cmd@1.1.1
input:
ssh_pass: ((ssh_key.ssh_key))
ssh_ip: '"47.96.164.145"'
ssh_port: '"22"'
ssh_user: '"root"'
ssh_cmd: '"docker stop abc_group5 && docker rm abc_group5 && docker pull
registry.cn-guangzhou.aliyuncs.com/nudt_devops/reposync_group5:latest &&
docker run -d -p 3000:3000 --name abc_group5
registry.cn-guangzhou.aliyuncs.com/nudt_devops/reposync_group5:latest"'
needs:
- docker_image_build_0
- ref: end
name: 结束
task: end
needs:
- ssh_cmd_0

View File

@ -70,6 +70,12 @@ module.exports = {
position: 'left',
dropdownActiveClassDisabled: true
},
// 收藏按钮已移除
// {
// type: 'html',
// position: 'right',
// value: '<span id="favorite-btn-placeholder"></span>',
// },
// {
// href: 'https://github.com/boxyhq',
// position: 'right',
@ -152,7 +158,7 @@ module.exports = {
{
docs: {
// sidebarPath: require.resolve('./sidebars.js'),
editUrl:'https://www.gitlink.org.cn/Gitlink/gitlink_help_center/tree/master/',
editUrl:'https://www.gitlink.org.cn/likecheng22/gitlink_help_center/tree/master/',
routeBasePath: "/",
},
theme: {
@ -167,21 +173,26 @@ module.exports = {
require.resolve("@easyops-cn/docusaurus-search-local"),
{
// ... Your options.
// `hashed` is recommended as long-term-cache of index file is possible.
hashed: true,
language: ["en", "zh"],
highlightSearchTermsOnTargetPage: true,
blogRouteBasePath: "/",
explicitSearchResultPath: true,
// For Docs using Chinese, The `language` is recommended to set to:
// ```
// language: ["en", "zh"],
// ```
},
],
],
i18n: {
defaultLocale: 'zh-cn',
locales: ['zh-cn'],
locales: ['zh-cn', 'en'],
localeConfigs: {
'zh-cn': {
label: '简体中文',
direction: 'ltr',
},
en: {
label: 'English',
direction: 'ltr',
},
},
},
};

1
gitlink_help_center Submodule

@ -0,0 +1 @@
Subproject commit 5a1a2a3d79a17d53d396f2264b2c9c23cda7eb43

308
i18n/en/code.json Normal file
View File

@ -0,0 +1,308 @@
{
"theme.ErrorPageContent.title": {
"message": "This page crashed.",
"description": "The title of the fallback page when the page crashed"
},
"theme.NotFound.title": {
"message": "Page Not Found",
"description": "The title of the 404 page"
},
"theme.NotFound.p1": {
"message": "We could not find what you were looking for.",
"description": "The first paragraph of the 404 page"
},
"theme.NotFound.p2": {
"message": "Please contact the owner of the site that linked you to the original URL and let them know their link is broken.",
"description": "The 2nd paragraph of the 404 page"
},
"theme.admonition.note": {
"message": "note",
"description": "The default label used for the Note admonition (:::note)"
},
"theme.admonition.tip": {
"message": "tip",
"description": "The default label used for the Tip admonition (:::tip)"
},
"theme.admonition.danger": {
"message": "danger",
"description": "The default label used for the Danger admonition (:::danger)"
},
"theme.admonition.info": {
"message": "info",
"description": "The default label used for the Info admonition (:::info)"
},
"theme.admonition.caution": {
"message": "caution",
"description": "The default label used for the Caution admonition (:::caution)"
},
"theme.blog.archive.title": {
"message": "Archive",
"description": "The page & hero title of the blog archive page"
},
"theme.blog.archive.description": {
"message": "Archive",
"description": "The page & hero description of the blog archive page"
},
"theme.BackToTopButton.buttonAriaLabel": {
"message": "Scroll back to top",
"description": "The ARIA label for the back to top button"
},
"theme.blog.paginator.navAriaLabel": {
"message": "Blog list page navigation",
"description": "The ARIA label for the blog pagination"
},
"theme.blog.paginator.newerEntries": {
"message": "Newer Entries",
"description": "The label used to navigate to the newer blog posts page (previous page)"
},
"theme.blog.paginator.olderEntries": {
"message": "Older Entries",
"description": "The label used to navigate to the older blog posts page (next page)"
},
"theme.blog.post.paginator.navAriaLabel": {
"message": "Blog post page navigation",
"description": "The ARIA label for the blog posts pagination"
},
"theme.blog.post.paginator.newerPost": {
"message": "Newer Post",
"description": "The blog post button label to navigate to the newer/previous post"
},
"theme.blog.post.paginator.olderPost": {
"message": "Older Post",
"description": "The blog post button label to navigate to the older/next post"
},
"theme.blog.post.plurals": {
"message": "One post|{count} posts",
"description": "Pluralized label for \"{count} posts\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
},
"theme.blog.tagTitle": {
"message": "{nPosts} tagged with \"{tagName}\"",
"description": "The title of the page for a blog tag"
},
"theme.tags.tagsPageLink": {
"message": "View All Tags",
"description": "The label of the link targeting the tag list page"
},
"theme.colorToggle.ariaLabel": {
"message": "Switch between dark and light mode (currently {mode})",
"description": "The ARIA label for the navbar color mode toggle"
},
"theme.colorToggle.ariaLabel.mode.dark": {
"message": "dark mode",
"description": "The name for the dark color mode"
},
"theme.colorToggle.ariaLabel.mode.light": {
"message": "light mode",
"description": "The name for the light color mode"
},
"theme.docs.breadcrumbs.navAriaLabel": {
"message": "Breadcrumbs",
"description": "The ARIA label for the breadcrumbs"
},
"theme.docs.DocCard.categoryDescription": {
"message": "{count} items",
"description": "The default description for a category card in the generated index about how many items this category includes"
},
"theme.docs.paginator.navAriaLabel": {
"message": "Docs pages",
"description": "The ARIA label for the docs pagination"
},
"theme.docs.paginator.previous": {
"message": "Previous",
"description": "The label used to navigate to the previous doc"
},
"theme.docs.paginator.next": {
"message": "Next",
"description": "The label used to navigate to the next doc"
},
"theme.docs.tagDocListPageTitle.nDocsTagged": {
"message": "One doc tagged|{count} docs tagged",
"description": "Pluralized label for \"{count} docs tagged\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
},
"theme.docs.tagDocListPageTitle": {
"message": "{nDocsTagged} with \"{tagName}\"",
"description": "The title of the page for a docs tag"
},
"theme.docs.versionBadge.label": {
"message": "Version: {versionLabel}"
},
"theme.docs.versions.unreleasedVersionLabel": {
"message": "This is unreleased documentation for {siteTitle} {versionLabel} version.",
"description": "The label used to tell the user that he's browsing an unreleased doc version"
},
"theme.docs.versions.unmaintainedVersionLabel": {
"message": "This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained.",
"description": "The label used to tell the user that he's browsing an unmaintained doc version"
},
"theme.docs.versions.latestVersionSuggestionLabel": {
"message": "For up-to-date documentation, see the {latestVersionLink} ({versionLabel}).",
"description": "The label used to tell the user to check the latest version"
},
"theme.docs.versions.latestVersionLinkLabel": {
"message": "latest version",
"description": "The label used for the latest version suggestion link label"
},
"theme.common.editThisPage": {
"message": "Edit this page",
"description": "The link label to edit the current page"
},
"theme.common.headingLinkTitle": {
"message": "Direct link to {heading}",
"description": "Title for link to heading"
},
"theme.lastUpdated.atDate": {
"message": " on {date}",
"description": "The words used to describe on which date a page has been last updated"
},
"theme.lastUpdated.byUser": {
"message": " by {user}",
"description": "The words used to describe by who the page has been last updated"
},
"theme.lastUpdated.lastUpdatedAtBy": {
"message": "Last updated{atDate}{byUser}",
"description": "The sentence used to display when a page has been last updated, and by who"
},
"theme.navbar.mobileVersionsDropdown.label": {
"message": "Versions",
"description": "The label for the navbar versions dropdown on mobile view"
},
"theme.tags.tagsListLabel": {
"message": "Tags:",
"description": "The label alongside a tag list"
},
"theme.AnnouncementBar.closeButtonAriaLabel": {
"message": "Close",
"description": "The ARIA label for close button of announcement bar"
},
"theme.blog.sidebar.navAriaLabel": {
"message": "Blog recent posts navigation",
"description": "The ARIA label for recent posts in the blog sidebar"
},
"theme.CodeBlock.copied": {
"message": "Copied",
"description": "The copied button label on code blocks"
},
"theme.CodeBlock.copyButtonAriaLabel": {
"message": "Copy code to clipboard",
"description": "The ARIA label for copy code blocks button"
},
"theme.CodeBlock.copy": {
"message": "Copy",
"description": "The copy button label on code blocks"
},
"theme.CodeBlock.wordWrapToggle": {
"message": "Toggle word wrap",
"description": "The title attribute for toggle word wrapping button of code block lines"
},
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": {
"message": "Toggle the collapsible sidebar category '{label}'",
"description": "The ARIA label to toggle the collapsible sidebar category"
},
"theme.NavBar.navAriaLabel": {
"message": "Main",
"description": "The ARIA label for the main navigation"
},
"theme.navbar.mobileLanguageDropdown.label": {
"message": "Languages",
"description": "The label for the mobile language switcher dropdown"
},
"theme.TOCCollapsible.toggleButtonLabel": {
"message": "On this page",
"description": "The label used by the button on the collapsible TOC component"
},
"theme.blog.post.readMore": {
"message": "Read More",
"description": "The label used in blog post item excerpts to link to full blog posts"
},
"theme.blog.post.readMoreLabel": {
"message": "Read more about {title}",
"description": "The ARIA label for the link to full blog posts from excerpts"
},
"theme.docs.breadcrumbs.home": {
"message": "Home page",
"description": "The ARIA label for the home page in the breadcrumbs"
},
"theme.blog.post.readingTime.plurals": {
"message": "One min read|{readingTime} min read",
"description": "Pluralized label for \"{readingTime} min read\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
},
"theme.docs.sidebar.collapseButtonTitle": {
"message": "Collapse sidebar",
"description": "The title attribute for collapse button of doc sidebar"
},
"theme.docs.sidebar.collapseButtonAriaLabel": {
"message": "Collapse sidebar",
"description": "The title attribute for collapse button of doc sidebar"
},
"theme.docs.sidebar.navAriaLabel": {
"message": "Docs sidebar",
"description": "The ARIA label for the sidebar navigation"
},
"theme.docs.sidebar.closeSidebarButtonAriaLabel": {
"message": "Close navigation bar",
"description": "The ARIA label for close button of mobile sidebar"
},
"theme.docs.sidebar.expandButtonTitle": {
"message": "Expand sidebar",
"description": "The ARIA label and title attribute for expand button of doc sidebar"
},
"theme.docs.sidebar.expandButtonAriaLabel": {
"message": "Expand sidebar",
"description": "The ARIA label and title attribute for expand button of doc sidebar"
},
"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": {
"message": "← Back to main menu",
"description": "The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)"
},
"theme.docs.sidebar.toggleSidebarButtonAriaLabel": {
"message": "Toggle navigation bar",
"description": "The ARIA label for hamburger menu button of mobile navigation"
},
"theme.SearchBar.noResultsText": {
"message": "No results"
},
"theme.SearchBar.seeAll": {
"message": "See all results"
},
"theme.SearchBar.seeAllOutsideContext": {
"message": "See results outside {context}"
},
"theme.SearchBar.searchInContext": {
"message": "See all results in {context}"
},
"theme.SearchBar.label": {
"message": "Search",
"description": "The ARIA label and placeholder for search button"
},
"theme.SearchPage.existingResultsTitle": {
"message": "Search results for \"{query}\"",
"description": "The search page title for non-empty query"
},
"theme.SearchPage.emptyResultsTitle": {
"message": "Search the documentation",
"description": "The search page title for empty query"
},
"theme.SearchPage.searchContext.everywhere": {
"message": "everywhere"
},
"theme.SearchPage.documentsFound.plurals": {
"message": "1 document found|{count} documents found",
"description": "Pluralized label for \"{count} documents found\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
},
"theme.SearchPage.noResultsText": {
"message": "No documents were found",
"description": "The paragraph for empty search result"
},
"theme.ErrorPageContent.tryAgain": {
"message": "Try again",
"description": "The label of the button to try again rendering when the React error boundary captures an error"
},
"theme.common.skipToMainContent": {
"message": "Skip to main content",
"description": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation"
},
"theme.tags.tagsPageTitle": {
"message": "Tags",
"description": "The title of the tag list page"
}
}

View File

@ -0,0 +1,14 @@
{
"title": {
"message": "Blog",
"description": "The title for the blog used in SEO"
},
"description": {
"message": "Blog",
"description": "The description for the blog used in SEO"
},
"sidebar.title": {
"message": "Recent posts",
"description": "The label for the left sidebar"
}
}

View File

@ -0,0 +1,54 @@
{
"version.label": {
"message": "Next",
"description": "The label for version current"
},
"sidebar.defaultSidebar.category.快速开始": {
"message": "快速开始",
"description": "The label for category 快速开始 in sidebar defaultSidebar"
},
"sidebar.defaultSidebar.category.代码库管理": {
"message": "代码库管理",
"description": "The label for category 代码库管理 in sidebar defaultSidebar"
},
"sidebar.defaultSidebar.category.组织管理": {
"message": "组织管理",
"description": "The label for category 组织管理 in sidebar defaultSidebar"
},
"sidebar.defaultSidebar.category.疑修(Issue)": {
"message": "疑修(Issue)",
"description": "The label for category 疑修(Issue) in sidebar defaultSidebar"
},
"sidebar.defaultSidebar.category.合并请求(PR)": {
"message": "合并请求(PR)",
"description": "The label for category 合并请求(PR) in sidebar defaultSidebar"
},
"sidebar.defaultSidebar.category.DevOps引擎(Engine)": {
"message": "DevOps引擎(Engine)",
"description": "The label for category DevOps引擎(Engine) in sidebar defaultSidebar"
},
"sidebar.defaultSidebar.category.维基(Wiki)": {
"message": "维基(Wiki)",
"description": "The label for category 维基(Wiki) in sidebar defaultSidebar"
},
"sidebar.defaultSidebar.category.机器人(Bot)": {
"message": "机器人(Bot)",
"description": "The label for category 机器人(Bot) in sidebar defaultSidebar"
},
"sidebar.defaultSidebar.category.第三方服务": {
"message": "第三方服务",
"description": "The label for category 第三方服务 in sidebar defaultSidebar"
},
"sidebar.defaultSidebar.category.通知": {
"message": "通知",
"description": "The label for category 通知 in sidebar defaultSidebar"
},
"sidebar.defaultSidebar.category.个人主页建站": {
"message": "个人主页建站",
"description": "The label for category 个人主页建站 in sidebar defaultSidebar"
},
"sidebar.defaultSidebar.category.服务协议": {
"message": "服务协议",
"description": "The label for category 服务协议 in sidebar defaultSidebar"
}
}

View File

@ -0,0 +1,54 @@
{
"version.label": {
"message": "1.1.0",
"description": "The label for version 1.1.0"
},
"sidebar.defaultSidebar.category.快速开始": {
"message": "快速开始",
"description": "The label for category 快速开始 in sidebar defaultSidebar"
},
"sidebar.defaultSidebar.category.代码库管理": {
"message": "代码库管理",
"description": "The label for category 代码库管理 in sidebar defaultSidebar"
},
"sidebar.defaultSidebar.category.组织管理": {
"message": "组织管理",
"description": "The label for category 组织管理 in sidebar defaultSidebar"
},
"sidebar.defaultSidebar.category.疑修(Issue)": {
"message": "疑修(Issue)",
"description": "The label for category 疑修(Issue) in sidebar defaultSidebar"
},
"sidebar.defaultSidebar.category.合并请求(PR)": {
"message": "合并请求(PR)",
"description": "The label for category 合并请求(PR) in sidebar defaultSidebar"
},
"sidebar.defaultSidebar.category.DevOps引擎(Engine)": {
"message": "DevOps引擎(Engine)",
"description": "The label for category DevOps引擎(Engine) in sidebar defaultSidebar"
},
"sidebar.defaultSidebar.category.维基(Wiki)": {
"message": "维基(Wiki)",
"description": "The label for category 维基(Wiki) in sidebar defaultSidebar"
},
"sidebar.defaultSidebar.category.机器人(Bot)": {
"message": "机器人(Bot)",
"description": "The label for category 机器人(Bot) in sidebar defaultSidebar"
},
"sidebar.defaultSidebar.category.第三方服务": {
"message": "第三方服务",
"description": "The label for category 第三方服务 in sidebar defaultSidebar"
},
"sidebar.defaultSidebar.category.通知": {
"message": "通知",
"description": "The label for category 通知 in sidebar defaultSidebar"
},
"sidebar.defaultSidebar.category.个人主页建站": {
"message": "个人主页建站",
"description": "The label for category 个人主页建站 in sidebar defaultSidebar"
},
"sidebar.defaultSidebar.category.服务协议": {
"message": "服务协议",
"description": "The label for category 服务协议 in sidebar defaultSidebar"
}
}

View File

@ -0,0 +1,62 @@
{
"link.title.社区": {
"message": "社区",
"description": "The title of the footer links column with title=社区 in the footer"
},
"link.title.支持与服务": {
"message": "支持与服务",
"description": "The title of the footer links column with title=支持与服务 in the footer"
},
"link.title.加入我们": {
"message": "加入我们",
"description": "The title of the footer links column with title=加入我们 in the footer"
},
"link.item.label.网站首页": {
"message": "网站首页",
"description": "The label of footer link with label=网站首页 linking to https://www.gitlink.org.cn"
},
"link.item.label.关于我们": {
"message": "关于我们",
"description": "The label of footer link with label=关于我们 linking to https://www.gitlink.org.cn/aboutus"
},
"link.item.label.教学实践": {
"message": "教学实践",
"description": "The label of footer link with label=教学实践 linking to https://www.gitlink.org.cn/educoder"
},
"link.item.label.合作伙伴": {
"message": "合作伙伴",
"description": "The label of footer link with label=合作伙伴 linking to https://forum.trustie.net/forums/5030/detail"
},
"link.item.label.API文档": {
"message": "API文档",
"description": "The label of footer link with label=API文档 linking to https://forgeplus.trustie.net/docs/api"
},
"link.item.label.Git常用命令": {
"message": "Git常用命令",
"description": "The label of footer link with label=Git常用命令 linking to https://git-scm.com"
},
"link.item.label.引擎使用手册": {
"message": "引擎使用手册",
"description": "The label of footer link with label=引擎使用手册 linking to https://forum.gitlink.org.cn/forums/7487/detail"
},
"link.item.label.服务协议": {
"message": "服务协议",
"description": "The label of footer link with label=服务协议 linking to https://forum.trustie.net/forums/5029/detail"
},
"link.item.label.官网邮箱gitlink@ccf.org.cn": {
"message": "官网邮箱gitlink@ccf.org.cn",
"description": "The label of footer link with label=官网邮箱gitlink@ccf.org.cn linking to https://www.gitlink.org.cn"
},
"link.item.label.QQ群": {
"message": "QQ群",
"description": "The label of footer link with label=QQ群 linking to https://www.gitlink.org.cn"
},
"link.item.label.公众号": {
"message": "公众号",
"description": "The label of footer link with label=公众号 linking to https://www.gitlink.org.cn"
},
"copyright": {
"message": "<p>©Copyright 2025 CCF 开源发展委员会</p><p>Powered by Trustie& IntelliDE 京ICP备13000930号</p>",
"description": "The footer copyright"
}
}

View File

@ -0,0 +1,10 @@
{
"logo.alt": {
"message": "gitlink",
"description": "The alt text of navbar logo"
},
"item.label.帮助中心": {
"message": "帮助中心",
"description": "Navbar item with label 帮助中心"
}
}

380
package-lock.json generated
View File

@ -18,6 +18,9 @@
"clsx": "1.2.1",
"docusaurus-gtm-plugin": "0.0.2",
"docusaurus-plugin-image-zoom": "1.0.1",
"html2canvas": "^1.4.1",
"html2pdf.js": "^0.10.3",
"jspdf": "^3.0.1",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-modal": "3.16.1"
@ -1906,12 +1909,10 @@
}
},
"node_modules/@babel/runtime": {
"version": "7.21.0",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.21.0.tgz",
"integrity": "sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw==",
"dependencies": {
"regenerator-runtime": "^0.13.11"
},
"version": "7.27.4",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.27.4.tgz",
"integrity": "sha512-t3yaEOuGu9NlIZ+hIeGbBjFtZT7j2cb2tg0fuaJKeGotchRjjLfrBA9Kwf8quhpP1EUuxModQg04q/mBwyg8uA==",
"license": "MIT",
"engines": {
"node": ">=6.9.0"
}
@ -3645,6 +3646,13 @@
"resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz",
"integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw=="
},
"node_modules/@types/raf": {
"version": "3.4.3",
"resolved": "https://registry.npmjs.org/@types/raf/-/raf-3.4.3.tgz",
"integrity": "sha512-c4YAvMedbPZ5tEyxzQdMoOhhJ4RD3rngZIdwC2/qDN3d7JpEhB6fiBRKVY1lg5B7Wk+uPBjn5f39j1/2MY1oOw==",
"license": "MIT",
"optional": true
},
"node_modules/@types/range-parser": {
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz",
@ -3732,6 +3740,13 @@
"@types/node": "*"
}
},
"node_modules/@types/trusted-types": {
"version": "2.0.7",
"resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz",
"integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==",
"license": "MIT",
"optional": true
},
"node_modules/@types/unist": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.6.tgz",
@ -4175,6 +4190,18 @@
"node": ">= 4.0.0"
}
},
"node_modules/atob": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz",
"integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==",
"license": "(MIT OR Apache-2.0)",
"bin": {
"atob": "bin/atob.js"
},
"engines": {
"node": ">= 4.5.0"
}
},
"node_modules/autoprefixer": {
"version": "10.4.14",
"resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.14.tgz",
@ -4342,6 +4369,15 @@
"resolved": "https://registry.npmjs.org/base16/-/base16-1.0.0.tgz",
"integrity": "sha512-pNdYkNPiJUnEhnfXV56+sQy8+AaPcG3POZAUnwr4EeqCUZFz4u2PePbo3e5Gj4ziYPCWGUZT9RHisvJKnwFuBQ=="
},
"node_modules/base64-arraybuffer": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz",
"integrity": "sha512-I3yl4r9QB5ZRY3XuJVEPfc2XhZO6YweFPI+UovAzn+8/hb3oJ6lnysaFcjVpkCPfVWFUDvoZ8kmVDP7WyRtYtQ==",
"license": "MIT",
"engines": {
"node": ">= 0.6.0"
}
},
"node_modules/batch": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz",
@ -4491,6 +4527,18 @@
"node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
}
},
"node_modules/btoa": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz",
"integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==",
"license": "(MIT OR Apache-2.0)",
"bin": {
"btoa": "bin/btoa.js"
},
"engines": {
"node": ">= 0.4.0"
}
},
"node_modules/buffer-from": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
@ -4625,6 +4673,26 @@
}
]
},
"node_modules/canvg": {
"version": "3.0.11",
"resolved": "https://registry.npmjs.org/canvg/-/canvg-3.0.11.tgz",
"integrity": "sha512-5ON+q7jCTgMp9cjpu4Jo6XbvfYwSB2Ow3kzHKfIyJfaCAOHLbdKPQqGKgfED/R5B+3TFFfe8pegYA+b423SRyA==",
"license": "MIT",
"optional": true,
"dependencies": {
"@babel/runtime": "^7.12.5",
"@types/raf": "^3.4.0",
"core-js": "^3.8.3",
"raf": "^3.4.1",
"regenerator-runtime": "^0.13.7",
"rgbcolor": "^1.0.1",
"stackblur-canvas": "^2.0.0",
"svg-pathdata": "^6.0.3"
},
"engines": {
"node": ">=10.0.0"
}
},
"node_modules/ccount": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/ccount/-/ccount-1.1.0.tgz",
@ -5250,6 +5318,15 @@
"postcss": "^8.0.9"
}
},
"node_modules/css-line-break": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/css-line-break/-/css-line-break-2.1.0.tgz",
"integrity": "sha512-FHcKFCZcAha3LwfVBhCQbW2nCNbkZXn7KVUJcsT5/P8YmfsVja0FMPJr0B903j/E69HUphKiV9iQArX8SDYA4w==",
"license": "MIT",
"dependencies": {
"utrie": "^1.0.2"
}
},
"node_modules/css-loader": {
"version": "6.7.2",
"resolved": "https://registry.npmjs.org/css-loader/-/css-loader-6.7.2.tgz",
@ -5793,6 +5870,16 @@
"url": "https://github.com/fb55/domhandler?sponsor=1"
}
},
"node_modules/dompurify": {
"version": "3.2.6",
"resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.2.6.tgz",
"integrity": "sha512-/2GogDQlohXPZe6D6NOgQvXLPSYBqIWMnZ8zzOhn09REE4eyAzb+Hed3jhoM9OkuaJ8P6ZGTTVWQKAi8ieIzfQ==",
"license": "(MPL-2.0 OR Apache-2.0)",
"optional": true,
"optionalDependencies": {
"@types/trusted-types": "^2.0.7"
}
},
"node_modules/domutils": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/domutils/-/domutils-3.0.1.tgz",
@ -5933,6 +6020,12 @@
"resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz",
"integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ=="
},
"node_modules/es6-promise": {
"version": "4.2.8",
"resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz",
"integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==",
"license": "MIT"
},
"node_modules/escalade": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
@ -6295,6 +6388,12 @@
"node": ">=0.4.0"
}
},
"node_modules/fflate": {
"version": "0.8.2",
"resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.2.tgz",
"integrity": "sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==",
"license": "MIT"
},
"node_modules/file-loader": {
"version": "6.2.0",
"resolved": "https://registry.npmjs.org/file-loader/-/file-loader-6.2.0.tgz",
@ -7143,6 +7242,30 @@
"webpack": "^5.20.0"
}
},
"node_modules/html2canvas": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/html2canvas/-/html2canvas-1.4.1.tgz",
"integrity": "sha512-fPU6BHNpsyIhr8yyMpTLLxAbkaK8ArIBcmZIRiBLiDhjeqvXolaEmDGmELFuX9I4xDcaKKcJl+TKZLqruBbmWA==",
"license": "MIT",
"dependencies": {
"css-line-break": "^2.1.0",
"text-segmentation": "^1.0.3"
},
"engines": {
"node": ">=8.0.0"
}
},
"node_modules/html2pdf.js": {
"version": "0.10.3",
"resolved": "https://registry.npmjs.org/html2pdf.js/-/html2pdf.js-0.10.3.tgz",
"integrity": "sha512-RcB1sh8rs5NT3jgbN5zvvTmkmZrsUrxpZ/RI8TMbvuReNZAdJZG5TMfA2TBP6ZXxpXlWf9NB/ciLXVb6W2LbRQ==",
"license": "MIT",
"dependencies": {
"es6-promise": "^4.2.5",
"html2canvas": "^1.0.0",
"jspdf": "^3.0.0"
}
},
"node_modules/htmlparser2": {
"version": "8.0.1",
"resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-8.0.1.tgz",
@ -7834,6 +7957,24 @@
"graceful-fs": "^4.1.6"
}
},
"node_modules/jspdf": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/jspdf/-/jspdf-3.0.1.tgz",
"integrity": "sha512-qaGIxqxetdoNnFQQXxTKUD9/Z7AloLaw94fFsOiJMxbfYdBbrBuhWmbzI8TVjrw7s3jBY1PFHofBKMV/wZPapg==",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.26.7",
"atob": "^2.1.2",
"btoa": "^1.2.1",
"fflate": "^0.8.1"
},
"optionalDependencies": {
"canvg": "^3.0.11",
"core-js": "^3.6.0",
"dompurify": "^3.2.4",
"html2canvas": "^1.0.0-rc.5"
}
},
"node_modules/keyv": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz",
@ -8833,6 +8974,13 @@
"node": ">=8"
}
},
"node_modules/performance-now": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
"integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==",
"license": "MIT",
"optional": true
},
"node_modules/picocolors": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
@ -9663,6 +9811,16 @@
}
]
},
"node_modules/raf": {
"version": "3.4.1",
"resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz",
"integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==",
"license": "MIT",
"optional": true,
"dependencies": {
"performance-now": "^2.1.0"
}
},
"node_modules/randombytes": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz",
@ -10525,6 +10683,16 @@
"node": ">=0.10.0"
}
},
"node_modules/rgbcolor": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/rgbcolor/-/rgbcolor-1.0.1.tgz",
"integrity": "sha512-9aZLIrhRaD97sgVhtJOW6ckOEh6/GnvQtdVNfdZ6s67+3/XwLS9lBcQYzEEhYVeUowN7pRzMLsyGhK2i/xvWbw==",
"license": "MIT OR SEE LICENSE IN FEEL-FREE.md",
"optional": true,
"engines": {
"node": ">= 0.8.15"
}
},
"node_modules/rimraf": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
@ -11149,6 +11317,16 @@
"integrity": "sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==",
"deprecated": "Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility"
},
"node_modules/stackblur-canvas": {
"version": "2.7.0",
"resolved": "https://registry.npmjs.org/stackblur-canvas/-/stackblur-canvas-2.7.0.tgz",
"integrity": "sha512-yf7OENo23AGJhBriGx0QivY5JP6Y1HbrrDI6WLt6C5auYZXlQrheoY8hD4ibekFKz1HOfE48Ww8kMWMnJD/zcQ==",
"license": "MIT",
"optional": true,
"engines": {
"node": ">=0.1.14"
}
},
"node_modules/state-toggle": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/state-toggle/-/state-toggle-1.0.3.tgz",
@ -11321,6 +11499,16 @@
"resolved": "https://registry.npmjs.org/svg-parser/-/svg-parser-2.0.4.tgz",
"integrity": "sha512-e4hG1hRwoOdRb37cIMSgzNsxyzKfayW6VOflrwvR+/bzrkyxY/31WkbgnQpgtrNp1SdpJvpUAGTa/ZoiPNDuRQ=="
},
"node_modules/svg-pathdata": {
"version": "6.0.3",
"resolved": "https://registry.npmjs.org/svg-pathdata/-/svg-pathdata-6.0.3.tgz",
"integrity": "sha512-qsjeeq5YjBZ5eMdFuUa4ZosMLxgr5RZ+F+Y1OrDhuOCEInRMA3x74XdBtggJcj9kOeInz0WE+LgCPDkZFlBYJw==",
"license": "MIT",
"optional": true,
"engines": {
"node": ">=12.0.0"
}
},
"node_modules/svgo": {
"version": "2.8.0",
"resolved": "https://registry.npmjs.org/svgo/-/svgo-2.8.0.tgz",
@ -11519,6 +11707,15 @@
"resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
"integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ=="
},
"node_modules/text-segmentation": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/text-segmentation/-/text-segmentation-1.0.3.tgz",
"integrity": "sha512-iOiPUo/BGnZ6+54OsWxZidGCsdU8YbE4PSpdPinp7DeMtUJNJBoJ/ouUSTJjHkh1KntHaltHl/gDs2FC4i5+Nw==",
"license": "MIT",
"dependencies": {
"utrie": "^1.0.2"
}
},
"node_modules/text-table": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
@ -12189,6 +12386,15 @@
"node": ">= 0.4.0"
}
},
"node_modules/utrie": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/utrie/-/utrie-1.0.2.tgz",
"integrity": "sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==",
"license": "MIT",
"dependencies": {
"base64-arraybuffer": "^1.0.2"
}
},
"node_modules/uuid": {
"version": "8.3.2",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
@ -14214,12 +14420,9 @@
}
},
"@babel/runtime": {
"version": "7.21.0",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.21.0.tgz",
"integrity": "sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw==",
"requires": {
"regenerator-runtime": "^0.13.11"
}
"version": "7.27.4",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.27.4.tgz",
"integrity": "sha512-t3yaEOuGu9NlIZ+hIeGbBjFtZT7j2cb2tg0fuaJKeGotchRjjLfrBA9Kwf8quhpP1EUuxModQg04q/mBwyg8uA=="
},
"@babel/runtime-corejs3": {
"version": "7.20.6",
@ -15437,6 +15640,12 @@
"resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz",
"integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw=="
},
"@types/raf": {
"version": "3.4.3",
"resolved": "https://registry.npmjs.org/@types/raf/-/raf-3.4.3.tgz",
"integrity": "sha512-c4YAvMedbPZ5tEyxzQdMoOhhJ4RD3rngZIdwC2/qDN3d7JpEhB6fiBRKVY1lg5B7Wk+uPBjn5f39j1/2MY1oOw==",
"optional": true
},
"@types/range-parser": {
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz",
@ -15524,6 +15733,12 @@
"@types/node": "*"
}
},
"@types/trusted-types": {
"version": "2.0.7",
"resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz",
"integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==",
"optional": true
},
"@types/unist": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.6.tgz",
@ -15899,6 +16114,11 @@
"resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz",
"integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg=="
},
"atob": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz",
"integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg=="
},
"autoprefixer": {
"version": "10.4.14",
"resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.14.tgz",
@ -16019,6 +16239,11 @@
"resolved": "https://registry.npmjs.org/base16/-/base16-1.0.0.tgz",
"integrity": "sha512-pNdYkNPiJUnEhnfXV56+sQy8+AaPcG3POZAUnwr4EeqCUZFz4u2PePbo3e5Gj4ziYPCWGUZT9RHisvJKnwFuBQ=="
},
"base64-arraybuffer": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz",
"integrity": "sha512-I3yl4r9QB5ZRY3XuJVEPfc2XhZO6YweFPI+UovAzn+8/hb3oJ6lnysaFcjVpkCPfVWFUDvoZ8kmVDP7WyRtYtQ=="
},
"batch": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz",
@ -16132,6 +16357,11 @@
"update-browserslist-db": "^1.0.10"
}
},
"btoa": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz",
"integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g=="
},
"buffer-from": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
@ -16225,6 +16455,22 @@
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001469.tgz",
"integrity": "sha512-Rcp7221ScNqQPP3W+lVOYDyjdR6dC+neEQCttoNr5bAyz54AboB4iwpnWgyi8P4YUsPybVzT4LgWiBbI3drL4g=="
},
"canvg": {
"version": "3.0.11",
"resolved": "https://registry.npmjs.org/canvg/-/canvg-3.0.11.tgz",
"integrity": "sha512-5ON+q7jCTgMp9cjpu4Jo6XbvfYwSB2Ow3kzHKfIyJfaCAOHLbdKPQqGKgfED/R5B+3TFFfe8pegYA+b423SRyA==",
"optional": true,
"requires": {
"@babel/runtime": "^7.12.5",
"@types/raf": "^3.4.0",
"core-js": "^3.8.3",
"raf": "^3.4.1",
"regenerator-runtime": "^0.13.7",
"rgbcolor": "^1.0.1",
"stackblur-canvas": "^2.0.0",
"svg-pathdata": "^6.0.3"
}
},
"ccount": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/ccount/-/ccount-1.1.0.tgz",
@ -16667,6 +16913,14 @@
"integrity": "sha512-fBffmak0bPAnyqc/HO8C3n2sHrp9wcqQz6ES9koRF2/mLOVAx9zIQ3Y7R29sYCteTPqMCwns4WYQoCX91Xl3+w==",
"requires": {}
},
"css-line-break": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/css-line-break/-/css-line-break-2.1.0.tgz",
"integrity": "sha512-FHcKFCZcAha3LwfVBhCQbW2nCNbkZXn7KVUJcsT5/P8YmfsVja0FMPJr0B903j/E69HUphKiV9iQArX8SDYA4w==",
"requires": {
"utrie": "^1.0.2"
}
},
"css-loader": {
"version": "6.7.2",
"resolved": "https://registry.npmjs.org/css-loader/-/css-loader-6.7.2.tgz",
@ -17031,6 +17285,15 @@
"domelementtype": "^2.3.0"
}
},
"dompurify": {
"version": "3.2.6",
"resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.2.6.tgz",
"integrity": "sha512-/2GogDQlohXPZe6D6NOgQvXLPSYBqIWMnZ8zzOhn09REE4eyAzb+Hed3jhoM9OkuaJ8P6ZGTTVWQKAi8ieIzfQ==",
"optional": true,
"requires": {
"@types/trusted-types": "^2.0.7"
}
},
"domutils": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/domutils/-/domutils-3.0.1.tgz",
@ -17145,6 +17408,11 @@
"resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz",
"integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ=="
},
"es6-promise": {
"version": "4.2.8",
"resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz",
"integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w=="
},
"escalade": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
@ -17431,6 +17699,11 @@
"xml-js": "^1.6.11"
}
},
"fflate": {
"version": "0.8.2",
"resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.2.tgz",
"integrity": "sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A=="
},
"file-loader": {
"version": "6.2.0",
"resolved": "https://registry.npmjs.org/file-loader/-/file-loader-6.2.0.tgz",
@ -18054,6 +18327,25 @@
"tapable": "^2.0.0"
}
},
"html2canvas": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/html2canvas/-/html2canvas-1.4.1.tgz",
"integrity": "sha512-fPU6BHNpsyIhr8yyMpTLLxAbkaK8ArIBcmZIRiBLiDhjeqvXolaEmDGmELFuX9I4xDcaKKcJl+TKZLqruBbmWA==",
"requires": {
"css-line-break": "^2.1.0",
"text-segmentation": "^1.0.3"
}
},
"html2pdf.js": {
"version": "0.10.3",
"resolved": "https://registry.npmjs.org/html2pdf.js/-/html2pdf.js-0.10.3.tgz",
"integrity": "sha512-RcB1sh8rs5NT3jgbN5zvvTmkmZrsUrxpZ/RI8TMbvuReNZAdJZG5TMfA2TBP6ZXxpXlWf9NB/ciLXVb6W2LbRQ==",
"requires": {
"es6-promise": "^4.2.5",
"html2canvas": "^1.0.0",
"jspdf": "^3.0.0"
}
},
"htmlparser2": {
"version": "8.0.1",
"resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-8.0.1.tgz",
@ -18525,6 +18817,21 @@
"universalify": "^2.0.0"
}
},
"jspdf": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/jspdf/-/jspdf-3.0.1.tgz",
"integrity": "sha512-qaGIxqxetdoNnFQQXxTKUD9/Z7AloLaw94fFsOiJMxbfYdBbrBuhWmbzI8TVjrw7s3jBY1PFHofBKMV/wZPapg==",
"requires": {
"@babel/runtime": "^7.26.7",
"atob": "^2.1.2",
"btoa": "^1.2.1",
"canvg": "^3.0.11",
"core-js": "^3.6.0",
"dompurify": "^3.2.4",
"fflate": "^0.8.1",
"html2canvas": "^1.0.0-rc.5"
}
},
"keyv": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz",
@ -19249,6 +19556,12 @@
"resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
"integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw=="
},
"performance-now": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
"integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==",
"optional": true
},
"picocolors": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
@ -19775,6 +20088,15 @@
"resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
"integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A=="
},
"raf": {
"version": "3.4.1",
"resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz",
"integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==",
"optional": true,
"requires": {
"performance-now": "^2.1.0"
}
},
"randombytes": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz",
@ -20431,6 +20753,12 @@
"resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",
"integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw=="
},
"rgbcolor": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/rgbcolor/-/rgbcolor-1.0.1.tgz",
"integrity": "sha512-9aZLIrhRaD97sgVhtJOW6ckOEh6/GnvQtdVNfdZ6s67+3/XwLS9lBcQYzEEhYVeUowN7pRzMLsyGhK2i/xvWbw==",
"optional": true
},
"rimraf": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
@ -20911,6 +21239,12 @@
"resolved": "https://registry.npmjs.org/stable/-/stable-0.1.8.tgz",
"integrity": "sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w=="
},
"stackblur-canvas": {
"version": "2.7.0",
"resolved": "https://registry.npmjs.org/stackblur-canvas/-/stackblur-canvas-2.7.0.tgz",
"integrity": "sha512-yf7OENo23AGJhBriGx0QivY5JP6Y1HbrrDI6WLt6C5auYZXlQrheoY8hD4ibekFKz1HOfE48Ww8kMWMnJD/zcQ==",
"optional": true
},
"state-toggle": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/state-toggle/-/state-toggle-1.0.3.tgz",
@ -21027,6 +21361,12 @@
"resolved": "https://registry.npmjs.org/svg-parser/-/svg-parser-2.0.4.tgz",
"integrity": "sha512-e4hG1hRwoOdRb37cIMSgzNsxyzKfayW6VOflrwvR+/bzrkyxY/31WkbgnQpgtrNp1SdpJvpUAGTa/ZoiPNDuRQ=="
},
"svg-pathdata": {
"version": "6.0.3",
"resolved": "https://registry.npmjs.org/svg-pathdata/-/svg-pathdata-6.0.3.tgz",
"integrity": "sha512-qsjeeq5YjBZ5eMdFuUa4ZosMLxgr5RZ+F+Y1OrDhuOCEInRMA3x74XdBtggJcj9kOeInz0WE+LgCPDkZFlBYJw==",
"optional": true
},
"svgo": {
"version": "2.8.0",
"resolved": "https://registry.npmjs.org/svgo/-/svgo-2.8.0.tgz",
@ -21158,6 +21498,14 @@
}
}
},
"text-segmentation": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/text-segmentation/-/text-segmentation-1.0.3.tgz",
"integrity": "sha512-iOiPUo/BGnZ6+54OsWxZidGCsdU8YbE4PSpdPinp7DeMtUJNJBoJ/ouUSTJjHkh1KntHaltHl/gDs2FC4i5+Nw==",
"requires": {
"utrie": "^1.0.2"
}
},
"text-table": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
@ -21600,6 +21948,14 @@
"resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
"integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA=="
},
"utrie": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/utrie/-/utrie-1.0.2.tgz",
"integrity": "sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==",
"requires": {
"base64-arraybuffer": "^1.0.2"
}
},
"uuid": {
"version": "8.3.2",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",

View File

@ -24,6 +24,9 @@
"clsx": "1.2.1",
"docusaurus-gtm-plugin": "0.0.2",
"docusaurus-plugin-image-zoom": "1.0.1",
"html2canvas": "^1.4.1",
"html2pdf.js": "^0.10.3",
"jspdf": "^3.0.1",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-modal": "3.16.1"

View File

@ -0,0 +1,29 @@
import React, { useEffect, useState } from 'react';
import Link from '@docusaurus/Link';
import styles from './styles.module.css';
export default function FavoriteDocsFloating() {
const [docs, setDocs] = useState([]);
useEffect(() => {
const favs = JSON.parse(localStorage.getItem('favoriteDocs') || '[]');
setDocs(favs);
const handler = () => {
setDocs(JSON.parse(localStorage.getItem('favoriteDocs') || '[]'));
};
window.addEventListener('storage', handler);
return () => window.removeEventListener('storage', handler);
}, []);
if (!docs.length) return null;
return (
<div className={styles.favFloatingBox}>
<div className={styles.title}>常用文档</div>
<div className={styles.list}>
{docs.map(doc => (
<Link key={doc.permalink} to={doc.permalink} className={styles.link}>
{doc.title}
</Link>
))}
</div>
</div>
);
}

View File

@ -0,0 +1,43 @@
.favFloatingBox {
position: fixed;
right: 20px;
bottom: 140px; /* 比反馈按钮高60px */
z-index: 1001;
min-width: 160px;
max-width: 240px;
background: #fff;
border-radius: 10px;
box-shadow: 0 2px 12px rgba(70,106,255,0.13);
padding: 12px 16px 10px 16px;
font-size: 14px;
color: #222;
display: flex;
flex-direction: column;
align-items: flex-start;
}
.title {
font-weight: 600;
color: #466aff;
margin-bottom: 8px;
font-size: 15px;
}
.list {
display: flex;
flex-direction: column;
gap: 6px;
width: 100%;
}
.link {
color: #466aff;
text-decoration: underline;
cursor: pointer;
word-break: break-all;
transition: color 0.2s;
}
.link:hover {
color: #3355cc;
}

View File

@ -0,0 +1,79 @@
import React, { useState, useEffect } from 'react';
import styles from './styles.module.css';
import { useLocation } from '@docusaurus/router';
export default function Feedback() {
const location = useLocation();
const [likes, setLikes] = useState(0);
const [dislikes, setDislikes] = useState(0);
const [userVote, setUserVote] = useState(null);
// 在组件加载时从localStorage获取数据
useEffect(() => {
const pageKey = location.pathname;
const savedData = localStorage.getItem(`feedback_${pageKey}`);
if (savedData) {
const data = JSON.parse(savedData);
setLikes(data.likes || 0);
setDislikes(data.dislikes || 0);
setUserVote(data.userVote || null);
}
}, [location.pathname]);
// 保存数据到localStorage
const saveData = (newLikes, newDislikes, newUserVote) => {
const pageKey = location.pathname;
localStorage.setItem(`feedback_${pageKey}`, JSON.stringify({
likes: newLikes,
dislikes: newDislikes,
userVote: newUserVote
}));
};
const handleVote = (isLike) => {
if (userVote === null) {
// 第一次投票
const newLikes = isLike ? likes + 1 : likes;
const newDislikes = isLike ? dislikes : dislikes + 1;
setLikes(newLikes);
setDislikes(newDislikes);
setUserVote(isLike);
saveData(newLikes, newDislikes, isLike);
} else if (userVote !== isLike) {
// 改变投票
const newLikes = isLike ? likes + 1 : likes - 1;
const newDislikes = isLike ? dislikes - 1 : dislikes + 1;
setLikes(newLikes);
setDislikes(newDislikes);
setUserVote(isLike);
saveData(newLikes, newDislikes, isLike);
}
};
return (
<div className={styles.feedbackContainer}>
<button
className={`${styles.feedbackButton} ${styles.likeButton} ${userVote === true ? styles.active : ''}`}
onClick={() => handleVote(true)}
title="好评"
aria-label="好评"
>
<svg viewBox="0 0 24 24" width="24" height="24" fill="currentColor">
<path d="M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z"/>
</svg>
<span className={styles.count}>{likes}</span>
</button>
<button
className={`${styles.feedbackButton} ${styles.dislikeButton} ${userVote === false ? styles.active : ''}`}
onClick={() => handleVote(false)}
title="差评"
aria-label="差评"
>
<svg viewBox="0 0 24 24" width="24" height="24" fill="currentColor">
<path d="M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z"/>
</svg>
<span className={styles.count}>{dislikes}</span>
</button>
</div>
);
}

View File

@ -0,0 +1,76 @@
.feedbackContainer {
position: fixed;
left: 50%;
bottom: 20px;
transform: translateX(-50%);
display: flex;
flex-direction: row;
gap: 16px;
z-index: 1000;
}
.feedbackButton {
position: relative;
background-color: var(--ifm-color-primary);
color: white;
border: none;
border-radius: 8px;
width: 44px;
height: 44px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
padding: 0;
}
.feedbackButton:hover {
background-color: var(--ifm-color-primary-darker);
transform: scale(1.1);
}
.feedbackButton:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(var(--ifm-color-primary-rgb), 0.4);
}
.feedbackButton svg {
width: 24px;
height: 24px;
}
.count {
position: absolute;
bottom: -20px;
left: 50%;
transform: translateX(-50%);
background-color: var(--ifm-color-primary);
color: white;
padding: 2px 6px;
border-radius: 10px;
font-size: 12px;
min-width: 20px;
text-align: center;
}
.likeButton.active {
background-color: #4CAF50;
}
.dislikeButton.active {
background-color: #f44336;
}
/* 暗色主题适配 */
[data-theme='dark'] .feedbackButton {
background-color: var(--ifm-color-primary-darker);
}
[data-theme='dark'] .feedbackButton:hover {
background-color: var(--ifm-color-primary-darkest);
}
[data-theme='dark'] .count {
background-color: var(--ifm-color-primary-darker);
}

View File

@ -0,0 +1,208 @@
import React, { useState } from 'react';
import styles from './styles.module.css';
const MAX_LENGTH = 500;
const AI_API_ENDPOINT = 'https://api.moonshot.cn/v1/chat/completions';
const AI_API_KEY = 'sk-qIIXV0G8hLyXRku8848tL4n2bwx8rf1jrok4LFramQiZQOQ8';
// 处理文本格式,移除 Markdown 符号
const formatText = (text) => {
return text
.replace(/`/g, '') // 移除所有反引号
.replace(/^#+\s*/gm, '') // 移除标题符号
.replace(/\*\*(.*?)\*\*/g, '$1') // 移除加粗符号
.replace(/\*(.*?)\*/g, '$1') // 移除斜体符号
.replace(/\[(.*?)\]\((.*?)\)/g, '$1') // 移除链接符号
.replace(/^\s*[-*+]\s*/gm, '• ') // 将列表符号统一为圆点
.replace(/^\s*\d+\.\s*/gm, '• ') // 将数字列表转换为圆点
.replace(/\n{3,}/g, '\n\n') // 将多个空行替换为两个空行
.trim();
};
const FloatingButtons = () => {
const [showModal, setShowModal] = useState(false);
const [showAIModal, setShowAIModal] = useState(false);
const [feedback, setFeedback] = useState('');
const [aiQuestion, setAiQuestion] = useState('');
const [aiAnswer, setAiAnswer] = useState('');
const [isLoading, setIsLoading] = useState(false);
const handleFeedback = () => {
setShowModal(true);
};
const handleCustomerService = () => {
setShowAIModal(true);
};
const handleClose = () => {
setShowModal(false);
setFeedback('');
};
const handleAIClose = () => {
setShowAIModal(false);
setAiQuestion('');
setAiAnswer('');
};
const handleChange = (e) => {
if (e.target.value.length <= MAX_LENGTH) {
setFeedback(e.target.value);
}
};
const handleAIQuestionChange = (e) => {
setAiQuestion(e.target.value);
};
const handleAISubmit = async (e) => {
e.preventDefault();
if (!aiQuestion.trim()) return;
setIsLoading(true);
try {
const response = await fetch(AI_API_ENDPOINT, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': `Bearer ${AI_API_KEY}`
},
body: JSON.stringify({
model: "moonshot-v1-8k",
messages: [
{
role: "system",
content: "你是一个专业的 GitLink 帮助助手。请用简洁专业的语言回答用户的问题,不要使用任何 Markdown 格式符号(如 #、*、` 等)。"
},
{
role: "user",
content: aiQuestion
}
],
temperature: 0.7,
max_tokens: 2000
})
});
if (!response.ok) {
const errorData = await response.json();
throw new Error(errorData.error?.message || `HTTP error! status: ${response.status}`);
}
const data = await response.json();
const answer = data.choices[0].message.content;
setAiAnswer(formatText(answer));
} catch (error) {
console.error('AI 问答出错:', error);
setAiAnswer('抱歉,处理您的问题时出现错误,请稍后重试。');
} finally {
setIsLoading(false);
}
};
const handleSubmit = (e) => {
e.preventDefault();
const feedbacks = JSON.parse(localStorage.getItem('feedbacks') || '[]');
feedbacks.push({
content: feedback,
time: new Date().toISOString()
});
localStorage.setItem('feedbacks', JSON.stringify(feedbacks));
alert('感谢您的反馈!');
handleClose();
};
const scrollToBottom = () => {
window.scrollTo({
top: document.documentElement.scrollHeight,
behavior: 'smooth'
});
};
return (
<div className={styles.floatingButtons}>
<button
className={styles.button}
onClick={scrollToBottom}
title="滚动到底部"
aria-label="滚动到底部"
style={{ marginBottom: '10px' }}
>
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12 20V4M12 20L6 14M12 20L18 14" stroke="#666" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
</svg>
</button>
<button
className={styles.button}
onClick={handleFeedback}
title="问题反馈"
aria-label="问题反馈"
>
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M4 19V5a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H7l-3 3z" stroke="#666" strokeWidth="2" fill="none" strokeLinecap="round" strokeLinejoin="round"/>
</svg>
</button>
<button
className={styles.button}
onClick={handleCustomerService}
title="AI 助手"
aria-label="AI 助手"
>
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-13h2v6h-2zm0 8h2v2h-2z" fill="#666"/>
</svg>
</button>
{showModal && (
<div className={styles.modalOverlay}>
<div className={styles.modal}>
<button className={styles.closeBtn} onClick={handleClose} title="关闭">×</button>
<h2 className={styles.modalTitle}>意见反馈</h2>
<form onSubmit={handleSubmit} className={styles.form}>
<textarea
className={styles.textarea}
placeholder="请在此处填写您的宝贵意见,若经采纳,我们将通过邮件与您沟通"
value={feedback}
onChange={handleChange}
maxLength={MAX_LENGTH}
rows={7}
/>
<div className={styles.footer}>
<span className={styles.counter}>{feedback.length}/{MAX_LENGTH}</span>
<button type="submit" className={styles.submitBtn}>提交</button>
</div>
</form>
</div>
</div>
)}
{showAIModal && (
<div className={styles.modalOverlay}>
<div className={styles.modal}>
<button className={styles.closeBtn} onClick={handleAIClose} title="关闭">×</button>
<h2 className={styles.modalTitle}>AI 助手</h2>
{aiAnswer && (
<div className={styles.aiAnswerFixed}>
<h3>AI 回答</h3>
<p>{aiAnswer}</p>
</div>
)}
<form onSubmit={handleAISubmit} className={styles.formWithAIFixed}>
<textarea
className={styles.textarea}
placeholder="请输入您的问题AI 助手将为您解答"
value={aiQuestion}
onChange={handleAIQuestionChange}
rows={4}
/>
<button type="submit" className={styles.submitBtn} disabled={isLoading}>
{isLoading ? '思考中...' : '发送问题'}
</button>
</form>
</div>
</div>
)}
</div>
);
};
export default FloatingButtons;

View File

@ -0,0 +1,214 @@
.floatingButtons {
position: fixed;
right: 20px;
bottom: 80px;
z-index: 1000;
display: flex;
flex-direction: row;
gap: 12px;
}
.button {
width: 50px;
height: 50px;
padding: 0;
background-color: #f2f3f5;
color: #666;
border: none;
border-radius: 50%;
cursor: pointer;
font-size: 14px;
transition: all 0.3s ease;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
display: flex;
align-items: center;
justify-content: center;
line-height: 1;
}
.button:hover {
background-color: #e4e6eb;
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.16);
}
.button:active {
transform: translateY(0);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}
.modalOverlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: rgba(0,0,0,0.18);
z-index: 2000;
display: flex;
align-items: center;
justify-content: center;
overflow-y: auto;
padding: 20px;
}
.modal {
background: linear-gradient(180deg, #eaf1fb 0%, #fff 100%);
border-radius: 8px;
box-shadow: 0 4px 24px rgba(0,0,0,0.13);
padding: 32px 24px 24px 24px;
min-width: 400px;
max-width: 90vw;
max-height: 90vh;
position: relative;
display: flex;
flex-direction: column;
align-items: stretch;
overflow-y: auto;
}
.closeBtn {
position: sticky;
top: 0;
right: 16px;
background: none;
border: none;
font-size: 28px;
color: #888;
cursor: pointer;
line-height: 1;
z-index: 100;
align-self: flex-end;
margin-bottom: -20px;
}
.modalTitle {
margin: 0 0 20px;
font-size: 20px;
color: #333;
position: sticky;
top: 0;
background: white;
padding: 10px 0;
z-index: 1;
}
.form {
display: flex;
flex-direction: column;
gap: 12px;
}
.textarea {
width: 100%;
min-height: 120px;
resize: vertical;
border: 1px solid #dbe2ea;
border-radius: 6px;
padding: 14px;
font-size: 15px;
color: #222;
background: #fff;
outline: none;
box-sizing: border-box;
}
.textarea::placeholder {
color: #b0b8c7;
}
.footer {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 4px;
}
.counter {
color: #888;
font-size: 13px;
}
.submitBtn {
background: #466aff;
color: #fff;
border: none;
border-radius: 4px;
padding: 7px 32px;
font-size: 16px;
font-weight: 500;
cursor: pointer;
transition: background 0.2s;
}
.submitBtn:hover {
background: #3355cc;
}
.submitBtn:disabled {
background: #a0a0a0;
cursor: not-allowed;
}
.aiAnswer {
margin-top: 20px;
padding: 16px;
background: #f8f9fa;
border-radius: 6px;
border: 1px solid #e9ecef;
overflow-y: auto;
max-height: 400px;
}
.aiAnswer h3 {
margin: 0 0 10px;
font-size: 16px;
color: #333;
position: sticky;
top: 60px;
background: white;
padding: 10px 0;
z-index: 1;
}
.aiAnswer p {
margin: 0;
font-size: 15px;
line-height: 1.6;
color: #333;
white-space: pre-wrap;
}
.cursor {
display: inline-block;
width: 2px;
height: 1em;
background-color: #466aff;
margin-left: 2px;
animation: blink 1s infinite;
vertical-align: middle;
}
@keyframes blink {
0%, 100% { opacity: 1; }
50% { opacity: 0; }
}
.aiAnswerFixed {
position: sticky;
top: 80px;
background: #f8f9fa;
border-radius: 6px;
border: 1px solid #e9ecef;
margin-bottom: 16px;
padding: 16px;
z-index: 10;
}
.formWithAIFixed {
display: flex;
flex-direction: column;
gap: 12px;
overflow-y: auto;
max-height: 320px;
}

View File

@ -0,0 +1,31 @@
import React from 'react';
import styles from './styles.module.css';
export default function ScrollToBottom() {
const scrollToBottom = () => {
window.scrollTo({
top: document.documentElement.scrollHeight,
behavior: 'smooth'
});
};
return (
<button
className={styles.scrollButton}
onClick={scrollToBottom}
title="滚动到底部"
aria-label="滚动到底部"
>
<svg
viewBox="0 0 24 24"
width="24"
height="24"
stroke="currentColor"
strokeWidth="2"
fill="none"
>
<path d="M19 14l-7 7m0 0l-7-7m7 7V3" />
</svg>
</button>
);
}

View File

@ -0,0 +1,66 @@
.scrollButton {
position: fixed;
right: 20px;
top: 50%;
transform: translateY(-50%);
background-color: var(--ifm-color-primary);
color: white;
border: none;
border-radius: 8px;
width: 44px;
height: 44px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
z-index: 1000;
}
/* 回到顶部的按钮位置 */
.scrollTopButton {
bottom: 20px;
top: auto;
transform: none;
opacity: 0;
animation: fadeIn 0.3s ease forwards;
}
.scrollButton:hover {
background-color: var(--ifm-color-primary-darker);
transform: translateY(-50%) scale(1.1);
}
.scrollTopButton:hover {
transform: scale(1.1);
}
.scrollButton:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(var(--ifm-color-primary-rgb), 0.4);
}
/* 暗色主题适配 */
[data-theme='dark'] .scrollButton {
background-color: var(--ifm-color-primary-darker);
}
[data-theme='dark'] .scrollButton:hover {
background-color: var(--ifm-color-primary-darkest);
}
.scrollButton svg {
width: 20px;
height: 20px;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

View File

@ -0,0 +1,60 @@
import React, { useState, useEffect } from 'react';
import styles from './styles.module.css';
const VoteButtons = () => {
const [likes, setLikes] = useState(0);
const [dislikes, setDislikes] = useState(0);
// 在组件加载时从localStorage获取数据
useEffect(() => {
const savedLikes = localStorage.getItem('pageLikes') || '0';
const savedDislikes = localStorage.getItem('pageDislikes') || '0';
setLikes(parseInt(savedLikes));
setDislikes(parseInt(savedDislikes));
}, []);
const handleLike = () => {
const newLikes = likes + 1;
setLikes(newLikes);
localStorage.setItem('pageLikes', newLikes.toString());
};
const handleDislike = () => {
const newDislikes = dislikes + 1;
setDislikes(newDislikes);
localStorage.setItem('pageDislikes', newDislikes.toString());
};
return (
<div className={styles.voteContainer}>
<div className={styles.voteButton}>
<button
onClick={handleLike}
className={styles.button}
title="点赞"
aria-label="点赞"
>
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3H14zm-8 4h-2v11h2V13z" stroke="#666" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
</svg>
</button>
<span className={styles.count}>{likes}</span>
</div>
<div className={styles.voteButton}>
<button
onClick={handleDislike}
className={styles.button}
title="踩"
aria-label="踩"
>
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3H10zm8-4h2V0h-2v11z" stroke="#666" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
</svg>
</button>
<span className={styles.count}>{dislikes}</span>
</div>
</div>
);
};
export default VoteButtons;

View File

@ -0,0 +1,52 @@
.voteContainer {
position: fixed;
bottom: 40px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 32px;
z-index: 1000;
background: rgba(255, 255, 255, 0.9);
padding: 12px 24px;
border-radius: 20px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.voteButton {
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
}
.button {
width: 48px;
height: 48px;
padding: 0;
background-color: #f2f3f5;
color: #666;
border: none;
border-radius: 50%;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
}
.button:hover {
background-color: #e4e6eb;
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.button:active {
transform: translateY(0);
box-shadow: none;
}
.count {
font-size: 14px;
color: #666;
font-weight: 500;
}

View File

@ -16,6 +16,8 @@
--ifm-color-primary-lightest: rgb(146, 224, 208);
--ifm-code-font-size: 95%;
--search-local-modal-background:#1b2440;
--scroll-button-size: 40px;
--scroll-button-border-radius: 50%;
}
.navbar{
background-color: rgba(27, 36, 64, 1);

View File

@ -21,7 +21,7 @@ const IndexPage = () => {
<Layout title={title} description={description}>
<HeroSection
title="Security Building Blocks for Developers"
description="Reduce Time to Market without sacrificing your security posture! BoxyHQs suite of APIs for security and privacy helps engineering teams build and ship compliant cloud applications faster."
description="Reduce Time to Market without sacrificing your security posture! BoxyHQ's suite of APIs for security and privacy helps engineering teams build and ship compliant cloud applications faster."
image="/img/home-hero.svg"
buttons={[
{

View File

@ -0,0 +1,61 @@
import React, { useEffect, useState } from 'react';
import OriginalDocItem from '@theme-original/DocItem';
function getFavoriteDocs() {
try {
return JSON.parse(localStorage.getItem('favoriteDocs')) || [];
} catch {
return [];
}
}
function setFavoriteDocs(docs) {
localStorage.setItem('favoriteDocs', JSON.stringify(docs));
}
export default function DocItemWrapper(props) {
const { content } = props;
const { title, permalink } = content.metadata || {};
const [isFav, setIsFav] = useState(false);
useEffect(() => {
const favs = getFavoriteDocs();
setIsFav(favs.some(doc => doc.permalink === permalink));
}, [permalink]);
const toggleFavorite = () => {
const favs = getFavoriteDocs();
let newFavs;
if (isFav) {
newFavs = favs.filter(doc => doc.permalink !== permalink);
} else {
newFavs = [...favs, { title, permalink }];
}
setFavoriteDocs(newFavs);
setIsFav(!isFav);
};
return (
<div style={{ position: 'relative' }}>
<button
onClick={toggleFavorite}
style={{
position: 'absolute',
top: 16,
right: 24,
zIndex: 10,
background: 'none',
border: '1px solid #466aff',
color: '#466aff',
borderRadius: 4,
padding: '4px 12px',
cursor: 'pointer',
fontSize: 14,
}}
>
{isFav ? '取消常用' : '标注为常用'}
</button>
<OriginalDocItem {...props} />
</div>
);
}

16
src/theme/Layout/index.js Normal file
View File

@ -0,0 +1,16 @@
import React from 'react';
import Layout from '@theme-original/Layout';
import FloatingButtons from '@site/src/components/FloatingButtons';
import FavoriteDocsFloating from '@site/src/components/FavoriteDocsFloating';
import VoteButtons from '@site/src/components/VoteButtons';
export default function LayoutWrapper(props) {
return (
<>
<Layout {...props} />
<FavoriteDocsFloating />
<FloatingButtons />
<VoteButtons />
</>
);
}

View File

@ -4,14 +4,14 @@ sidebar_position: 4
---
# 图形流水线
## 基本信息
### 基本信息
可以编辑流水线的名称、描述
同一仓库下的流水线名称不能重复
![vis_workflow1](../../../static/img/engine/vis_workflow1.png)
## 触发器
### 触发器
注:流水线编排时,触发器要放在开始节点之前;目前一条流水线仅添加支持一个触发器
* 定时触发器cron可通过填写cron表达式设置触发的具体时间
@ -20,7 +20,7 @@ sidebar_position: 4
* 事件触发器GitLink_Webhook给出了常见的代码变更事件触发包括推送代码、合并请求、创建标签
![vis_workflow3](../../../static/img/engine/vis_workflow3.png)
## 全局参数
### 全局参数
添加后可在当前流水线中使用
@ -30,7 +30,7 @@ sidebar_position: 4
![vis_workflow5](../../../static/img/engine/vis_workflow5.png)
## 并发执行
### 并发执行
![vis_workflow6](../../../static/img/engine/vis_workflow6.png)
@ -43,7 +43,7 @@ sidebar_position: 4
![vis_workflow8](../../../static/img/engine/vis_workflow8.png)
## 流水线编排
### 流水线编排
每条流水线必须要有一个开始节点、结束节点,至少一个任务节点。支持串行编排和并行编排。

View File

@ -1,4 +1,11 @@
---
sidebar_label: '代码提交'
sidebar_position: 3
---
---
### **1. 代码提交入口**
用户可以通过项目代码库中间的文件下的“上传文件”按键来上传文件。
![](../../../static/img/代码库管理/代码提交/上传文件入口.png)<br/>
### **2. 上传文件**
进入上传文件页面后,如下图所示,拖动文件,选择提交变更的分支的单击”创建项目“按键即可完成创建。
![](../../../static/img/代码库管理/代码提交/上传文件.png)<br/>

View File

@ -1,4 +1,13 @@
---
sidebar_label: '分支管理'
sidebar_position: 5
---
---
### **1. 查看分支**
在代码库栏下,如下图所示,用户可以点击代码库分支从而查看当前项目的所有分支,并且选择对其进行操作。
![](../../../static/img/代码库管理/分支管理/分支管理方式1.jpg)<br/>
### **2. 合并分支**
在“和并请求PR”下点击“新建合并请求”后
![](../../../static/img/代码库管理/分支管理/分支管理方式3.png)<br/>
如下图所示,用户可以选择源分支与目标分支以及填写分支信息后提交分支合并请求。
![](../../../static/img/代码库管理/分支管理/分支管理方式2.png)<br/>

View File

@ -1,4 +1,19 @@
---
sidebar_label: '文件管理'
sidebar_position: 4
---
---
### **1. 文件管理位置**
在代码库界面,可直接对代码库中该分支下的文件进行操作,如下图所示。
![](../../../static/img/代码库管理/文件管理/文件管理入口.png)<br/>
### **2. 进入目录**
点击进入相关目录,找到要编辑的文件,如下图所示。
![](../../../static/img/代码库管理/文件管理/进入文件所在目录.png)<br/>
### **3. 进入文件编辑页面**
在线编辑文件,单击文件,即可进入编辑文件页面,如下图所示。
![](../../../static/img/代码库管理/文件管理/进入文件编辑界面.png)<br/>
### **4. 编辑文件**
编辑界面右侧有三个按钮,分别是“下载”、“编辑”和“删除”,点击下载即可将文件下载到本地,编辑则可在线编辑文档,删除则将文件从代码库中删除,按钮位置如下图所示。
![](../../../static/img/代码库管理/文件管理/文件编辑按钮.png)<br/>

View File

@ -3,4 +3,11 @@ sidebar_label: '代码评审'
sidebar_position: 3
---
# 代码评审
# 代码评审
### **1. 进入代码评审**
如下图所示,点击“代码评审”按钮可以进入代码评审
![](../../../static/img/PR/进入代码评审.png)<br/>
### **2. 代码评审界面**
如下图所示用户可以在该界面下查看该PR操作要合并的新的代码并对其进行评审。
![](../../../static/img/PR/具体代码评审.png)<br/>

View File

@ -5,19 +5,19 @@ sidebar_position: 2
# 创建第一个开源项目
## 1. 新建项目
### 1. 新建项目
平台提供了“新建”按钮,用户可以通过点击快速从零开始创建新的公开或者私有项目。
![创建首页](/img/quickstart/create_homepage.png)
## 2. 填写项目信息
### 2. 填写项目信息
填写项目基本信息。
![](/img/quickstart/create_info.png)
## 3. 创建成功
### 3. 创建成功
点击创建项目,创建成功后进入项目主页。

View File

@ -5,19 +5,19 @@ sidebar_position: 5
# 导入GitHub等第三方Git项目
## 1. 导入项目
### 1. 导入项目
在首页选择**导入项目**
![](/img/quickstart/import_homepage.png)
## 2. 填写信息
### 2. 填写信息
填写需要导入的第三方Git项目地址和项目信息如果导入项目为私有仓库则需输入目标平台用户token进行授权。
![](/img/quickstart/import_info.png)
## 3. 授权验证
### 3. 授权验证
在使用GitLink平台导入其他平台如GitHub、Gitee的开源项目时如果项目为私有则无法通过正常途径导入需要输入对应平台有权限的token值进行校验。
@ -25,7 +25,7 @@ sidebar_position: 5
下面将列举一些典型开源平台的token获取方式。
### GitHub token获取方式
#### GitHub token获取方式
1. 登录GitHub账号
@ -57,7 +57,7 @@ sidebar_position: 5
![img](https://forum.gitlink.org.cn/api/attachments/422376)
### Gitee token获取方式
#### Gitee token获取方式
1. 登录Gitee账号
@ -81,7 +81,7 @@ sidebar_position: 5
![img](https://forum.gitlink.org.cn/api/attachments/422375)
## 4. 导入成功
### 4. 导入成功
提示正在从第三方Git项目地址迁移

View File

@ -5,18 +5,18 @@ sidebar_position: 3
# 提交第一行代码
# 1. 编辑代码
### 1. 编辑代码
点击编辑按钮,开始编辑代码。
![](/img/quickstart/first_edit.png)
# 2. 提交代码
### 2. 提交代码
在编辑框中编写代码,编写完成后填写变更信息后提交变更。
![](/img/quickstart/first_commit.png)
## 3. 代码更新成功
### 3. 代码更新成功
提交成功后代码代码更新成功。![](/img/quickstart/first_success.png)

View File

@ -5,7 +5,7 @@ sidebar_position: 4
# 搜索开源项目
## 1. 开源项目页面介绍
### 1. 开源项目页面介绍
项目”模块汇聚和管理了所有 GitLink 平台上的托管项目和镜像项目,用户可以输入项目名称关键字进行搜索,也可以根据项目类别对项目进行筛选。
@ -19,11 +19,11 @@ sidebar_position: 4
用户点击项目名称,即可进入到项目详情,查看和参与开源项目开发。
## 2. 搜索开源项目
### 2. 搜索开源项目
有两处搜索框可以搜索
### 开源项目搜索框
#### 开源项目搜索框
搜索项目:
@ -33,7 +33,7 @@ sidebar_position: 4
![](/img/quickstart/search_result1.png)
### 菜单栏搜索框
#### 菜单栏搜索框
搜索项目:

View File

@ -5,11 +5,11 @@ sidebar_position: 1
# 注册GitLink账号
## 1. 点击**立即注册**按钮
### 1. 点击**立即注册**按钮
![](/img/quickstart/register_homepage.png)
## 2. 填写注册信息
### 2. 填写注册信息
- 手机号注册
@ -19,7 +19,7 @@ sidebar_position: 1
![](/img/quickstart/register_email.png)
## 3. 注册完成
### 3. 注册完成
填写完所需信息后点击注册,注册成功后则进入个人主页

View File

@ -8,12 +8,12 @@ sidebar_position: 1
欢迎使用GitLink平台在您使用GitLink平台前请您认真阅读并遵守《GitLink服务协议》以下简称”本协议”请您务必审慎阅读、充分理解协议的各条款内容。
当您在注册过程中点击查看”看过并同意本服务协议”按照注册流程成功注册为GitLink平台的用户即表示您已充分阅读、理解并完全接受本协议中的全部条款。您承诺接受并遵守本协议的约定届时您不应以未阅读本协议的内容等理由主张本协议无效或本协议中的某些条款无效或要求撤销本协议。
## 一、GitLink平台权利和义务
### 一、GitLink平台权利和义务
1. 尊重用户隐私尊重用户隐私保障用户隐私安全是GitLink平台的一项基本政策
2. 管理平台用户GitLink平台依据国家法律、地方法律和国际法律等的标准以及本行业的规则来管理平台注册用户
3. 处理用户反馈GitLink平台的相关人员会及时处理用户反馈的问题并给予及时回复。
## 二、用户权利和义务
### 二、用户权利和义务
用户在使用GitLink平台的过程中必须遵守如下原则
1. 遵守中国的有关法律和法规;
@ -24,10 +24,10 @@ sidebar_position: 1
6. 不传输任何教唆他人构成犯罪行为的资料;
7. 用户不得故意或者过失损害GitLink平台合法权利和利益。
## 三、关于责任
### 三、关于责任
鉴于网络服务的特殊性用户同意GitLink团队有权在事先通知的情况下变更、中断、升级部分网络服务。GitLink团队不担保网络服务不会中断但承诺在用户可承受的时间内快速恢复服务同时确保用户数据的安全性和可靠性。
## 四、服务条款的修改
### 四、服务条款的修改
GitLink团队保留在必要时对本协议修改的权利一旦发生变动这些条款可由GitLink团队及时更新且毋须另行通知修改后的条款一旦在网页上公布即有效代替原来的服务条款。您可随时查阅最新版服务条款。

View File

@ -3,10 +3,10 @@ sidebar_label: 'WebIDE'
sidebar_position: 9
---
## WebIDE背景
### WebIDE背景
传统的代码托管平台提供了代码仓库的 Git/SVN 的管理可以在平台上做代码浏览、代码评审、缺陷管理、CI 流水线等和代码相关的活动。其中代码浏览、代码评审所用的编辑器组件一般为 CodeMirror代码高亮使用 highlight.js常常只提供了读代码的场景。蚂蚁研发效能部门云研发团队通过自研的 OpenSumi 框架及基于 OpenSumi 框架做的专门针对于 Web IDE无远程容器场景的极速版 Web IDE 框架与内部代码托管平台碰撞出了创新型的、只依赖浏览器的、IDE 风格的代码阅读、代码编写、代码提交、代码运行、代码评审等场景,极大的提高了用户在代码托管平台阅读代码、代码评审、轻研发等场景的效率。本次蚂蚁研发效能云研发团队和 CCF中国计算机学会GitLink 代码托管平台合作,将内部极速版 Web IDE 应用到了 Gitlink 代码托管平台上,解决了长久以来的用户反馈的很多体验问题。
## Web IDE 核心能力
### Web IDE 核心能力
对标有容器的标准版,极速版 IDE 主要在读、写、运行、提交等方面进行了探索:
**1. 读:**
@ -38,7 +38,7 @@ Gitlink 通过实现 Blame 插件,完成了编辑器 Blame 查看的能力:
<center>当前代码行作者、修改日期查看</center>
## 代码评审
### 代码评审
代码评审功能用户长久以来一直反馈以下几个问题:
- 1.语言服务缺失,阅读效率低:缺少代码高亮、提示、跳转、查看引用及大纲功能
@ -55,7 +55,7 @@ Gitlink 通过实现 Blame 插件,完成了编辑器 Blame 查看的能力:
![](/img/di_san_fang/WebIDE/代码评审.png)
<center>代码评审时可修改代码</center>
## Gitlink Web IDE
### Gitlink Web IDE
Gitlink 代码阅读场景虽然接入极速版 IDE 编辑器但文件树、代码搜索、快捷键、IDE 皮肤、等均和平时开发时使用习惯的 IDE 差异较大,更有大部分用户仅仅是为了代码阅读将代码克隆到本地,尽管保证了一致的体验,但整个链路繁琐费时。
基于这个洞察,蚂蚁云研发团队和 Gitlink 推出 Gitlink Web IDE可以一键快速打开 Web IDE 访问阅读项目仓库代码,实现项目与 IDE 的无缝衔接,保持研发同学的日常偏好习惯,同时完美兼容 Gitlink 代码托管平台。更重要的是,通过无容器在浏览器上直接运行一个极速版 IDE确保「秒开」的即时体验。

View File

@ -3,7 +3,7 @@ sidebar_label: "重睛鸟代码溯源"
sidebar_position: 1
---
## 代码分析入口
### 代码分析入口
![](../../../static/img/di_san_fang/重晴鸟代码溯源/代码分析入口.png)<br/>
@ -16,7 +16,7 @@ sidebar_position: 1
<center>项目导航</center><br/>
## 代码分析检测
### 代码分析检测
![](../../../static/img/di_san_fang/重晴鸟代码溯源/代码分析检测.png)<br/>
@ -30,7 +30,7 @@ sidebar_position: 1
2、"新建分析"按钮仅对仓库管理员可见。仓库开发者、观察者、游客访问此页面时,"新建分析"按钮不可见。<br/>
3、点击"新建分析"按钮,需判断是否开启代码分析功能。<br/>
## 分支选择
### 分支选择
![](../../../static/img/di_san_fang/重晴鸟代码溯源/分支选择.png)<br/>
@ -40,7 +40,7 @@ sidebar_position: 1
2、图中检测类型、检测参数均为默认值不允许用户修改此处展示在界面上仅起到提示用户让用户知晓作用。<br/>
3、点击此处“开始检测”即开启基于选中分支的检测新建一个检测列表。<br/>
## 列表展示
### 列表展示
![](../../../static/img/di_san_fang/重晴鸟代码溯源/列表展示.png)<br/>
@ -50,7 +50,7 @@ sidebar_position: 1
2、当新建分析任务正在检测中时检测状态处有百分比进度条展示现有进度。<br/>
3、点击“重新扫描”按钮将弹出一条新建分析的弹窗此弹窗保存所有上次已配置的分支信息检测分支不可修改(分支下拉选中框置灰)。确认新建后,将新增一条检测数据。<br/>
## 结果展示
### 结果展示
![](../../../static/img/di_san_fang/重晴鸟代码溯源/结果展示.png)<br/>
@ -60,7 +60,7 @@ sidebar_position: 1
2、当检测状态为"失败"状态,或当前处于"正在检测"状态时,"查看"按钮将置灰,处于无法点击状态;<br/>
3、结果展示页取代码溯源已有页面嵌入至 GitLink 即可,无需再次设计。<br/>
## 用户操作流程
### 用户操作流程
![](../../../static/img/di_san_fang/重晴鸟代码溯源/用户操作流程.png)<br/>

View File

@ -12,19 +12,19 @@ sidebar_position: 2
![](/img/Org/imageOrg2.png)
## 组织账号
### 组织账号
![](/img/Org/imageOrg4.png)
**注**只能使用以字母、数字开头包含字母、数字、下划线、横杠等长度4到20个字符
## 组织名称与组织描述
### 组织名称与组织描述
![](/img/Org/imageOrg5.png)
**注**:此处为必填项,不得为空
## 可见性
### 可见性
![](/img/Org/imageOrg3.png)

View File

@ -4,20 +4,20 @@ sidebar_position: 3
---
# 组织团队管理
## 创建组织团队
### 创建组织团队
点击组织信息页面中的“新建团队”按钮可以创建属于该组织的团队平台默认创建“Owners”团队成员为组织的创建者
在团队新建页面,输入团队标识、团队名称、团队描述、项目权限以及版本库权限等信息后,点击“新建团队”完成团队的创建。
![](/img/Org/imageOrg9.png)
## 查看组织团队
### 查看组织团队
点击组织信息页面中的某个团队名称可以查看该团队的详细信息,该页面包括团队的名称、描述等信息,此外还会列出该团队关联的成员以及项目。
![](/img/Org/imageOrg8.png)
## 管理组织团队
### 管理组织团队
点击团队信息页面中的“团队设置”按钮可以对团队进行管理

View File

@ -1,4 +1,21 @@
---
sidebar_label: '组织成员管理'
sidebar_position: 4
---
---
# 成员管理Members Management
在 个人所管理的项目当中的**仓库设置**当中的**成员管理**可以进入成员管理界面
![](/img/Org/imageOrg14.png)
## 成员查询和添加
在成员管理界面当中,可以进行组织成员的查询和添加
![](/img/Org/imageOrg14.png)
## 成员邀请权限设置
管理员可以对邀请成员的权限进行设置
![](/img/Org/imageOrg15.png)
此外,也可以复制邀请链接的方式来更方便地邀请成员加入到项目当中来
**注**:此项功能仅对管理员可见

View File

@ -11,7 +11,7 @@ sidebar_position: 1
![](/img/Org/imageOrg6.png)
## 作为组织拥有者
### 作为组织拥有者
有效管理组织,是您的使命。
@ -23,6 +23,6 @@ sidebar_position: 1
平台同时支持组织拥有者管理对数据访问的自定义设置。
## 作为组织成员
### 作为组织成员
您可以通过组织与无限数量的人在多个项目中协作,与志同道合的人一起,通过分工和写作,参与开发流程,发布或处理问题。

View File

@ -2,7 +2,7 @@
sidebar_label: '组织项目管理'
sidebar_position: 5
---
## 创建组织项目
### 创建组织项目
点击组织信息页面中的“新建项目”按钮可以创建属于该组织的托管项目或者镜像项目。

View File

@ -1,4 +1,15 @@
---
sidebar_label: '模板导入及导出'
sidebar_position: 2
---
---
# 确实开源帮助中心
## 模板的导入及导出管理
#### 1.模板导入
通过点击wiki界面的**导入模板**按钮即可导入本地的txtmarkdown等格式文件进行Wiki文档的创建当前平台此项功能尚在开发测试环节
[](/img/wiki/img4.png)
#### 2.模板导出
当前平台此项功能尚在开发测试环节
<br/>

View File

@ -1,4 +1,23 @@
---
sidebar_label: '维基页面管理'
sidebar_position: 1
---
---
# 确实开源帮助中心
## 维基界面管理
#### 1.维基界面
GitLink项目安排了专门的**维基(Wiki)界面**来展示项目的一些情况
[](/img/wiki/img1.png)
#### 2.创建维基内容
在初始化的维基界面当中点击**创建Wiki文档**或者**导入模板**即可进行Wiki文档的编辑
<br/>
#### 3.进行Wiki文档的编辑
点击**创建Wiki文档**后即跳转到编辑界面,初始内容为空白的文档
[](/img/wiki/img3.png)
也可以通过勾选*添加模板*来进行模板的导入,平台提供的模板包括*周报*和*月报*的格式
[](/img/wiki/img2.png)
完成编辑后点击左下角的的保存即可

View File

@ -5,7 +5,7 @@ sidebar_position: 1
# 确实开源帮助中心
## 通知简介
### 通知简介
#### 1.通知类型
GitLink将通知分为“系统通知”和“@我”的两种类型:
* 系统通知包括“我的状态”、“我创建的或负责的”、“我管理的仓库”三种类型的通知:

View File

@ -6,7 +6,7 @@ sidebar_position: 2
# 确实开源帮助中心
## 通知设置
### 通知设置
#### 1.进入通知设置界面
通过点击首页的通知按钮进入通知设置界面;
![](/img/notice/home_notice.png)

150
yarn.lock
View File

@ -1150,12 +1150,10 @@
core-js-pure "^3.25.1"
regenerator-runtime "^0.13.11"
"@babel/runtime@^7.1.2", "@babel/runtime@^7.10.3", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.6", "@babel/runtime@^7.20.13", "@babel/runtime@^7.8.4":
version "7.21.0"
resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.21.0.tgz"
integrity sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw==
dependencies:
regenerator-runtime "^0.13.11"
"@babel/runtime@^7.1.2", "@babel/runtime@^7.10.3", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.6", "@babel/runtime@^7.20.13", "@babel/runtime@^7.26.7", "@babel/runtime@^7.8.4":
version "7.27.4"
resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.27.4.tgz"
integrity sha512-t3yaEOuGu9NlIZ+hIeGbBjFtZT7j2cb2tg0fuaJKeGotchRjjLfrBA9Kwf8quhpP1EUuxModQg04q/mBwyg8uA==
"@babel/template@^7.12.7", "@babel/template@^7.18.10":
version "7.18.10"
@ -2173,6 +2171,11 @@
resolved "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz"
integrity sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==
"@types/raf@^3.4.0":
version "3.4.3"
resolved "https://registry.npmjs.org/@types/raf/-/raf-3.4.3.tgz"
integrity sha512-c4YAvMedbPZ5tEyxzQdMoOhhJ4RD3rngZIdwC2/qDN3d7JpEhB6fiBRKVY1lg5B7Wk+uPBjn5f39j1/2MY1oOw==
"@types/range-parser@*":
version "1.2.4"
resolved "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz"
@ -2252,6 +2255,11 @@
dependencies:
"@types/node" "*"
"@types/trusted-types@^2.0.7":
version "2.0.7"
resolved "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz"
integrity sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==
"@types/unist@*", "@types/unist@^2.0.0", "@types/unist@^2.0.2", "@types/unist@^2.0.3":
version "2.0.6"
resolved "https://registry.npmjs.org/@types/unist/-/unist-2.0.6.tgz"
@ -2610,6 +2618,11 @@ at-least-node@^1.0.0:
resolved "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz"
integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==
atob@^2.1.2:
version "2.1.2"
resolved "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz"
integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==
autoprefixer@^10.4.12, autoprefixer@^10.4.7:
version "10.4.14"
resolved "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.14.tgz"
@ -2700,6 +2713,11 @@ base16@^1.0.0:
resolved "https://registry.npmjs.org/base16/-/base16-1.0.0.tgz"
integrity sha512-pNdYkNPiJUnEhnfXV56+sQy8+AaPcG3POZAUnwr4EeqCUZFz4u2PePbo3e5Gj4ziYPCWGUZT9RHisvJKnwFuBQ==
base64-arraybuffer@^1.0.2:
version "1.0.2"
resolved "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz"
integrity sha512-I3yl4r9QB5ZRY3XuJVEPfc2XhZO6YweFPI+UovAzn+8/hb3oJ6lnysaFcjVpkCPfVWFUDvoZ8kmVDP7WyRtYtQ==
batch@0.6.1:
version "0.6.1"
resolved "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz"
@ -2801,6 +2819,11 @@ browserslist@^4.0.0, browserslist@^4.14.5, browserslist@^4.18.1, browserslist@^4
node-releases "^2.0.8"
update-browserslist-db "^1.0.10"
btoa@^1.2.1:
version "1.2.1"
resolved "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz"
integrity sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==
buffer-from@^1.0.0:
version "1.1.2"
resolved "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz"
@ -2875,6 +2898,20 @@ caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001449, caniuse-lite@^1.0.30001464:
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001469.tgz"
integrity sha512-Rcp7221ScNqQPP3W+lVOYDyjdR6dC+neEQCttoNr5bAyz54AboB4iwpnWgyi8P4YUsPybVzT4LgWiBbI3drL4g==
canvg@^3.0.11:
version "3.0.11"
resolved "https://registry.npmjs.org/canvg/-/canvg-3.0.11.tgz"
integrity sha512-5ON+q7jCTgMp9cjpu4Jo6XbvfYwSB2Ow3kzHKfIyJfaCAOHLbdKPQqGKgfED/R5B+3TFFfe8pegYA+b423SRyA==
dependencies:
"@babel/runtime" "^7.12.5"
"@types/raf" "^3.4.0"
core-js "^3.8.3"
raf "^3.4.1"
regenerator-runtime "^0.13.7"
rgbcolor "^1.0.1"
stackblur-canvas "^2.0.0"
svg-pathdata "^6.0.3"
ccount@^1.0.0:
version "1.1.0"
resolved "https://registry.npmjs.org/ccount/-/ccount-1.1.0.tgz"
@ -3201,7 +3238,7 @@ core-js-pure@^3.25.1:
resolved "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.26.1.tgz"
integrity sha512-VVXcDpp/xJ21KdULRq/lXdLzQAtX7+37LzpyfFM973il0tWSsDEoyzG38G14AjTpK9VTfiNM9jnFauq/CpaWGQ==
core-js@^3.23.3:
core-js@^3.23.3, core-js@^3.6.0, core-js@^3.8.3:
version "3.26.1"
resolved "https://registry.npmjs.org/core-js/-/core-js-3.26.1.tgz"
integrity sha512-21491RRQVzUn0GGM9Z1Jrpr6PNPxPi+Za8OM9q4tksTSnlbXXGKK1nXNg/QvwFYettXvSX6zWKCtHHfjN4puyA==
@ -3259,6 +3296,13 @@ css-declaration-sorter@^6.3.1:
resolved "https://registry.npmjs.org/css-declaration-sorter/-/css-declaration-sorter-6.3.1.tgz"
integrity sha512-fBffmak0bPAnyqc/HO8C3n2sHrp9wcqQz6ES9koRF2/mLOVAx9zIQ3Y7R29sYCteTPqMCwns4WYQoCX91Xl3+w==
css-line-break@^2.1.0:
version "2.1.0"
resolved "https://registry.npmjs.org/css-line-break/-/css-line-break-2.1.0.tgz"
integrity sha512-FHcKFCZcAha3LwfVBhCQbW2nCNbkZXn7KVUJcsT5/P8YmfsVja0FMPJr0B903j/E69HUphKiV9iQArX8SDYA4w==
dependencies:
utrie "^1.0.2"
css-loader@^6.7.1:
version "6.7.2"
resolved "https://registry.npmjs.org/css-loader/-/css-loader-6.7.2.tgz"
@ -3594,6 +3638,13 @@ domhandler@^5.0.1, domhandler@^5.0.2, domhandler@^5.0.3:
dependencies:
domelementtype "^2.3.0"
dompurify@^3.2.4:
version "3.2.6"
resolved "https://registry.npmjs.org/dompurify/-/dompurify-3.2.6.tgz"
integrity sha512-/2GogDQlohXPZe6D6NOgQvXLPSYBqIWMnZ8zzOhn09REE4eyAzb+Hed3jhoM9OkuaJ8P6ZGTTVWQKAi8ieIzfQ==
optionalDependencies:
"@types/trusted-types" "^2.0.7"
domutils@^2.5.2, domutils@^2.8.0:
version "2.8.0"
resolved "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz"
@ -3714,6 +3765,11 @@ es-module-lexer@^0.9.0:
resolved "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz"
integrity sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==
es6-promise@^4.2.5:
version "4.2.8"
resolved "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz"
integrity sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==
escalade@^3.1.1:
version "3.1.1"
resolved "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz"
@ -3945,6 +4001,11 @@ feed@^4.2.2:
dependencies:
xml-js "^1.6.11"
fflate@^0.8.1:
version "0.8.2"
resolved "https://registry.npmjs.org/fflate/-/fflate-0.8.2.tgz"
integrity sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==
file-loader@*, file-loader@^6.2.0:
version "6.2.0"
resolved "https://registry.npmjs.org/file-loader/-/file-loader-6.2.0.tgz"
@ -4440,6 +4501,23 @@ html-webpack-plugin@^5.5.0:
pretty-error "^4.0.0"
tapable "^2.0.0"
html2canvas@^1.0.0, html2canvas@^1.0.0-rc.5, html2canvas@^1.4.1:
version "1.4.1"
resolved "https://registry.npmjs.org/html2canvas/-/html2canvas-1.4.1.tgz"
integrity sha512-fPU6BHNpsyIhr8yyMpTLLxAbkaK8ArIBcmZIRiBLiDhjeqvXolaEmDGmELFuX9I4xDcaKKcJl+TKZLqruBbmWA==
dependencies:
css-line-break "^2.1.0"
text-segmentation "^1.0.3"
html2pdf.js@^0.10.3:
version "0.10.3"
resolved "https://registry.npmjs.org/html2pdf.js/-/html2pdf.js-0.10.3.tgz"
integrity sha512-RcB1sh8rs5NT3jgbN5zvvTmkmZrsUrxpZ/RI8TMbvuReNZAdJZG5TMfA2TBP6ZXxpXlWf9NB/ciLXVb6W2LbRQ==
dependencies:
es6-promise "^4.2.5"
html2canvas "^1.0.0"
jspdf "^3.0.0"
htmlparser2@^6.1.0:
version "6.1.0"
resolved "https://registry.npmjs.org/htmlparser2/-/htmlparser2-6.1.0.tgz"
@ -4942,6 +5020,21 @@ jsonfile@^6.0.1:
optionalDependencies:
graceful-fs "^4.1.6"
jspdf@^3.0.0, jspdf@^3.0.1:
version "3.0.1"
resolved "https://registry.npmjs.org/jspdf/-/jspdf-3.0.1.tgz"
integrity sha512-qaGIxqxetdoNnFQQXxTKUD9/Z7AloLaw94fFsOiJMxbfYdBbrBuhWmbzI8TVjrw7s3jBY1PFHofBKMV/wZPapg==
dependencies:
"@babel/runtime" "^7.26.7"
atob "^2.1.2"
btoa "^1.2.1"
fflate "^0.8.1"
optionalDependencies:
canvg "^3.0.11"
core-js "^3.6.0"
dompurify "^3.2.4"
html2canvas "^1.0.0-rc.5"
keyv@^3.0.0:
version "3.1.0"
resolved "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz"
@ -5692,6 +5785,11 @@ path-type@^4.0.0:
resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz"
integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==
performance-now@^2.1.0:
version "2.1.0"
resolved "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz"
integrity sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==
picocolors@^1.0.0:
version "1.0.0"
resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz"
@ -6132,6 +6230,13 @@ queue@6.0.2:
dependencies:
inherits "~2.0.3"
raf@^3.4.1:
version "3.4.1"
resolved "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz"
integrity sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==
dependencies:
performance-now "^2.1.0"
randombytes@^2.1.0:
version "2.1.0"
resolved "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz"
@ -6401,7 +6506,7 @@ regenerate@^1.4.2:
resolved "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz"
integrity sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==
regenerator-runtime@^0.13.11:
regenerator-runtime@^0.13.11, regenerator-runtime@^0.13.7:
version "0.13.11"
resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz"
integrity sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==
@ -6587,6 +6692,11 @@ reusify@^1.0.4:
resolved "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz"
integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==
rgbcolor@^1.0.1:
version "1.0.1"
resolved "https://registry.npmjs.org/rgbcolor/-/rgbcolor-1.0.1.tgz"
integrity sha512-9aZLIrhRaD97sgVhtJOW6ckOEh6/GnvQtdVNfdZ6s67+3/XwLS9lBcQYzEEhYVeUowN7pRzMLsyGhK2i/xvWbw==
rimraf@^3.0.2:
version "3.0.2"
resolved "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz"
@ -7014,6 +7124,11 @@ stable@^0.1.8:
resolved "https://registry.npmjs.org/stable/-/stable-0.1.8.tgz"
integrity sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==
stackblur-canvas@^2.0.0:
version "2.7.0"
resolved "https://registry.npmjs.org/stackblur-canvas/-/stackblur-canvas-2.7.0.tgz"
integrity sha512-yf7OENo23AGJhBriGx0QivY5JP6Y1HbrrDI6WLt6C5auYZXlQrheoY8hD4ibekFKz1HOfE48Ww8kMWMnJD/zcQ==
state-toggle@^1.0.0:
version "1.0.3"
resolved "https://registry.npmjs.org/state-toggle/-/state-toggle-1.0.3.tgz"
@ -7164,6 +7279,11 @@ svg-parser@^2.0.4:
resolved "https://registry.npmjs.org/svg-parser/-/svg-parser-2.0.4.tgz"
integrity sha512-e4hG1hRwoOdRb37cIMSgzNsxyzKfayW6VOflrwvR+/bzrkyxY/31WkbgnQpgtrNp1SdpJvpUAGTa/ZoiPNDuRQ==
svg-pathdata@^6.0.3:
version "6.0.3"
resolved "https://registry.npmjs.org/svg-pathdata/-/svg-pathdata-6.0.3.tgz"
integrity sha512-qsjeeq5YjBZ5eMdFuUa4ZosMLxgr5RZ+F+Y1OrDhuOCEInRMA3x74XdBtggJcj9kOeInz0WE+LgCPDkZFlBYJw==
svgo@^2.7.0, svgo@^2.8.0:
version "2.8.0"
resolved "https://registry.npmjs.org/svgo/-/svgo-2.8.0.tgz"
@ -7208,6 +7328,13 @@ terser@^5.10.0, terser@^5.14.1:
commander "^2.20.0"
source-map-support "~0.5.20"
text-segmentation@^1.0.3:
version "1.0.3"
resolved "https://registry.npmjs.org/text-segmentation/-/text-segmentation-1.0.3.tgz"
integrity sha512-iOiPUo/BGnZ6+54OsWxZidGCsdU8YbE4PSpdPinp7DeMtUJNJBoJ/ouUSTJjHkh1KntHaltHl/gDs2FC4i5+Nw==
dependencies:
utrie "^1.0.2"
text-table@^0.2.0:
version "0.2.0"
resolved "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz"
@ -7538,6 +7665,13 @@ utils-merge@1.0.1:
resolved "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz"
integrity sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==
utrie@^1.0.2:
version "1.0.2"
resolved "https://registry.npmjs.org/utrie/-/utrie-1.0.2.tgz"
integrity sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==
dependencies:
base64-arraybuffer "^1.0.2"
uuid@^8.3.2:
version "8.3.2"
resolved "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz"