This repository has been archived by the owner on Dec 23, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 223
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from laosb/new-docs
WIP New docs site
- Loading branch information
Showing
18 changed files
with
7,864 additions
and
928 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
module.exports = { | ||
themeConfig: { | ||
base: "/NSudo/", | ||
dest: "../docs", | ||
repo: "M2Team/NSudo", | ||
docsDir: "docs-src", | ||
editLinks: true, | ||
locales: { | ||
"/": { | ||
selectText: "Languages", | ||
label: "English", | ||
editLinkText: "Edit this page on GitHub", | ||
serviceWorker: { | ||
updatePopup: { | ||
message: "New content is available.", | ||
buttonText: "Refresh" | ||
} | ||
}, | ||
nav: [{ text: "Home", link: "/" }, { text: "Docs", link: "/docs/" }], | ||
sidebar: { | ||
"/docs/": [ | ||
"/docs/", | ||
{ | ||
title: "Documents", | ||
children: [ | ||
"/docs/changelog", | ||
["/docs/People", "Relevant People"], | ||
"/docs/CODE_OF_CONDUCT", | ||
"/docs/CONTRIBUTING" | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
"/zh-hans/": { | ||
selectText: "选择语言", | ||
label: "简体中文", | ||
editLinkText: "在 GitHub 上编辑此页", | ||
serviceWorker: { | ||
updatePopup: { | ||
message: "发现新内容可用。", | ||
buttonText: "刷新" | ||
} | ||
}, | ||
nav: [ | ||
{ text: "首页", link: "/zh-hans/" }, | ||
{ text: "文档", link: "/zh-hans/docs/" } | ||
], | ||
sidebar: { | ||
"/zh-hans/docs/": [ | ||
"/zh-hans/docs/", | ||
{ | ||
title: "档案", | ||
children: [ | ||
["/docs/changelog", "更新日志"], | ||
["/docs/People", "相关人士"], | ||
["/docs/CODE_OF_CONDUCT", "贡献者行为准则"], | ||
["/docs/CONTRIBUTING", "向 NSudo 贡献"] | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
"/zh-hant/": { | ||
selectText: "選擇語言", | ||
label: "繁體中文", | ||
editLinkText: "在 GitHub 上編輯此頁", | ||
serviceWorker: { | ||
updatePopup: { | ||
message: "發現新內容可用。", | ||
buttonText: "重載" | ||
} | ||
}, | ||
nav: [ | ||
{ text: "主頁", link: "/zh-hant/" }, | ||
{ text: "文獻", link: "/zh-hant/docs/" } | ||
], | ||
sidebar: { | ||
"/zh-hant/docs/": [ | ||
"/zh-hans/docs/", | ||
{ | ||
title: "檔案", | ||
children: [ | ||
["/docs/changelog", "更新日志"], | ||
["/docs/People", "相关人士"], | ||
["/docs/CODE_OF_CONDUCT", "貢獻者行為準則"], | ||
["/docs/CONTRIBUTING", "向 NSudo 貢獻"] | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
locales: { | ||
"/": { | ||
lang: "en-US", | ||
title: "NSudo", | ||
description: "A Powerful System Administration Tool" | ||
}, | ||
"/zh-hans/": { | ||
lang: "zh-CN", | ||
title: "NSudo", | ||
description: "一个强大的系统管理工具" | ||
}, | ||
"/zh-hant/": { | ||
lang: "zh-TW", | ||
title: "NSudo", | ||
description: "一個強大的系統管理工具" | ||
} | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$accentColor = #2c84d0 |
Oops, something went wrong.