cabbage_doc 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cabbage_doc.rb +2 -0
- data/lib/cabbage_doc/action.rb +14 -3
- data/lib/cabbage_doc/authentication.rb +8 -2
- data/lib/cabbage_doc/configuration.rb +10 -1
- data/lib/cabbage_doc/controller.rb +41 -9
- data/lib/cabbage_doc/version.rb +1 -1
- data/lib/cabbage_doc/web_helper.rb +8 -0
- data/web/public/css/application.css +16 -1
- data/web/views/action.haml +1 -0
- data/web/views/controller.haml +4 -1
- data/web/views/documentation.haml +2 -1
- metadata +2 -41
- data/web/public/css/highlight/atelier-cave-dark.css +0 -83
- data/web/public/css/highlight/atelier-cave-light.css +0 -85
- data/web/public/css/highlight/atelier-dune-dark.css +0 -69
- data/web/public/css/highlight/atelier-dune-light.css +0 -69
- data/web/public/css/highlight/atelier-estuary-dark.css +0 -84
- data/web/public/css/highlight/atelier-estuary-light.css +0 -84
- data/web/public/css/highlight/atelier-forest-dark.css +0 -69
- data/web/public/css/highlight/atelier-forest-light.css +0 -69
- data/web/public/css/highlight/atelier-heath-dark.css +0 -69
- data/web/public/css/highlight/atelier-heath-light.css +0 -69
- data/web/public/css/highlight/atelier-lakeside-dark.css +0 -69
- data/web/public/css/highlight/atelier-lakeside-light.css +0 -69
- data/web/public/css/highlight/atelier-plateau-dark.css +0 -84
- data/web/public/css/highlight/atelier-plateau-light.css +0 -84
- data/web/public/css/highlight/atelier-savanna-dark.css +0 -84
- data/web/public/css/highlight/atelier-savanna-light.css +0 -84
- data/web/public/css/highlight/atelier-seaside-dark.css +0 -69
- data/web/public/css/highlight/atelier-seaside-light.css +0 -69
- data/web/public/css/highlight/atelier-sulphurpool-dark.css +0 -69
- data/web/public/css/highlight/atelier-sulphurpool-light.css +0 -69
- data/web/public/css/highlight/brown-paper.css +0 -64
- data/web/public/css/highlight/color-brewer.css +0 -71
- data/web/public/css/highlight/dark.css +0 -63
- data/web/public/css/highlight/far.css +0 -71
- data/web/public/css/highlight/gruvbox-dark.css +0 -108
- data/web/public/css/highlight/gruvbox-light.css +0 -108
- data/web/public/css/highlight/hopscotch.css +0 -83
- data/web/public/css/highlight/kimbie.dark.css +0 -74
- data/web/public/css/highlight/kimbie.light.css +0 -74
- data/web/public/css/highlight/ocean.css +0 -74
- data/web/public/css/highlight/paraiso-dark.css +0 -72
- data/web/public/css/highlight/paraiso-light.css +0 -72
- data/web/public/css/highlight/pojoaque.css +0 -83
- data/web/public/css/highlight/tomorrow-night-blue.css +0 -75
- data/web/public/css/highlight/tomorrow-night-bright.css +0 -74
- data/web/public/css/highlight/tomorrow-night-eighties.css +0 -74
- data/web/public/css/highlight/tomorrow-night.css +0 -75
- data/web/public/css/highlight/tomorrow.css +0 -72
- data/web/public/css/highlight/xt256.css +0 -92
@@ -1,83 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Hopscotch
|
3
|
-
* by Jan T. Sott
|
4
|
-
* https://github.com/idleberg/Hopscotch
|
5
|
-
*
|
6
|
-
* This work is licensed under the Creative Commons CC0 1.0 Universal License
|
7
|
-
*/
|
8
|
-
|
9
|
-
/* Comment */
|
10
|
-
.hljs-comment,
|
11
|
-
.hljs-quote {
|
12
|
-
color: #989498;
|
13
|
-
}
|
14
|
-
|
15
|
-
/* Red */
|
16
|
-
.hljs-variable,
|
17
|
-
.hljs-template-variable,
|
18
|
-
.hljs-attribute,
|
19
|
-
.hljs-tag,
|
20
|
-
.hljs-name,
|
21
|
-
.hljs-selector-id,
|
22
|
-
.hljs-selector-class,
|
23
|
-
.hljs-regexp,
|
24
|
-
.hljs-link,
|
25
|
-
.hljs-deletion {
|
26
|
-
color: #dd464c;
|
27
|
-
}
|
28
|
-
|
29
|
-
/* Orange */
|
30
|
-
.hljs-number,
|
31
|
-
.hljs-built_in,
|
32
|
-
.hljs-builtin-name,
|
33
|
-
.hljs-literal,
|
34
|
-
.hljs-type,
|
35
|
-
.hljs-params {
|
36
|
-
color: #fd8b19;
|
37
|
-
}
|
38
|
-
|
39
|
-
/* Yellow */
|
40
|
-
.hljs-class .hljs-title {
|
41
|
-
color: #fdcc59;
|
42
|
-
}
|
43
|
-
|
44
|
-
/* Green */
|
45
|
-
.hljs-string,
|
46
|
-
.hljs-symbol,
|
47
|
-
.hljs-bullet,
|
48
|
-
.hljs-addition {
|
49
|
-
color: #8fc13e;
|
50
|
-
}
|
51
|
-
|
52
|
-
/* Aqua */
|
53
|
-
.hljs-meta {
|
54
|
-
color: #149b93;
|
55
|
-
}
|
56
|
-
|
57
|
-
/* Blue */
|
58
|
-
.hljs-function,
|
59
|
-
.hljs-section,
|
60
|
-
.hljs-title {
|
61
|
-
color: #1290bf;
|
62
|
-
}
|
63
|
-
|
64
|
-
/* Purple */
|
65
|
-
.hljs-keyword,
|
66
|
-
.hljs-selector-tag {
|
67
|
-
color: #c85e7c;
|
68
|
-
}
|
69
|
-
|
70
|
-
.hljs {
|
71
|
-
display: block;
|
72
|
-
background: #322931;
|
73
|
-
color: #b9b5b8;
|
74
|
-
padding: 0.5em;
|
75
|
-
}
|
76
|
-
|
77
|
-
.hljs-emphasis {
|
78
|
-
font-style: italic;
|
79
|
-
}
|
80
|
-
|
81
|
-
.hljs-strong {
|
82
|
-
font-weight: bold;
|
83
|
-
}
|
@@ -1,74 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Name: Kimbie (dark)
|
3
|
-
Author: Jan T. Sott
|
4
|
-
License: Creative Commons Attribution-ShareAlike 4.0 Unported License
|
5
|
-
URL: https://github.com/idleberg/Kimbie-highlight.js
|
6
|
-
*/
|
7
|
-
|
8
|
-
/* Kimbie Comment */
|
9
|
-
.hljs-comment,
|
10
|
-
.hljs-quote {
|
11
|
-
color: #d6baad;
|
12
|
-
}
|
13
|
-
|
14
|
-
/* Kimbie Red */
|
15
|
-
.hljs-variable,
|
16
|
-
.hljs-template-variable,
|
17
|
-
.hljs-tag,
|
18
|
-
.hljs-name,
|
19
|
-
.hljs-selector-id,
|
20
|
-
.hljs-selector-class,
|
21
|
-
.hljs-regexp,
|
22
|
-
.hljs-meta {
|
23
|
-
color: #dc3958;
|
24
|
-
}
|
25
|
-
|
26
|
-
/* Kimbie Orange */
|
27
|
-
.hljs-number,
|
28
|
-
.hljs-built_in,
|
29
|
-
.hljs-builtin-name,
|
30
|
-
.hljs-literal,
|
31
|
-
.hljs-type,
|
32
|
-
.hljs-params,
|
33
|
-
.hljs-deletion,
|
34
|
-
.hljs-link {
|
35
|
-
color: #f79a32;
|
36
|
-
}
|
37
|
-
|
38
|
-
/* Kimbie Yellow */
|
39
|
-
.hljs-title,
|
40
|
-
.hljs-section,
|
41
|
-
.hljs-attribute {
|
42
|
-
color: #f06431;
|
43
|
-
}
|
44
|
-
|
45
|
-
/* Kimbie Green */
|
46
|
-
.hljs-string,
|
47
|
-
.hljs-symbol,
|
48
|
-
.hljs-bullet,
|
49
|
-
.hljs-addition {
|
50
|
-
color: #889b4a;
|
51
|
-
}
|
52
|
-
|
53
|
-
/* Kimbie Purple */
|
54
|
-
.hljs-keyword,
|
55
|
-
.hljs-selector-tag,
|
56
|
-
.hljs-function {
|
57
|
-
color: #98676a;
|
58
|
-
}
|
59
|
-
|
60
|
-
.hljs {
|
61
|
-
display: block;
|
62
|
-
overflow-x: auto;
|
63
|
-
background: #221a0f;
|
64
|
-
color: #d3af86;
|
65
|
-
padding: 0.5em;
|
66
|
-
}
|
67
|
-
|
68
|
-
.hljs-emphasis {
|
69
|
-
font-style: italic;
|
70
|
-
}
|
71
|
-
|
72
|
-
.hljs-strong {
|
73
|
-
font-weight: bold;
|
74
|
-
}
|
@@ -1,74 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Name: Kimbie (light)
|
3
|
-
Author: Jan T. Sott
|
4
|
-
License: Creative Commons Attribution-ShareAlike 4.0 Unported License
|
5
|
-
URL: https://github.com/idleberg/Kimbie-highlight.js
|
6
|
-
*/
|
7
|
-
|
8
|
-
/* Kimbie Comment */
|
9
|
-
.hljs-comment,
|
10
|
-
.hljs-quote {
|
11
|
-
color: #a57a4c;
|
12
|
-
}
|
13
|
-
|
14
|
-
/* Kimbie Red */
|
15
|
-
.hljs-variable,
|
16
|
-
.hljs-template-variable,
|
17
|
-
.hljs-tag,
|
18
|
-
.hljs-name,
|
19
|
-
.hljs-selector-id,
|
20
|
-
.hljs-selector-class,
|
21
|
-
.hljs-regexp,
|
22
|
-
.hljs-meta {
|
23
|
-
color: #dc3958;
|
24
|
-
}
|
25
|
-
|
26
|
-
/* Kimbie Orange */
|
27
|
-
.hljs-number,
|
28
|
-
.hljs-built_in,
|
29
|
-
.hljs-builtin-name,
|
30
|
-
.hljs-literal,
|
31
|
-
.hljs-type,
|
32
|
-
.hljs-params,
|
33
|
-
.hljs-deletion,
|
34
|
-
.hljs-link {
|
35
|
-
color: #f79a32;
|
36
|
-
}
|
37
|
-
|
38
|
-
/* Kimbie Yellow */
|
39
|
-
.hljs-title,
|
40
|
-
.hljs-section,
|
41
|
-
.hljs-attribute {
|
42
|
-
color: #f06431;
|
43
|
-
}
|
44
|
-
|
45
|
-
/* Kimbie Green */
|
46
|
-
.hljs-string,
|
47
|
-
.hljs-symbol,
|
48
|
-
.hljs-bullet,
|
49
|
-
.hljs-addition {
|
50
|
-
color: #889b4a;
|
51
|
-
}
|
52
|
-
|
53
|
-
/* Kimbie Purple */
|
54
|
-
.hljs-keyword,
|
55
|
-
.hljs-selector-tag,
|
56
|
-
.hljs-function {
|
57
|
-
color: #98676a;
|
58
|
-
}
|
59
|
-
|
60
|
-
.hljs {
|
61
|
-
display: block;
|
62
|
-
overflow-x: auto;
|
63
|
-
background: #fbebd4;
|
64
|
-
color: #84613d;
|
65
|
-
padding: 0.5em;
|
66
|
-
}
|
67
|
-
|
68
|
-
.hljs-emphasis {
|
69
|
-
font-style: italic;
|
70
|
-
}
|
71
|
-
|
72
|
-
.hljs-strong {
|
73
|
-
font-weight: bold;
|
74
|
-
}
|
@@ -1,74 +0,0 @@
|
|
1
|
-
/* Ocean Dark Theme */
|
2
|
-
/* https://github.com/gavsiu */
|
3
|
-
/* Original theme - https://github.com/chriskempson/base16 */
|
4
|
-
|
5
|
-
/* Ocean Comment */
|
6
|
-
.hljs-comment,
|
7
|
-
.hljs-quote {
|
8
|
-
color: #65737e;
|
9
|
-
}
|
10
|
-
|
11
|
-
/* Ocean Red */
|
12
|
-
.hljs-variable,
|
13
|
-
.hljs-template-variable,
|
14
|
-
.hljs-tag,
|
15
|
-
.hljs-name,
|
16
|
-
.hljs-selector-id,
|
17
|
-
.hljs-selector-class,
|
18
|
-
.hljs-regexp,
|
19
|
-
.hljs-deletion {
|
20
|
-
color: #bf616a;
|
21
|
-
}
|
22
|
-
|
23
|
-
/* Ocean Orange */
|
24
|
-
.hljs-number,
|
25
|
-
.hljs-built_in,
|
26
|
-
.hljs-builtin-name,
|
27
|
-
.hljs-literal,
|
28
|
-
.hljs-type,
|
29
|
-
.hljs-params,
|
30
|
-
.hljs-meta,
|
31
|
-
.hljs-link {
|
32
|
-
color: #d08770;
|
33
|
-
}
|
34
|
-
|
35
|
-
/* Ocean Yellow */
|
36
|
-
.hljs-attribute {
|
37
|
-
color: #ebcb8b;
|
38
|
-
}
|
39
|
-
|
40
|
-
/* Ocean Green */
|
41
|
-
.hljs-string,
|
42
|
-
.hljs-symbol,
|
43
|
-
.hljs-bullet,
|
44
|
-
.hljs-addition {
|
45
|
-
color: #a3be8c;
|
46
|
-
}
|
47
|
-
|
48
|
-
/* Ocean Blue */
|
49
|
-
.hljs-title,
|
50
|
-
.hljs-section {
|
51
|
-
color: #8fa1b3;
|
52
|
-
}
|
53
|
-
|
54
|
-
/* Ocean Purple */
|
55
|
-
.hljs-keyword,
|
56
|
-
.hljs-selector-tag {
|
57
|
-
color: #b48ead;
|
58
|
-
}
|
59
|
-
|
60
|
-
.hljs {
|
61
|
-
display: block;
|
62
|
-
overflow-x: auto;
|
63
|
-
background: #2b303b;
|
64
|
-
color: #c0c5ce;
|
65
|
-
padding: 0.5em;
|
66
|
-
}
|
67
|
-
|
68
|
-
.hljs-emphasis {
|
69
|
-
font-style: italic;
|
70
|
-
}
|
71
|
-
|
72
|
-
.hljs-strong {
|
73
|
-
font-weight: bold;
|
74
|
-
}
|
@@ -1,72 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Paraíso (dark)
|
3
|
-
Created by Jan T. Sott (http://github.com/idleberg)
|
4
|
-
Inspired by the art of Rubens LP (http://www.rubenslp.com.br)
|
5
|
-
*/
|
6
|
-
|
7
|
-
/* Paraíso Comment */
|
8
|
-
.hljs-comment,
|
9
|
-
.hljs-quote {
|
10
|
-
color: #8d8687;
|
11
|
-
}
|
12
|
-
|
13
|
-
/* Paraíso Red */
|
14
|
-
.hljs-variable,
|
15
|
-
.hljs-template-variable,
|
16
|
-
.hljs-tag,
|
17
|
-
.hljs-name,
|
18
|
-
.hljs-selector-id,
|
19
|
-
.hljs-selector-class,
|
20
|
-
.hljs-regexp,
|
21
|
-
.hljs-link,
|
22
|
-
.hljs-meta {
|
23
|
-
color: #ef6155;
|
24
|
-
}
|
25
|
-
|
26
|
-
/* Paraíso Orange */
|
27
|
-
.hljs-number,
|
28
|
-
.hljs-built_in,
|
29
|
-
.hljs-builtin-name,
|
30
|
-
.hljs-literal,
|
31
|
-
.hljs-type,
|
32
|
-
.hljs-params,
|
33
|
-
.hljs-deletion {
|
34
|
-
color: #f99b15;
|
35
|
-
}
|
36
|
-
|
37
|
-
/* Paraíso Yellow */
|
38
|
-
.hljs-title,
|
39
|
-
.hljs-section,
|
40
|
-
.hljs-attribute {
|
41
|
-
color: #fec418;
|
42
|
-
}
|
43
|
-
|
44
|
-
/* Paraíso Green */
|
45
|
-
.hljs-string,
|
46
|
-
.hljs-symbol,
|
47
|
-
.hljs-bullet,
|
48
|
-
.hljs-addition {
|
49
|
-
color: #48b685;
|
50
|
-
}
|
51
|
-
|
52
|
-
/* Paraíso Purple */
|
53
|
-
.hljs-keyword,
|
54
|
-
.hljs-selector-tag {
|
55
|
-
color: #815ba4;
|
56
|
-
}
|
57
|
-
|
58
|
-
.hljs {
|
59
|
-
display: block;
|
60
|
-
overflow-x: auto;
|
61
|
-
background: #2f1e2e;
|
62
|
-
color: #a39e9b;
|
63
|
-
padding: 0.5em;
|
64
|
-
}
|
65
|
-
|
66
|
-
.hljs-emphasis {
|
67
|
-
font-style: italic;
|
68
|
-
}
|
69
|
-
|
70
|
-
.hljs-strong {
|
71
|
-
font-weight: bold;
|
72
|
-
}
|
@@ -1,72 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Paraíso (light)
|
3
|
-
Created by Jan T. Sott (http://github.com/idleberg)
|
4
|
-
Inspired by the art of Rubens LP (http://www.rubenslp.com.br)
|
5
|
-
*/
|
6
|
-
|
7
|
-
/* Paraíso Comment */
|
8
|
-
.hljs-comment,
|
9
|
-
.hljs-quote {
|
10
|
-
color: #776e71;
|
11
|
-
}
|
12
|
-
|
13
|
-
/* Paraíso Red */
|
14
|
-
.hljs-variable,
|
15
|
-
.hljs-template-variable,
|
16
|
-
.hljs-tag,
|
17
|
-
.hljs-name,
|
18
|
-
.hljs-selector-id,
|
19
|
-
.hljs-selector-class,
|
20
|
-
.hljs-regexp,
|
21
|
-
.hljs-link,
|
22
|
-
.hljs-meta {
|
23
|
-
color: #ef6155;
|
24
|
-
}
|
25
|
-
|
26
|
-
/* Paraíso Orange */
|
27
|
-
.hljs-number,
|
28
|
-
.hljs-built_in,
|
29
|
-
.hljs-builtin-name,
|
30
|
-
.hljs-literal,
|
31
|
-
.hljs-type,
|
32
|
-
.hljs-params,
|
33
|
-
.hljs-deletion {
|
34
|
-
color: #f99b15;
|
35
|
-
}
|
36
|
-
|
37
|
-
/* Paraíso Yellow */
|
38
|
-
.hljs-title,
|
39
|
-
.hljs-section,
|
40
|
-
.hljs-attribute {
|
41
|
-
color: #fec418;
|
42
|
-
}
|
43
|
-
|
44
|
-
/* Paraíso Green */
|
45
|
-
.hljs-string,
|
46
|
-
.hljs-symbol,
|
47
|
-
.hljs-bullet,
|
48
|
-
.hljs-addition {
|
49
|
-
color: #48b685;
|
50
|
-
}
|
51
|
-
|
52
|
-
/* Paraíso Purple */
|
53
|
-
.hljs-keyword,
|
54
|
-
.hljs-selector-tag {
|
55
|
-
color: #815ba4;
|
56
|
-
}
|
57
|
-
|
58
|
-
.hljs {
|
59
|
-
display: block;
|
60
|
-
overflow-x: auto;
|
61
|
-
background: #e7e9db;
|
62
|
-
color: #4f424c;
|
63
|
-
padding: 0.5em;
|
64
|
-
}
|
65
|
-
|
66
|
-
.hljs-emphasis {
|
67
|
-
font-style: italic;
|
68
|
-
}
|
69
|
-
|
70
|
-
.hljs-strong {
|
71
|
-
font-weight: bold;
|
72
|
-
}
|