1 Star 0 Fork 1

YC小怪/docs-rancher2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
docusaurus.config.js 3.19 KB
一键复制 编辑 原始数据 按行查看 历史
yzeng25 提交于 2021-05-20 14:11 . sync with eng docs
const sidebars = require("./sidebars");
const metadata = require("./metadata");
module.exports = {
title: "Rancher文档",
tagline: "Run Kubernetes Everywhere",
baseUrl: "/",
url: "https://www.rancher.cn",
favicon: "img/favicon.ico",
themeConfig: {
algoliasearch: {
trackingID: "692a488c8d0d137240f1a940bde32441",
changefreq: "weekly",
priority: 0.5,
trailingSlash: false,
},
hideableSidebar: true,
prism: {
defaultLanguage: "bash",
},
baiduAnalytics: {
trackingID: "692a488c8d0d137240f1a940bde32441",
},
navbar: {
title: "Rancher",
logo: {
alt: "Rancher Logo",
src: "img/rancher-logo-cow-white.svg",
},
items: [
{
href: "https://docs.rancher.cn/",
label: "文档中心",
position: "left",
},
{ to: "pdf", label: "获取 PDF 文档", position: "left" },
{
href: "https://www.rancher.cn/weixin/",
label: "微信",
position: "left",
},
{
href: "https://www.rancher.cn/",
label: "中国官网",
position: "right",
},
{
href:
"https://rancher.com/support-maintenance-terms/all-supported-versions/",
label: "支持矩阵",
position: "right",
},
{
href: "https://www.rancher.cn/support/",
label: "技术支持",
position: "right",
},
{
href: "https://github.com/rancher/rancher",
label: "GitHub",
position: "right",
},
],
},
algolia: {
apiKey: "f790c2168867f49bb212aee8c224116d",
indexName: "rancher",
},
footer: {
style: "dark",
copyright: `Copyright © ${new Date().getFullYear()} Rancher Labs, Inc. All Rights Reserved. 粤ICP备16086305号`,
},
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
sidebarPath: require.resolve("./sidebars.js"),
editUrl:
"https://github.com/cnrancher/docs-rancher2/edit/master/",
showLastUpdateAuthor: true,
showLastUpdateTime: true,
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
},
],
],
customFields: {
sidebars,
metadata,
stable: "版本说明 - v2.5.6",
baseCommit: "4d0d81b9ba163d56822bd2cc1b98a8c6dc96310a - May 20, 2021",
k3sBaseCommit:
"8144e09ef0d3f26c7bf41fc7aafe8d1e2b64c005 - May 12, 2021",
},
plugins: ["@docusaurus/plugin-baidu-analytics"],
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yc_little_monster/docs-rancher2.git
git@gitee.com:yc_little_monster/docs-rancher2.git
yc_little_monster
docs-rancher2
docs-rancher2
master

搜索帮助