cabbage_doc 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cabbage_doc.rb +2 -0
  3. data/lib/cabbage_doc/action.rb +14 -3
  4. data/lib/cabbage_doc/authentication.rb +8 -2
  5. data/lib/cabbage_doc/configuration.rb +10 -1
  6. data/lib/cabbage_doc/controller.rb +41 -9
  7. data/lib/cabbage_doc/version.rb +1 -1
  8. data/lib/cabbage_doc/web_helper.rb +8 -0
  9. data/web/public/css/application.css +16 -1
  10. data/web/views/action.haml +1 -0
  11. data/web/views/controller.haml +4 -1
  12. data/web/views/documentation.haml +2 -1
  13. metadata +2 -41
  14. data/web/public/css/highlight/atelier-cave-dark.css +0 -83
  15. data/web/public/css/highlight/atelier-cave-light.css +0 -85
  16. data/web/public/css/highlight/atelier-dune-dark.css +0 -69
  17. data/web/public/css/highlight/atelier-dune-light.css +0 -69
  18. data/web/public/css/highlight/atelier-estuary-dark.css +0 -84
  19. data/web/public/css/highlight/atelier-estuary-light.css +0 -84
  20. data/web/public/css/highlight/atelier-forest-dark.css +0 -69
  21. data/web/public/css/highlight/atelier-forest-light.css +0 -69
  22. data/web/public/css/highlight/atelier-heath-dark.css +0 -69
  23. data/web/public/css/highlight/atelier-heath-light.css +0 -69
  24. data/web/public/css/highlight/atelier-lakeside-dark.css +0 -69
  25. data/web/public/css/highlight/atelier-lakeside-light.css +0 -69
  26. data/web/public/css/highlight/atelier-plateau-dark.css +0 -84
  27. data/web/public/css/highlight/atelier-plateau-light.css +0 -84
  28. data/web/public/css/highlight/atelier-savanna-dark.css +0 -84
  29. data/web/public/css/highlight/atelier-savanna-light.css +0 -84
  30. data/web/public/css/highlight/atelier-seaside-dark.css +0 -69
  31. data/web/public/css/highlight/atelier-seaside-light.css +0 -69
  32. data/web/public/css/highlight/atelier-sulphurpool-dark.css +0 -69
  33. data/web/public/css/highlight/atelier-sulphurpool-light.css +0 -69
  34. data/web/public/css/highlight/brown-paper.css +0 -64
  35. data/web/public/css/highlight/color-brewer.css +0 -71
  36. data/web/public/css/highlight/dark.css +0 -63
  37. data/web/public/css/highlight/far.css +0 -71
  38. data/web/public/css/highlight/gruvbox-dark.css +0 -108
  39. data/web/public/css/highlight/gruvbox-light.css +0 -108
  40. data/web/public/css/highlight/hopscotch.css +0 -83
  41. data/web/public/css/highlight/kimbie.dark.css +0 -74
  42. data/web/public/css/highlight/kimbie.light.css +0 -74
  43. data/web/public/css/highlight/ocean.css +0 -74
  44. data/web/public/css/highlight/paraiso-dark.css +0 -72
  45. data/web/public/css/highlight/paraiso-light.css +0 -72
  46. data/web/public/css/highlight/pojoaque.css +0 -83
  47. data/web/public/css/highlight/tomorrow-night-blue.css +0 -75
  48. data/web/public/css/highlight/tomorrow-night-bright.css +0 -74
  49. data/web/public/css/highlight/tomorrow-night-eighties.css +0 -74
  50. data/web/public/css/highlight/tomorrow-night.css +0 -75
  51. data/web/public/css/highlight/tomorrow.css +0 -72
  52. data/web/public/css/highlight/xt256.css +0 -92
@@ -1,69 +0,0 @@
1
- /* Base16 Atelier Forest Light - Theme */
2
- /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest) */
3
- /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
4
-
5
- /* Atelier-Forest Comment */
6
- .hljs-comment,
7
- .hljs-quote {
8
- color: #766e6b;
9
- }
10
-
11
- /* Atelier-Forest Red */
12
- .hljs-variable,
13
- .hljs-template-variable,
14
- .hljs-attribute,
15
- .hljs-tag,
16
- .hljs-name,
17
- .hljs-regexp,
18
- .hljs-link,
19
- .hljs-name,
20
- .hljs-selector-id,
21
- .hljs-selector-class {
22
- color: #f22c40;
23
- }
24
-
25
- /* Atelier-Forest Orange */
26
- .hljs-number,
27
- .hljs-meta,
28
- .hljs-built_in,
29
- .hljs-builtin-name,
30
- .hljs-literal,
31
- .hljs-type,
32
- .hljs-params {
33
- color: #df5320;
34
- }
35
-
36
- /* Atelier-Forest Green */
37
- .hljs-string,
38
- .hljs-symbol,
39
- .hljs-bullet {
40
- color: #7b9726;
41
- }
42
-
43
- /* Atelier-Forest Blue */
44
- .hljs-title,
45
- .hljs-section {
46
- color: #407ee7;
47
- }
48
-
49
- /* Atelier-Forest Purple */
50
- .hljs-keyword,
51
- .hljs-selector-tag {
52
- color: #6666ea;
53
- }
54
-
55
- .hljs {
56
- display: block;
57
- overflow-x: auto;
58
- background: #f1efee;
59
- color: #68615e;
60
- padding: 0.5em;
61
- }
62
-
63
- .hljs-emphasis {
64
- font-style: italic;
65
- }
66
-
67
- .hljs-strong {
68
- font-weight: bold;
69
- }
@@ -1,69 +0,0 @@
1
- /* Base16 Atelier Heath Dark - Theme */
2
- /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath) */
3
- /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
4
-
5
- /* Atelier-Heath Comment */
6
- .hljs-comment,
7
- .hljs-quote {
8
- color: #9e8f9e;
9
- }
10
-
11
- /* Atelier-Heath Red */
12
- .hljs-variable,
13
- .hljs-template-variable,
14
- .hljs-attribute,
15
- .hljs-tag,
16
- .hljs-name,
17
- .hljs-regexp,
18
- .hljs-link,
19
- .hljs-name,
20
- .hljs-selector-id,
21
- .hljs-selector-class {
22
- color: #ca402b;
23
- }
24
-
25
- /* Atelier-Heath Orange */
26
- .hljs-number,
27
- .hljs-meta,
28
- .hljs-built_in,
29
- .hljs-builtin-name,
30
- .hljs-literal,
31
- .hljs-type,
32
- .hljs-params {
33
- color: #a65926;
34
- }
35
-
36
- /* Atelier-Heath Green */
37
- .hljs-string,
38
- .hljs-symbol,
39
- .hljs-bullet {
40
- color: #918b3b;
41
- }
42
-
43
- /* Atelier-Heath Blue */
44
- .hljs-title,
45
- .hljs-section {
46
- color: #516aec;
47
- }
48
-
49
- /* Atelier-Heath Purple */
50
- .hljs-keyword,
51
- .hljs-selector-tag {
52
- color: #7b59c0;
53
- }
54
-
55
- .hljs {
56
- display: block;
57
- overflow-x: auto;
58
- background: #1b181b;
59
- color: #ab9bab;
60
- padding: 0.5em;
61
- }
62
-
63
- .hljs-emphasis {
64
- font-style: italic;
65
- }
66
-
67
- .hljs-strong {
68
- font-weight: bold;
69
- }
@@ -1,69 +0,0 @@
1
- /* Base16 Atelier Heath Light - Theme */
2
- /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath) */
3
- /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
4
-
5
- /* Atelier-Heath Comment */
6
- .hljs-comment,
7
- .hljs-quote {
8
- color: #776977;
9
- }
10
-
11
- /* Atelier-Heath Red */
12
- .hljs-variable,
13
- .hljs-template-variable,
14
- .hljs-attribute,
15
- .hljs-tag,
16
- .hljs-name,
17
- .hljs-regexp,
18
- .hljs-link,
19
- .hljs-name,
20
- .hljs-selector-id,
21
- .hljs-selector-class {
22
- color: #ca402b;
23
- }
24
-
25
- /* Atelier-Heath Orange */
26
- .hljs-number,
27
- .hljs-meta,
28
- .hljs-built_in,
29
- .hljs-builtin-name,
30
- .hljs-literal,
31
- .hljs-type,
32
- .hljs-params {
33
- color: #a65926;
34
- }
35
-
36
- /* Atelier-Heath Green */
37
- .hljs-string,
38
- .hljs-symbol,
39
- .hljs-bullet {
40
- color: #918b3b;
41
- }
42
-
43
- /* Atelier-Heath Blue */
44
- .hljs-title,
45
- .hljs-section {
46
- color: #516aec;
47
- }
48
-
49
- /* Atelier-Heath Purple */
50
- .hljs-keyword,
51
- .hljs-selector-tag {
52
- color: #7b59c0;
53
- }
54
-
55
- .hljs {
56
- display: block;
57
- overflow-x: auto;
58
- background: #f7f3f7;
59
- color: #695d69;
60
- padding: 0.5em;
61
- }
62
-
63
- .hljs-emphasis {
64
- font-style: italic;
65
- }
66
-
67
- .hljs-strong {
68
- font-weight: bold;
69
- }
@@ -1,69 +0,0 @@
1
- /* Base16 Atelier Lakeside Dark - Theme */
2
- /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside) */
3
- /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
4
-
5
- /* Atelier-Lakeside Comment */
6
- .hljs-comment,
7
- .hljs-quote {
8
- color: #7195a8;
9
- }
10
-
11
- /* Atelier-Lakeside Red */
12
- .hljs-variable,
13
- .hljs-template-variable,
14
- .hljs-attribute,
15
- .hljs-tag,
16
- .hljs-name,
17
- .hljs-regexp,
18
- .hljs-link,
19
- .hljs-name,
20
- .hljs-selector-id,
21
- .hljs-selector-class {
22
- color: #d22d72;
23
- }
24
-
25
- /* Atelier-Lakeside Orange */
26
- .hljs-number,
27
- .hljs-meta,
28
- .hljs-built_in,
29
- .hljs-builtin-name,
30
- .hljs-literal,
31
- .hljs-type,
32
- .hljs-params {
33
- color: #935c25;
34
- }
35
-
36
- /* Atelier-Lakeside Green */
37
- .hljs-string,
38
- .hljs-symbol,
39
- .hljs-bullet {
40
- color: #568c3b;
41
- }
42
-
43
- /* Atelier-Lakeside Blue */
44
- .hljs-title,
45
- .hljs-section {
46
- color: #257fad;
47
- }
48
-
49
- /* Atelier-Lakeside Purple */
50
- .hljs-keyword,
51
- .hljs-selector-tag {
52
- color: #6b6bb8;
53
- }
54
-
55
- .hljs {
56
- display: block;
57
- overflow-x: auto;
58
- background: #161b1d;
59
- color: #7ea2b4;
60
- padding: 0.5em;
61
- }
62
-
63
- .hljs-emphasis {
64
- font-style: italic;
65
- }
66
-
67
- .hljs-strong {
68
- font-weight: bold;
69
- }
@@ -1,69 +0,0 @@
1
- /* Base16 Atelier Lakeside Light - Theme */
2
- /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside) */
3
- /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
4
-
5
- /* Atelier-Lakeside Comment */
6
- .hljs-comment,
7
- .hljs-quote {
8
- color: #5a7b8c;
9
- }
10
-
11
- /* Atelier-Lakeside Red */
12
- .hljs-variable,
13
- .hljs-template-variable,
14
- .hljs-attribute,
15
- .hljs-tag,
16
- .hljs-name,
17
- .hljs-regexp,
18
- .hljs-link,
19
- .hljs-name,
20
- .hljs-selector-id,
21
- .hljs-selector-class {
22
- color: #d22d72;
23
- }
24
-
25
- /* Atelier-Lakeside Orange */
26
- .hljs-number,
27
- .hljs-meta,
28
- .hljs-built_in,
29
- .hljs-builtin-name,
30
- .hljs-literal,
31
- .hljs-type,
32
- .hljs-params {
33
- color: #935c25;
34
- }
35
-
36
- /* Atelier-Lakeside Green */
37
- .hljs-string,
38
- .hljs-symbol,
39
- .hljs-bullet {
40
- color: #568c3b;
41
- }
42
-
43
- /* Atelier-Lakeside Blue */
44
- .hljs-title,
45
- .hljs-section {
46
- color: #257fad;
47
- }
48
-
49
- /* Atelier-Lakeside Purple */
50
- .hljs-keyword,
51
- .hljs-selector-tag {
52
- color: #6b6bb8;
53
- }
54
-
55
- .hljs {
56
- display: block;
57
- overflow-x: auto;
58
- background: #ebf8ff;
59
- color: #516d7b;
60
- padding: 0.5em;
61
- }
62
-
63
- .hljs-emphasis {
64
- font-style: italic;
65
- }
66
-
67
- .hljs-strong {
68
- font-weight: bold;
69
- }
@@ -1,84 +0,0 @@
1
- /* Base16 Atelier Plateau Dark - Theme */
2
- /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/plateau) */
3
- /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
4
-
5
- /* Atelier-Plateau Comment */
6
- .hljs-comment,
7
- .hljs-quote {
8
- color: #7e7777;
9
- }
10
-
11
- /* Atelier-Plateau Red */
12
- .hljs-variable,
13
- .hljs-template-variable,
14
- .hljs-attribute,
15
- .hljs-tag,
16
- .hljs-name,
17
- .hljs-regexp,
18
- .hljs-link,
19
- .hljs-name,
20
- .hljs-selector-id,
21
- .hljs-selector-class {
22
- color: #ca4949;
23
- }
24
-
25
- /* Atelier-Plateau Orange */
26
- .hljs-number,
27
- .hljs-meta,
28
- .hljs-built_in,
29
- .hljs-builtin-name,
30
- .hljs-literal,
31
- .hljs-type,
32
- .hljs-params {
33
- color: #b45a3c;
34
- }
35
-
36
- /* Atelier-Plateau Green */
37
- .hljs-string,
38
- .hljs-symbol,
39
- .hljs-bullet {
40
- color: #4b8b8b;
41
- }
42
-
43
- /* Atelier-Plateau Blue */
44
- .hljs-title,
45
- .hljs-section {
46
- color: #7272ca;
47
- }
48
-
49
- /* Atelier-Plateau Purple */
50
- .hljs-keyword,
51
- .hljs-selector-tag {
52
- color: #8464c4;
53
- }
54
-
55
- .hljs-deletion,
56
- .hljs-addition {
57
- color: #1b1818;
58
- display: inline-block;
59
- width: 100%;
60
- }
61
-
62
- .hljs-deletion {
63
- background-color: #ca4949;
64
- }
65
-
66
- .hljs-addition {
67
- background-color: #4b8b8b;
68
- }
69
-
70
- .hljs {
71
- display: block;
72
- overflow-x: auto;
73
- background: #1b1818;
74
- color: #8a8585;
75
- padding: 0.5em;
76
- }
77
-
78
- .hljs-emphasis {
79
- font-style: italic;
80
- }
81
-
82
- .hljs-strong {
83
- font-weight: bold;
84
- }
@@ -1,84 +0,0 @@
1
- /* Base16 Atelier Plateau Light - Theme */
2
- /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/plateau) */
3
- /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
4
-
5
- /* Atelier-Plateau Comment */
6
- .hljs-comment,
7
- .hljs-quote {
8
- color: #655d5d;
9
- }
10
-
11
- /* Atelier-Plateau Red */
12
- .hljs-variable,
13
- .hljs-template-variable,
14
- .hljs-attribute,
15
- .hljs-tag,
16
- .hljs-name,
17
- .hljs-regexp,
18
- .hljs-link,
19
- .hljs-name,
20
- .hljs-selector-id,
21
- .hljs-selector-class {
22
- color: #ca4949;
23
- }
24
-
25
- /* Atelier-Plateau Orange */
26
- .hljs-number,
27
- .hljs-meta,
28
- .hljs-built_in,
29
- .hljs-builtin-name,
30
- .hljs-literal,
31
- .hljs-type,
32
- .hljs-params {
33
- color: #b45a3c;
34
- }
35
-
36
- /* Atelier-Plateau Green */
37
- .hljs-string,
38
- .hljs-symbol,
39
- .hljs-bullet {
40
- color: #4b8b8b;
41
- }
42
-
43
- /* Atelier-Plateau Blue */
44
- .hljs-title,
45
- .hljs-section {
46
- color: #7272ca;
47
- }
48
-
49
- /* Atelier-Plateau Purple */
50
- .hljs-keyword,
51
- .hljs-selector-tag {
52
- color: #8464c4;
53
- }
54
-
55
- .hljs-deletion,
56
- .hljs-addition {
57
- color: #1b1818;
58
- display: inline-block;
59
- width: 100%;
60
- }
61
-
62
- .hljs-deletion {
63
- background-color: #ca4949;
64
- }
65
-
66
- .hljs-addition {
67
- background-color: #4b8b8b;
68
- }
69
-
70
- .hljs {
71
- display: block;
72
- overflow-x: auto;
73
- background: #f4ecec;
74
- color: #585050;
75
- padding: 0.5em;
76
- }
77
-
78
- .hljs-emphasis {
79
- font-style: italic;
80
- }
81
-
82
- .hljs-strong {
83
- font-weight: bold;
84
- }