Skip to content

Commit

Permalink
remove cover so other can offline reading
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterhug committed Jun 17, 2022
1 parent c23a389 commit 18c22ce
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 15 deletions.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,18 @@

**目前有部分网站,未经许可分发了此系列内容,存在更新延后的风险,之前存在部分的笔误,都已经更正了,请以此网站为准!**

本地[离线阅读](doc/install.md)`docker run --name algorithm_docsify -d -p 12346:3000 hunterhug/algorithm:docsify` ,浏览器打开 [http://127.0.0.1:12346](http://127.0.0.1:12346)
本地[离线阅读](doc/install.md),执行:


```bash
# 方式1
docker run --name algorithm -d -p 12346:3000 hunterhug/algorithm:docsify

# 方式2
docker run --name algorithm -d -p 12346:3000 hunterhug/algorithm:latest
```

浏览器打开 [http://127.0.0.1:12346](http://127.0.0.1:12346)

联系作者: [https://github.com/hunterhug](https://github.com/hunterhug) ,邮箱: [email protected]

Expand Down Expand Up @@ -95,6 +106,7 @@

| 日期 | 组织/个人 | 说明 |
| ----- | ------- | ------- |
| 2022.04.21 | 最爱茶叶蛋. | 4.50 RMB |
| 2022.04.21 | cy | 4.50 RMB |
| 2022.04.13 | cy | 1.50 RMB |
| 2022.04.02 | skywalker | 9.50 RMB |
Expand Down
2 changes: 1 addition & 1 deletion book.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"gitbook": "3.2.3",
"links": {
"sidebar": {
"首页": "https://hunterhug.gitlab.io/goa.c"
"首页": "/"
}
},
"plugins": [
Expand Down
2 changes: 1 addition & 1 deletion doc/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
执行:

```
docker run --name algorithm_docsify -d -p 12346:3000 hunterhug/algorithm:docsify
docker run --name algorithm -d -p 12346:3000 hunterhug/algorithm:docsify
```

打开 [http://127.0.0.1:12346](http://127.0.0.1:12346)
Expand Down
24 changes: 12 additions & 12 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
</head>
<body>
<div id="app">正在火速加载中</div>
<script>
if (typeof navigator.serviceWorker !== 'undefined') {
navigator.serviceWorker.register('sw.js')
}
</script>
<!--<script>-->
<!-- if (typeof navigator.serviceWorker !== 'undefined') {-->
<!-- navigator.serviceWorker.register('sw.js')-->
<!-- }-->
<!--</script>-->
<script>
window.$docsify = {
name: '数据结构和算法',
Expand All @@ -27,8 +27,8 @@
'/.*/_navbar.md': '/_navbar.md'
},
loadNavbar: true,
coverpage: true,
onlyCover: true,
// coverpage: true,
// onlyCover: true,
// subMaxLevel: 2,
auto2top: true,
count: {
Expand Down Expand Up @@ -73,10 +73,10 @@
crossChapter: true,
crossChapterText: true,
},
toc: {
tocMaxLevel: 4,
target: 'h2, h3, h4, h5'
},
// toc: {
// tocMaxLevel: 4,
// target: 'h2, h3, h4, h5'
// },
}
</script>

Expand All @@ -87,7 +87,7 @@
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/emoji.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify-copy-code/dist/docsify-copy-code.min.js"></script>
<script src="//unpkg.com/docsify-pagination/dist/docsify-pagination.min.js"></script>
<script src="//unpkg.com/docsify-plugin-toc"></script>
<!--<script src="//unpkg.com/docsify-plugin-toc"></script>-->

<!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/gitalk/dist/gitalk.css"> -->
<!--
Expand Down
File renamed without changes.

0 comments on commit 18c22ce

Please sign in to comment.