This repository was archived by the owner on May 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +46
-44
lines changed Expand file tree Collapse file tree 3 files changed +46
-44
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,11 @@ const plugin = data => new Promise((resolve, reject) => {
5454 `${ data . title } .docset/Contents/Resources/Documents/resources/`
5555 ) ;
5656
57+ zip . addLocalFile (
58+ path . join ( __dirname , 'templates/resources/documentation.css' ) ,
59+ `${ data . title } .docset/Contents/Resources/Documents/resources/`
60+ ) ;
61+
5762 zip . addLocalFile (
5863 path . join ( __dirname , 'templates/resources/github.min.css' ) ,
5964 `${ data . title } .docset/Contents/Resources/Documents/resources/`
Original file line number Diff line number Diff line change 66<title >{{ name }} </title >
77<link rel =" stylesheet" href =" resources/bootstrap.min.css" >
88<link rel =" stylesheet" href =" resources/github.min.css" >
9- <style >
10-
11- .wrap {
12- padding : 2rem 1rem ;
13- }
14-
15- .method {
16- margin : 0 0 4rem 0 ;
17- }
18-
19- .method .method-name {
20- display : inline-block ;
21- width : 100% ;
22- white-space : nowrap ;
23- overflow : hidden ;
24- text-overflow : ellipsis ;
25- }
26-
27- .method .method-name + .scope-private {
28- color : #AAAAAA ;
29- }
30-
31- .method section {
32- margin : 2rem 0 ;
33- }
34-
35- .method h3 {
36- margin : 0 0 1rem 0 ;
37- }
38-
39- .method .table ,
40- .method .table p ,
41- .method .table ol ,
42- .method .table ul {
43- margin : 0 ;
44- }
45-
46- .bs-footer {
47- margin : 3rem auto ;
48- color : #777 ;
49- text-align : center ;
50- }
51-
52- </style >
9+ <link rel =" stylesheet" href =" resources/documentation.css" >
5310</head >
5411
5512<body >
Original file line number Diff line number Diff line change 1+ .wrap {
2+ padding : 2rem 1rem ;
3+ }
4+
5+ .method {
6+ margin : 0 0 4rem 0 ;
7+ }
8+
9+ .method .method-name {
10+ display : inline-block;
11+ width : 100% ;
12+ white-space : nowrap;
13+ overflow : hidden;
14+ text-overflow : ellipsis;
15+ }
16+
17+ .method .method-name + .scope-private {
18+ color : # AAAAAA ;
19+ }
20+
21+ .method section {
22+ margin : 2rem 0 ;
23+ }
24+
25+ .method h3 {
26+ margin : 0 0 1rem 0 ;
27+ }
28+
29+ .method .table ,
30+ .method .table p ,
31+ .method .table ol ,
32+ .method .table ul {
33+ margin : 0 ;
34+ }
35+
36+ .bs-footer {
37+ margin : 3rem auto;
38+ color : # 777 ;
39+ text-align : center;
40+ }
You can’t perform that action at this time.
0 commit comments