This commit is contained in:
Unisko PENG, 2023-01-12 19:51:42 +08:00
parent da0c04e526
commit 5b5316cbd5
5 changed files with 294 additions and 12485 deletions

View File

@ -0,0 +1 @@
103114cbb9829311e7fe0b954d4ad85f

View File

@ -17,67 +17,68 @@
},
"plugins": [
"highlight-code",
"fontsettings",
"include-codeblock@^3.0.2",
"tbfed-pagefooter@^0.0.1",
"sectionx@^3.1.0",
"sitemap",
"code",
"page-toc-button",
"-lunr",
"-search",
"-sharing",
"-fontsettings",
"cuav-chapters",
"add-js-css",
"heading-anchors",
"navigation",
"splitter",
"theme-door",
"search-pro-fixed"
"search-pro2"
],
"variables": {
"doorTheme": {
"nav": [
{
"url": "https://rust-lang.xfoss.com",
"target": "_blank",
"name": "学习 Rust 编程语言 · ⚙️"
},
{
"url": "https://java-lang.xfoss.com",
"target": "_blank",
"name": "学习 Java · ☕"
},
{
"url": "https://ccna.xfoss.com",
"target": "_blank",
"name": "学习 “网络通信” 技术 CCNA · 🖧"
},
{
"url": "https://xfoss.com",
"target": "_blank",
"name": "捐助donation · 💰"
}
]
}
},
"pluginsConfig": {
"doorTheme": {
"search-placeholder": "请输入关键字搜索",
"logo": "./images/typescript-logo.png",
"favicon": "./docs/images/typescript-fav-icon.png"
"page-toc-button": {
"maxTocDepth": 2,
"minTocSize": 2
},
"fontsettings": {
"theme": "white",
"family": "sans",
"size": 2
},
"include-codeblock": {
"template": "ace",
"unindent": true,
"edit": true
"edit": false
},
"tbfed-pagefooter": {
"copyright": "Copyleft @ rust.xfoss.com 2022",
"copyright": "Copyleft @ ts-lang.xfoss.com 2022 - now",
"modify_label": "该文件修订时间:",
"modify_format": "YYYY-MM-DD HH:mm:ss"
},
"sectionx": {
"tag": "b"
},
"add-js-css": {
"css": [ "./custom-style.css" ]
},
"navigation": {
"navigatorList": [
{
"url": "https://rust-lang.xfoss.com",
"name": "学习 Rust 编程语言 · ⚙️"
},
{
"url": "https://java-lang.xfoss.com",
"name": "学习 Java · ☕"
},
{
"url": "https://ccna.xfoss.com",
"name": "学习 “网络通信” 技术 CCNA · 🖧"
},
{
"url": "https://xfoss.com",
"name": "捐助donation · 💰"
}
]
},
"sitemap": {
"hostname": "https://ts-lang.xfoss.com/"
}

53
custom-style.css Normal file
View File

@ -0,0 +1,53 @@
div.book-header {
position: fixed;
}
::-webkit-scrollbar {
width: 5px;
}
::-webkit-scrollbar-track {
background-color: #e4e4e4;
border-radius: 100px;
}
::-webkit-scrollbar-thumb {
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}
li.nav-item>a {
text-decoration: none;
}
i.fa {
font-weight: bold;
color: #5f5f5f;
}
.page-toc-menu {
background-color: #555555 !important;
color: #cccccc !important;
border-radius: 10px;
}
@media only screen and (min-width: 1024px) {
div.book-header {
top: 30px;
}
.nav-list .nav-item a {
font-size: small !important;
}
.nav-list .nav-item a:hover {
color: #f59542 !important;
}
}
@media only screen and (max-width: 1024px) {
ul.nav-list {
display: none;
}
div.book-headr {
top: 5px;
}
}

12518
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -25,35 +25,27 @@
},
"homepage": "https://github.com/gnu4cn/ts-learnings#readme",
"devDependencies": {
"@types/reflect-metadata": "^0.1.0",
"@types/uuid": "^3.4.5",
"gulp": "^4.0.2",
"gulp-browserify": "^0.5.1",
"gulp-clean": "^0.4.0",
"gulp-concat": "^2.6.1",
"gulp-sourcemap": "^1.0.1",
"gulp-sourcemaps": "^2.6.1",
"gulp-typescript": "^5.0.1",
"gulp-uglify": "^3.0.2",
"live-server": "^1.2.0",
"typescript": "^3.6.4",
"gitbook-plugin-add-js-css": "^0.0.1",
"gitbook-plugin-back-to-top-button": "^0.1.4",
"gitbook-plugin-cuav-chapters": "^1.0.3",
"gitbook-plugin-fontsettings": "^2.0.0",
"gitbook-plugin-heading-anchors": "^1.0.3",
"gitbook-plugin-highlight-code": "^1.0.0",
"gitbook-plugin-navigation": "^0.1.1",
"gitbook-plugin-page-toc-button": "^0.1.1",
"gitbook-plugin-search-pro2": "^1.0.2",
"gitbook-plugin-sharing": "^1.0.2",
"gitbook-plugin-theme-comscore": "^0.0.3",
"gitbook-plugin-yh-changyan": "^1.0.0",
"honkit": "^4.0.4"
},
"dependencies": {
"gitbook-plugin-ace": "^0.3.2",
"gitbook-plugin-code": "^0.1.0",
"gitbook-plugin-include-codeblock": "^3.2.3",
"gitbook-plugin-search-pro-fixed": "^1.0.1",
"gitbook-plugin-sectionx": "^3.1.0",
"gitbook-plugin-sitemap": "^1.2.0",
"gitbook-plugin-splitter": "^0.0.8",
"gitbook-plugin-tbfed-pagefooter": "^0.0.1",
"gitbook-plugin-theme-door": "^1.0.2"
"gitbook-plugin-tbfed-pagefooter": "^0.0.1"
}
}