forked from Gitlink/gitlink_help_center
Compare commits
5 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
5f0e1c86e5 | |
|
|
1937923cd0 | |
|
|
eae6afc139 | |
|
|
1c6fa53351 | |
|
|
fa6bbf212c |
|
|
@ -1,6 +1,6 @@
|
|||
const lightCodeTheme = require('prism-react-renderer/themes/github');
|
||||
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
|
||||
import("@easyops-cn/docusaurus-search-local").PluginOptions;
|
||||
// import("@easyops-cn/docusaurus-search-local").PluginOptions;
|
||||
|
||||
/** @type {import('@docusaurus/types').DocusaurusConfig} */
|
||||
module.exports = {
|
||||
|
|
@ -23,10 +23,10 @@ module.exports = {
|
|||
},
|
||||
},
|
||||
metadata:[
|
||||
{name:"Keywords",content:"Gitlink,forgeplus,GitLink,gitLink,GitLink,gitlink,帮助中心"},
|
||||
{name:"Keywords",content:"学位论文算法,帮助中心"},
|
||||
{name:"hostname",content:"gitlink.org.cn"},
|
||||
{property:"og:site_name",content:"GitLink"},
|
||||
{property:"og:image:alt",content:"GitLink(确实开源)是中国计算机学会CCF官方指定的开源创新服务平台 - Gitlink/forgeplus:GitLink(确实开源)是中国计算机学会CCF官方指定的开源创新服务平台 for gitlink Gitlink/forgeplus for git"}
|
||||
{property:"og:site_name",content:"学位论文算法"},
|
||||
{property:"og:image:alt",content:"学位论文算法"}
|
||||
],
|
||||
prism: {
|
||||
theme: lightCodeTheme,
|
||||
|
|
@ -53,9 +53,9 @@ module.exports = {
|
|||
logo: {
|
||||
// width: '32px',
|
||||
// height: '32px',
|
||||
alt: 'gitlink',
|
||||
src: 'img/gitlink.png',
|
||||
href:"https://www.gitlink.org.cn/"
|
||||
alt: '学位论文',
|
||||
src: 'img/xuewei.png',
|
||||
href:"/"
|
||||
// srcDark: 'img/logo-dark.png',
|
||||
},
|
||||
items: [
|
||||
|
|
@ -78,72 +78,23 @@ module.exports = {
|
|||
],
|
||||
},
|
||||
footer: {
|
||||
style: 'dark',
|
||||
logo:{
|
||||
src:"img/gitlink.png"
|
||||
},
|
||||
links: [
|
||||
{
|
||||
title: '社区',
|
||||
items: [
|
||||
{
|
||||
label: '网站首页',
|
||||
to: 'https://www.gitlink.org.cn',
|
||||
},
|
||||
{
|
||||
label: '关于我们',
|
||||
to: 'https://www.gitlink.org.cn/aboutus',
|
||||
},
|
||||
{
|
||||
label: '教学实践',
|
||||
to: 'https://www.gitlink.org.cn/educoder',
|
||||
},
|
||||
{
|
||||
label: '合作伙伴',
|
||||
to: 'https://forum.trustie.net/forums/5030/detail',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: '支持与服务',
|
||||
items: [
|
||||
{
|
||||
label: 'API文档',
|
||||
to: 'https://forgeplus.trustie.net/docs/api',
|
||||
},
|
||||
{
|
||||
label: 'Git常用命令',
|
||||
to: 'https://git-scm.com',
|
||||
},
|
||||
{
|
||||
label: '引擎使用手册',
|
||||
to: 'https://forum.gitlink.org.cn/forums/7487/detail',
|
||||
},
|
||||
{
|
||||
label: '服务协议',
|
||||
to: 'https://forum.trustie.net/forums/5029/detail',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: '加入我们',
|
||||
items: [
|
||||
{
|
||||
label: '官网邮箱:gitlink@ccf.org.cn',
|
||||
to:"https://www.gitlink.org.cn"
|
||||
},
|
||||
{
|
||||
label:'QQ群',
|
||||
to:'https://www.gitlink.org.cn'
|
||||
},
|
||||
{
|
||||
label:'公众号',
|
||||
to:'https://www.gitlink.org.cn'
|
||||
}
|
||||
],
|
||||
},
|
||||
],
|
||||
copyright: `<p>©Copyright ${new Date().getFullYear()} CCF 开源发展委员会</p><p>Powered by Trustie& IntelliDE 京ICP备13000930号</p>`,
|
||||
// style: 'dark',
|
||||
// logo:{
|
||||
// src:"img/gitlink.png"
|
||||
// },
|
||||
// links: [
|
||||
// {
|
||||
// title: '关于我们',
|
||||
// items: [
|
||||
// {
|
||||
// label: '根据《“学位论文算法数据库”建设试点方案》及有关要求,计算机学院对第一阶段的数据类型、上传流程及数据描述等进行梳理,明确支持上传的数据类型主要包括代码、数据集、说明文档等,博士研究生应根据具体类型,完成相关数据整理和上传。',
|
||||
// to:""
|
||||
// }
|
||||
// ],
|
||||
// }
|
||||
// ],
|
||||
// copyright: `<p>©Copyright ${new Date().getFullYear()} CCF 开源发展委员会</p><p>Powered by Trustie& IntelliDE 京ICP备13000930号</p>`,
|
||||
copyright: `<img src="/img/xuewei.png" /><div class="text"><p>关于我们</p><p>根据《“学位论文算法数据库”建设试点方案》及有关要求,计算机学院对第一阶段的数据类型、上传流程及数据描述等进行梳理,明确支持上传的数据类型主要包括代码、数据集、说明文档等,博士研究生应根据具体类型,完成相关数据整理和上传。</p><p style="margin-top:20px">工具下载</p><p><a>git32位安装下载</a><a>git64位安装下载</a></p></div>`,
|
||||
},
|
||||
},
|
||||
presets: [
|
||||
|
|
@ -163,22 +114,22 @@ module.exports = {
|
|||
],
|
||||
themes: [
|
||||
// ... Your other themes.
|
||||
[
|
||||
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"],
|
||||
// ```
|
||||
},
|
||||
],
|
||||
// [
|
||||
// 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',
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -18,7 +18,7 @@
|
|||
"@docusaurus/core": "2.4.1",
|
||||
"@docusaurus/plugin-client-redirects": "2.4.1",
|
||||
"@docusaurus/preset-classic": "2.4.1",
|
||||
"@easyops-cn/docusaurus-search-local": "^0.35.0",
|
||||
"@easyops-cn/docusaurus-search-local": "^0.49.2",
|
||||
"@mdx-js/react": "1.6.22",
|
||||
"@node-rs/jieba": "^1.7.0",
|
||||
"clsx": "1.2.1",
|
||||
|
|
|
|||
|
|
@ -48,9 +48,9 @@ html[data-theme='dark'] .docusaurus-highlight-code-line {
|
|||
background-color: #33416b;
|
||||
}
|
||||
.footer{
|
||||
height:450px;
|
||||
/* height:450px;
|
||||
position: relative;
|
||||
background: #1e1e1e;
|
||||
background: #1e1e1e; */
|
||||
padding:0px;
|
||||
}
|
||||
.container{
|
||||
|
|
@ -135,12 +135,33 @@ html[data-theme='dark'] .docusaurus-highlight-code-line {
|
|||
font-weight: 400;
|
||||
color: #bdc2d1;
|
||||
line-height: 28px;
|
||||
padding: 15px 0;
|
||||
text-align: center;
|
||||
background-color: #1b212c;
|
||||
padding:50px 0px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 17px;
|
||||
}
|
||||
.container .footer__copyright p{
|
||||
.container .footer__copyright .text{
|
||||
text-align: left;
|
||||
}
|
||||
.container .footer__copyright img{
|
||||
width: 300px;
|
||||
}
|
||||
.container .footer__copyright .text p:nth-child(2n+1){
|
||||
font-size: 22px;
|
||||
margin-left: 50px;
|
||||
margin-bottom: 10px!important;
|
||||
}
|
||||
.container .footer__copyright .text p{
|
||||
margin-bottom: 0px!important;
|
||||
max-width: 950px;
|
||||
margin-left: 50px;
|
||||
}
|
||||
.container .footer__copyright .text p a{
|
||||
color: #bdc2d1;
|
||||
margin-right: 25px;
|
||||
}
|
||||
.aa-Form{
|
||||
width: unset;
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 9.3 KiB |
Loading…
Reference in New Issue