1
1
<!DOCTYPE html>
2
2
< html lang ="en ">
3
+ < head >
4
+ < meta charset ="UTF-8 " />
5
+ < title > Technical Books</ title >
6
+ < meta http-equiv ="X-UA-Compatible " content ="IE=edge,chrome=1 " />
7
+ < meta name ="description " content ="Awesome technical books " />
8
+ < meta
9
+ name ="viewport "
10
+ content ="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0 "
11
+ />
12
+ < link
13
+ rel ="stylesheet "
14
+ href ="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify/lib/themes/vue.css "
15
+ />
16
+ < link
17
+ rel ="stylesheet "
18
+ href ="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/gitalk/dist/gitalk.css "
19
+ />
20
+ < link
21
+ rel ="stylesheet "
22
+ href ="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify/lib/themes/vue.css "
23
+ />
24
+ < link
25
+ rel ="stylesheet "
26
+ href ="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify-darklight-theme@latest/dist/style.min.css "
27
+ />
28
+ < link
29
+ rel ="stylesheet "
30
+ href ="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/gitalk/dist/gitalk.css "
31
+ />
32
+ < link
33
+ rel ="icon "
34
+ type ="image/png "
35
+ sizes ="32x32 "
36
+ href ="images/favicon-32x32.png "
37
+ />
38
+ < link
39
+ rel ="icon "
40
+ type ="image/png "
41
+ sizes ="16x16 "
42
+ href ="images/favicon-16x16.png "
43
+ />
44
+ < style >
45
+ .markdown-section code {
46
+ font-weight : 400 ;
47
+ }
48
+ </ style >
49
+ </ head >
3
50
4
- < head >
5
- < meta charset ="UTF-8 " />
6
- < title > Technical Books</ title >
7
- < meta http-equiv ="X-UA-Compatible " content ="IE=edge,chrome=1 " />
8
- < meta name ="description " content ="Awesome technical books " />
9
- < meta name ="viewport "
10
- content ="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0 " />
11
- < link rel ="stylesheet " href ="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify/lib/themes/vue.css " />
12
- < link rel ="stylesheet " href ="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/gitalk/dist/gitalk.css " />
13
- < link rel ="stylesheet " href ="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify/lib/themes/vue.css " />
14
- < link rel ="stylesheet " href ="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify-darklight-theme@latest/dist/style.min.css ">
15
- < link rel ="stylesheet " href ="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/gitalk/dist/gitalk.css " />
16
- < link rel ="icon " type ="image/png " sizes ="32x32 " href ="images/favicon-32x32.png " />
17
- < link rel ="icon " type ="image/png " sizes ="16x16 " href ="images/favicon-16x16.png " />
18
- < style >
19
- .markdown-section code {
20
- font-weight : 400 ;
21
- }
22
- </ style >
23
- </ head >
24
-
25
- < body >
26
- < div id ="app "> </ div >
27
- < script >
28
- window . $docsify = {
29
- name : "Doocs" ,
30
- repo : "doocs/technical-books" ,
31
- auto2top : true ,
32
- search : [ "/" ] ,
33
- darklightTheme : {
34
- defaultTheme : 'light' ,
35
- siteFont : 'Source Sans Pro,Helvetica Neue,Arial,sans-serif' ,
36
- codeFontFamily : 'Roboto Mono, Monaco, courier, monospace' ,
37
- bodyFontSize : '15px' ,
38
- dark : {
39
- background : '#191919' ,
40
- highlightColor : '#e96900' ,
41
- codeBackgroundColor : '#202020' ,
42
- codeTextColor : '#b4b4b4' ,
43
- } ,
44
- light : {
45
- highlightColor : '#e96900' ,
46
- }
47
- } ,
48
- plugins : [
49
- function ( hook , vm ) {
50
- hook . afterEach ( function ( html ) {
51
- const en = vm . route . file . indexOf ( 'README_EN' ) != - 1
52
- const copyright = en ? '. All Rights Reserved' : ' 版权所有'
53
- const currentYear = new Date ( ) . getFullYear ( )
54
- const footer = `<footer><span>Copyright © 2018-${ currentYear } <a href="https://github.com/doocs" target="_blank">Doocs</a>${ copyright } </footer>`
55
- return html + footer
56
- } ) ;
51
+ < body >
52
+ < div id ="app "> </ div >
53
+ < script >
54
+ window . $docsify = {
55
+ name : 'Doocs' ,
56
+ repo : 'doocs/technical-books' ,
57
+ auto2top : true ,
58
+ search : [ '/' ] ,
59
+ darklightTheme : {
60
+ defaultTheme : 'light' ,
61
+ siteFont : 'Source Sans Pro,Helvetica Neue,Arial,sans-serif' ,
62
+ codeFontFamily : 'Roboto Mono, Monaco, courier, monospace' ,
63
+ bodyFontSize : '15px' ,
64
+ dark : {
65
+ background : '#191919' ,
66
+ highlightColor : '#e96900' ,
67
+ codeBackgroundColor : '#202020' ,
68
+ codeTextColor : '#b4b4b4' ,
69
+ } ,
70
+ light : {
71
+ highlightColor : '#e96900' ,
72
+ } ,
57
73
} ,
58
- ] ,
59
- } ;
60
- </ script >
61
- < script src ="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify/lib/docsify.min.js "> </ script >
62
- < script src ="
https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/[email protected] /dist/docsify-copy-code.min.js "
> </ script >
63
- < script src ="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify/lib/plugins/search.min.js "> </ script >
64
- < script src ="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify/lib/plugins/zoom-image.min.js "> </ script >
65
- < script src ="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify/lib/plugins/gitalk.min.js "> </ script >
66
- < script src ="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/gitalk/dist/gitalk.min.js "> </ script >
67
- < script src ="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify-darklight-theme@latest/dist/index.min.js "> </ script >
68
- < script >
69
- const gitalk = new Gitalk ( {
70
- clientID : "da1e9e0847f0d713937e" ,
71
- clientSecret : "3d85cc27dfe12b3fe16e2f4a118a0b3d699d3a75" ,
72
- repo : "technical-books" ,
73
- owner : "doocs" ,
74
- admin : [ "yanglbme" ] ,
75
- number : 2 ,
76
- distractionFreeMode : true ,
77
- labels : [ "talk" ] ,
78
- title : "好书推荐" ,
79
- perPage : 15 ,
80
- } ) ;
81
- </ script >
82
- </ body >
83
-
84
- </ html >
74
+ plugins : [
75
+ function ( hook , vm ) {
76
+ hook . afterEach ( function ( html ) {
77
+ const en = vm . route . file . indexOf ( 'README_EN' ) != - 1 ;
78
+ const copyright = en ? '. All Rights Reserved' : ' 版权所有' ;
79
+ const currentYear = new Date ( ) . getFullYear ( ) ;
80
+ const footer = `<footer><span>Copyright © 2018-${ currentYear } <a href="https://github.com/doocs" target="_blank">Doocs</a>${ copyright } </footer>` ;
81
+ return html + footer ;
82
+ } ) ;
83
+ } ,
84
+ ] ,
85
+ } ;
86
+ </ script >
87
+ < script src ="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify/lib/docsify.min.js "> </ script >
88
+ < script src ="
https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/[email protected] /dist/docsify-copy-code.min.js "
> </ script >
89
+ < script src ="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify/lib/plugins/search.min.js "> </ script >
90
+ < script src ="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify/lib/plugins/zoom-image.min.js "> </ script >
91
+ < script src ="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify/lib/plugins/gitalk.min.js "> </ script >
92
+ < script src ="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/gitalk/dist/gitalk.min.js "> </ script >
93
+ < script src ="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/docsify-darklight-theme@latest/dist/index.min.js "> </ script >
94
+ < script >
95
+ const gitalk = new Gitalk ( {
96
+ clientID : 'da1e9e0847f0d713937e' ,
97
+ clientSecret : '3d85cc27dfe12b3fe16e2f4a118a0b3d699d3a75' ,
98
+ repo : 'technical-books' ,
99
+ owner : 'doocs' ,
100
+ admin : [ 'yanglbme' ] ,
101
+ number : 2 ,
102
+ distractionFreeMode : true ,
103
+ labels : [ 'talk' ] ,
104
+ title : '好书推荐' ,
105
+ perPage : 15 ,
106
+ } ) ;
107
+ </ script >
108
+ </ body >
109
+ </ html >
0 commit comments