代码拉取完成,页面将自动刷新
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"],
};
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。