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
|
-
|
3
|
-
Pojoaque Style by Jason Tate
|
4
|
-
http://web-cms-designs.com/ftopict-10-pojoaque-style-for-highlight-js-code-highlighter.html
|
5
|
-
Based on Solarized Style from http://ethanschoonover.com/solarized
|
6
|
-
|
7
|
-
*/
|
8
|
-
|
9
|
-
.hljs {
|
10
|
-
display: block;
|
11
|
-
overflow-x: auto;
|
12
|
-
padding: 0.5em;
|
13
|
-
color: #dccf8f;
|
14
|
-
background: url(./pojoaque.jpg) repeat scroll left top #181914;
|
15
|
-
}
|
16
|
-
|
17
|
-
.hljs-comment,
|
18
|
-
.hljs-quote {
|
19
|
-
color: #586e75;
|
20
|
-
font-style: italic;
|
21
|
-
}
|
22
|
-
|
23
|
-
.hljs-keyword,
|
24
|
-
.hljs-selector-tag,
|
25
|
-
.hljs-literal,
|
26
|
-
.hljs-addition {
|
27
|
-
color: #b64926;
|
28
|
-
}
|
29
|
-
|
30
|
-
.hljs-number,
|
31
|
-
.hljs-string,
|
32
|
-
.hljs-doctag,
|
33
|
-
.hljs-regexp {
|
34
|
-
color: #468966;
|
35
|
-
}
|
36
|
-
|
37
|
-
.hljs-title,
|
38
|
-
.hljs-section,
|
39
|
-
.hljs-built_in,
|
40
|
-
.hljs-name {
|
41
|
-
color: #ffb03b;
|
42
|
-
}
|
43
|
-
|
44
|
-
.hljs-variable,
|
45
|
-
.hljs-template-variable,
|
46
|
-
.hljs-class .hljs-title,
|
47
|
-
.hljs-type,
|
48
|
-
.hljs-tag {
|
49
|
-
color: #b58900;
|
50
|
-
}
|
51
|
-
|
52
|
-
.hljs-attribute {
|
53
|
-
color: #b89859;
|
54
|
-
}
|
55
|
-
|
56
|
-
.hljs-symbol,
|
57
|
-
.hljs-bullet,
|
58
|
-
.hljs-link,
|
59
|
-
.hljs-subst,
|
60
|
-
.hljs-meta {
|
61
|
-
color: #cb4b16;
|
62
|
-
}
|
63
|
-
|
64
|
-
.hljs-deletion {
|
65
|
-
color: #dc322f;
|
66
|
-
}
|
67
|
-
|
68
|
-
.hljs-selector-id,
|
69
|
-
.hljs-selector-class {
|
70
|
-
color: #d3a60c;
|
71
|
-
}
|
72
|
-
|
73
|
-
.hljs-formula {
|
74
|
-
background: #073642;
|
75
|
-
}
|
76
|
-
|
77
|
-
.hljs-emphasis {
|
78
|
-
font-style: italic;
|
79
|
-
}
|
80
|
-
|
81
|
-
.hljs-strong {
|
82
|
-
font-weight: bold;
|
83
|
-
}
|
@@ -1,75 +0,0 @@
|
|
1
|
-
/* Tomorrow Night Blue Theme */
|
2
|
-
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
3
|
-
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
|
4
|
-
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
5
|
-
|
6
|
-
/* Tomorrow Comment */
|
7
|
-
.hljs-comment,
|
8
|
-
.hljs-quote {
|
9
|
-
color: #7285b7;
|
10
|
-
}
|
11
|
-
|
12
|
-
/* Tomorrow Red */
|
13
|
-
.hljs-variable,
|
14
|
-
.hljs-template-variable,
|
15
|
-
.hljs-tag,
|
16
|
-
.hljs-name,
|
17
|
-
.hljs-selector-id,
|
18
|
-
.hljs-selector-class,
|
19
|
-
.hljs-regexp,
|
20
|
-
.hljs-deletion {
|
21
|
-
color: #ff9da4;
|
22
|
-
}
|
23
|
-
|
24
|
-
/* Tomorrow Orange */
|
25
|
-
.hljs-number,
|
26
|
-
.hljs-built_in,
|
27
|
-
.hljs-builtin-name,
|
28
|
-
.hljs-literal,
|
29
|
-
.hljs-type,
|
30
|
-
.hljs-params,
|
31
|
-
.hljs-meta,
|
32
|
-
.hljs-link {
|
33
|
-
color: #ffc58f;
|
34
|
-
}
|
35
|
-
|
36
|
-
/* Tomorrow Yellow */
|
37
|
-
.hljs-attribute {
|
38
|
-
color: #ffeead;
|
39
|
-
}
|
40
|
-
|
41
|
-
/* Tomorrow Green */
|
42
|
-
.hljs-string,
|
43
|
-
.hljs-symbol,
|
44
|
-
.hljs-bullet,
|
45
|
-
.hljs-addition {
|
46
|
-
color: #d1f1a9;
|
47
|
-
}
|
48
|
-
|
49
|
-
/* Tomorrow Blue */
|
50
|
-
.hljs-title,
|
51
|
-
.hljs-section {
|
52
|
-
color: #bbdaff;
|
53
|
-
}
|
54
|
-
|
55
|
-
/* Tomorrow Purple */
|
56
|
-
.hljs-keyword,
|
57
|
-
.hljs-selector-tag {
|
58
|
-
color: #ebbbff;
|
59
|
-
}
|
60
|
-
|
61
|
-
.hljs {
|
62
|
-
display: block;
|
63
|
-
overflow-x: auto;
|
64
|
-
background: #002451;
|
65
|
-
color: white;
|
66
|
-
padding: 0.5em;
|
67
|
-
}
|
68
|
-
|
69
|
-
.hljs-emphasis {
|
70
|
-
font-style: italic;
|
71
|
-
}
|
72
|
-
|
73
|
-
.hljs-strong {
|
74
|
-
font-weight: bold;
|
75
|
-
}
|
@@ -1,74 +0,0 @@
|
|
1
|
-
/* Tomorrow Night Bright Theme */
|
2
|
-
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
|
3
|
-
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
4
|
-
|
5
|
-
/* Tomorrow Comment */
|
6
|
-
.hljs-comment,
|
7
|
-
.hljs-quote {
|
8
|
-
color: #969896;
|
9
|
-
}
|
10
|
-
|
11
|
-
/* Tomorrow 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: #d54e53;
|
21
|
-
}
|
22
|
-
|
23
|
-
/* Tomorrow 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: #e78c45;
|
33
|
-
}
|
34
|
-
|
35
|
-
/* Tomorrow Yellow */
|
36
|
-
.hljs-attribute {
|
37
|
-
color: #e7c547;
|
38
|
-
}
|
39
|
-
|
40
|
-
/* Tomorrow Green */
|
41
|
-
.hljs-string,
|
42
|
-
.hljs-symbol,
|
43
|
-
.hljs-bullet,
|
44
|
-
.hljs-addition {
|
45
|
-
color: #b9ca4a;
|
46
|
-
}
|
47
|
-
|
48
|
-
/* Tomorrow Blue */
|
49
|
-
.hljs-title,
|
50
|
-
.hljs-section {
|
51
|
-
color: #7aa6da;
|
52
|
-
}
|
53
|
-
|
54
|
-
/* Tomorrow Purple */
|
55
|
-
.hljs-keyword,
|
56
|
-
.hljs-selector-tag {
|
57
|
-
color: #c397d8;
|
58
|
-
}
|
59
|
-
|
60
|
-
.hljs {
|
61
|
-
display: block;
|
62
|
-
overflow-x: auto;
|
63
|
-
background: black;
|
64
|
-
color: #eaeaea;
|
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
|
-
/* Tomorrow Night Eighties Theme */
|
2
|
-
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
|
3
|
-
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
4
|
-
|
5
|
-
/* Tomorrow Comment */
|
6
|
-
.hljs-comment,
|
7
|
-
.hljs-quote {
|
8
|
-
color: #999999;
|
9
|
-
}
|
10
|
-
|
11
|
-
/* Tomorrow 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: #f2777a;
|
21
|
-
}
|
22
|
-
|
23
|
-
/* Tomorrow 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: #f99157;
|
33
|
-
}
|
34
|
-
|
35
|
-
/* Tomorrow Yellow */
|
36
|
-
.hljs-attribute {
|
37
|
-
color: #ffcc66;
|
38
|
-
}
|
39
|
-
|
40
|
-
/* Tomorrow Green */
|
41
|
-
.hljs-string,
|
42
|
-
.hljs-symbol,
|
43
|
-
.hljs-bullet,
|
44
|
-
.hljs-addition {
|
45
|
-
color: #99cc99;
|
46
|
-
}
|
47
|
-
|
48
|
-
/* Tomorrow Blue */
|
49
|
-
.hljs-title,
|
50
|
-
.hljs-section {
|
51
|
-
color: #6699cc;
|
52
|
-
}
|
53
|
-
|
54
|
-
/* Tomorrow Purple */
|
55
|
-
.hljs-keyword,
|
56
|
-
.hljs-selector-tag {
|
57
|
-
color: #cc99cc;
|
58
|
-
}
|
59
|
-
|
60
|
-
.hljs {
|
61
|
-
display: block;
|
62
|
-
overflow-x: auto;
|
63
|
-
background: #2d2d2d;
|
64
|
-
color: #cccccc;
|
65
|
-
padding: 0.5em;
|
66
|
-
}
|
67
|
-
|
68
|
-
.hljs-emphasis {
|
69
|
-
font-style: italic;
|
70
|
-
}
|
71
|
-
|
72
|
-
.hljs-strong {
|
73
|
-
font-weight: bold;
|
74
|
-
}
|
@@ -1,75 +0,0 @@
|
|
1
|
-
/* Tomorrow Night Theme */
|
2
|
-
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
3
|
-
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
|
4
|
-
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
5
|
-
|
6
|
-
/* Tomorrow Comment */
|
7
|
-
.hljs-comment,
|
8
|
-
.hljs-quote {
|
9
|
-
color: #969896;
|
10
|
-
}
|
11
|
-
|
12
|
-
/* Tomorrow Red */
|
13
|
-
.hljs-variable,
|
14
|
-
.hljs-template-variable,
|
15
|
-
.hljs-tag,
|
16
|
-
.hljs-name,
|
17
|
-
.hljs-selector-id,
|
18
|
-
.hljs-selector-class,
|
19
|
-
.hljs-regexp,
|
20
|
-
.hljs-deletion {
|
21
|
-
color: #cc6666;
|
22
|
-
}
|
23
|
-
|
24
|
-
/* Tomorrow Orange */
|
25
|
-
.hljs-number,
|
26
|
-
.hljs-built_in,
|
27
|
-
.hljs-builtin-name,
|
28
|
-
.hljs-literal,
|
29
|
-
.hljs-type,
|
30
|
-
.hljs-params,
|
31
|
-
.hljs-meta,
|
32
|
-
.hljs-link {
|
33
|
-
color: #de935f;
|
34
|
-
}
|
35
|
-
|
36
|
-
/* Tomorrow Yellow */
|
37
|
-
.hljs-attribute {
|
38
|
-
color: #f0c674;
|
39
|
-
}
|
40
|
-
|
41
|
-
/* Tomorrow Green */
|
42
|
-
.hljs-string,
|
43
|
-
.hljs-symbol,
|
44
|
-
.hljs-bullet,
|
45
|
-
.hljs-addition {
|
46
|
-
color: #b5bd68;
|
47
|
-
}
|
48
|
-
|
49
|
-
/* Tomorrow Blue */
|
50
|
-
.hljs-title,
|
51
|
-
.hljs-section {
|
52
|
-
color: #81a2be;
|
53
|
-
}
|
54
|
-
|
55
|
-
/* Tomorrow Purple */
|
56
|
-
.hljs-keyword,
|
57
|
-
.hljs-selector-tag {
|
58
|
-
color: #b294bb;
|
59
|
-
}
|
60
|
-
|
61
|
-
.hljs {
|
62
|
-
display: block;
|
63
|
-
overflow-x: auto;
|
64
|
-
background: #1d1f21;
|
65
|
-
color: #c5c8c6;
|
66
|
-
padding: 0.5em;
|
67
|
-
}
|
68
|
-
|
69
|
-
.hljs-emphasis {
|
70
|
-
font-style: italic;
|
71
|
-
}
|
72
|
-
|
73
|
-
.hljs-strong {
|
74
|
-
font-weight: bold;
|
75
|
-
}
|
@@ -1,72 +0,0 @@
|
|
1
|
-
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
2
|
-
|
3
|
-
/* Tomorrow Comment */
|
4
|
-
.hljs-comment,
|
5
|
-
.hljs-quote {
|
6
|
-
color: #8e908c;
|
7
|
-
}
|
8
|
-
|
9
|
-
/* Tomorrow Red */
|
10
|
-
.hljs-variable,
|
11
|
-
.hljs-template-variable,
|
12
|
-
.hljs-tag,
|
13
|
-
.hljs-name,
|
14
|
-
.hljs-selector-id,
|
15
|
-
.hljs-selector-class,
|
16
|
-
.hljs-regexp,
|
17
|
-
.hljs-deletion {
|
18
|
-
color: #c82829;
|
19
|
-
}
|
20
|
-
|
21
|
-
/* Tomorrow Orange */
|
22
|
-
.hljs-number,
|
23
|
-
.hljs-built_in,
|
24
|
-
.hljs-builtin-name,
|
25
|
-
.hljs-literal,
|
26
|
-
.hljs-type,
|
27
|
-
.hljs-params,
|
28
|
-
.hljs-meta,
|
29
|
-
.hljs-link {
|
30
|
-
color: #f5871f;
|
31
|
-
}
|
32
|
-
|
33
|
-
/* Tomorrow Yellow */
|
34
|
-
.hljs-attribute {
|
35
|
-
color: #eab700;
|
36
|
-
}
|
37
|
-
|
38
|
-
/* Tomorrow Green */
|
39
|
-
.hljs-string,
|
40
|
-
.hljs-symbol,
|
41
|
-
.hljs-bullet,
|
42
|
-
.hljs-addition {
|
43
|
-
color: #718c00;
|
44
|
-
}
|
45
|
-
|
46
|
-
/* Tomorrow Blue */
|
47
|
-
.hljs-title,
|
48
|
-
.hljs-section {
|
49
|
-
color: #4271ae;
|
50
|
-
}
|
51
|
-
|
52
|
-
/* Tomorrow Purple */
|
53
|
-
.hljs-keyword,
|
54
|
-
.hljs-selector-tag {
|
55
|
-
color: #8959a8;
|
56
|
-
}
|
57
|
-
|
58
|
-
.hljs {
|
59
|
-
display: block;
|
60
|
-
overflow-x: auto;
|
61
|
-
background: white;
|
62
|
-
color: #4d4d4c;
|
63
|
-
padding: 0.5em;
|
64
|
-
}
|
65
|
-
|
66
|
-
.hljs-emphasis {
|
67
|
-
font-style: italic;
|
68
|
-
}
|
69
|
-
|
70
|
-
.hljs-strong {
|
71
|
-
font-weight: bold;
|
72
|
-
}
|