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,84 +0,0 @@
1
- /* Base16 Atelier Savanna Dark - Theme */
2
- /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/savanna) */
3
- /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
4
-
5
- /* Atelier-Savanna Comment */
6
- .hljs-comment,
7
- .hljs-quote {
8
- color: #78877d;
9
- }
10
-
11
- /* Atelier-Savanna 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: #b16139;
23
- }
24
-
25
- /* Atelier-Savanna 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: #9f713c;
34
- }
35
-
36
- /* Atelier-Savanna Green */
37
- .hljs-string,
38
- .hljs-symbol,
39
- .hljs-bullet {
40
- color: #489963;
41
- }
42
-
43
- /* Atelier-Savanna Blue */
44
- .hljs-title,
45
- .hljs-section {
46
- color: #478c90;
47
- }
48
-
49
- /* Atelier-Savanna Purple */
50
- .hljs-keyword,
51
- .hljs-selector-tag {
52
- color: #55859b;
53
- }
54
-
55
- .hljs-deletion,
56
- .hljs-addition {
57
- color: #171c19;
58
- display: inline-block;
59
- width: 100%;
60
- }
61
-
62
- .hljs-deletion {
63
- background-color: #b16139;
64
- }
65
-
66
- .hljs-addition {
67
- background-color: #489963;
68
- }
69
-
70
- .hljs {
71
- display: block;
72
- overflow-x: auto;
73
- background: #171c19;
74
- color: #87928a;
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 Savanna Light - Theme */
2
- /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/savanna) */
3
- /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
4
-
5
- /* Atelier-Savanna Comment */
6
- .hljs-comment,
7
- .hljs-quote {
8
- color: #5f6d64;
9
- }
10
-
11
- /* Atelier-Savanna 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: #b16139;
23
- }
24
-
25
- /* Atelier-Savanna 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: #9f713c;
34
- }
35
-
36
- /* Atelier-Savanna Green */
37
- .hljs-string,
38
- .hljs-symbol,
39
- .hljs-bullet {
40
- color: #489963;
41
- }
42
-
43
- /* Atelier-Savanna Blue */
44
- .hljs-title,
45
- .hljs-section {
46
- color: #478c90;
47
- }
48
-
49
- /* Atelier-Savanna Purple */
50
- .hljs-keyword,
51
- .hljs-selector-tag {
52
- color: #55859b;
53
- }
54
-
55
- .hljs-deletion,
56
- .hljs-addition {
57
- color: #171c19;
58
- display: inline-block;
59
- width: 100%;
60
- }
61
-
62
- .hljs-deletion {
63
- background-color: #b16139;
64
- }
65
-
66
- .hljs-addition {
67
- background-color: #489963;
68
- }
69
-
70
- .hljs {
71
- display: block;
72
- overflow-x: auto;
73
- background: #ecf4ee;
74
- color: #526057;
75
- padding: 0.5em;
76
- }
77
-
78
- .hljs-emphasis {
79
- font-style: italic;
80
- }
81
-
82
- .hljs-strong {
83
- font-weight: bold;
84
- }
@@ -1,69 +0,0 @@
1
- /* Base16 Atelier Seaside Dark - Theme */
2
- /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside) */
3
- /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
4
-
5
- /* Atelier-Seaside Comment */
6
- .hljs-comment,
7
- .hljs-quote {
8
- color: #809980;
9
- }
10
-
11
- /* Atelier-Seaside 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: #e6193c;
23
- }
24
-
25
- /* Atelier-Seaside 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: #87711d;
34
- }
35
-
36
- /* Atelier-Seaside Green */
37
- .hljs-string,
38
- .hljs-symbol,
39
- .hljs-bullet {
40
- color: #29a329;
41
- }
42
-
43
- /* Atelier-Seaside Blue */
44
- .hljs-title,
45
- .hljs-section {
46
- color: #3d62f5;
47
- }
48
-
49
- /* Atelier-Seaside Purple */
50
- .hljs-keyword,
51
- .hljs-selector-tag {
52
- color: #ad2bee;
53
- }
54
-
55
- .hljs {
56
- display: block;
57
- overflow-x: auto;
58
- background: #131513;
59
- color: #8ca68c;
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 Seaside Light - Theme */
2
- /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside) */
3
- /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
4
-
5
- /* Atelier-Seaside Comment */
6
- .hljs-comment,
7
- .hljs-quote {
8
- color: #687d68;
9
- }
10
-
11
- /* Atelier-Seaside 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: #e6193c;
23
- }
24
-
25
- /* Atelier-Seaside 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: #87711d;
34
- }
35
-
36
- /* Atelier-Seaside Green */
37
- .hljs-string,
38
- .hljs-symbol,
39
- .hljs-bullet {
40
- color: #29a329;
41
- }
42
-
43
- /* Atelier-Seaside Blue */
44
- .hljs-title,
45
- .hljs-section {
46
- color: #3d62f5;
47
- }
48
-
49
- /* Atelier-Seaside Purple */
50
- .hljs-keyword,
51
- .hljs-selector-tag {
52
- color: #ad2bee;
53
- }
54
-
55
- .hljs {
56
- display: block;
57
- overflow-x: auto;
58
- background: #f4fbf4;
59
- color: #5e6e5e;
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 Sulphurpool Dark - Theme */
2
- /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/sulphurpool) */
3
- /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
4
-
5
- /* Atelier-Sulphurpool Comment */
6
- .hljs-comment,
7
- .hljs-quote {
8
- color: #898ea4;
9
- }
10
-
11
- /* Atelier-Sulphurpool 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: #c94922;
23
- }
24
-
25
- /* Atelier-Sulphurpool 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: #c76b29;
34
- }
35
-
36
- /* Atelier-Sulphurpool Green */
37
- .hljs-string,
38
- .hljs-symbol,
39
- .hljs-bullet {
40
- color: #ac9739;
41
- }
42
-
43
- /* Atelier-Sulphurpool Blue */
44
- .hljs-title,
45
- .hljs-section {
46
- color: #3d8fd1;
47
- }
48
-
49
- /* Atelier-Sulphurpool Purple */
50
- .hljs-keyword,
51
- .hljs-selector-tag {
52
- color: #6679cc;
53
- }
54
-
55
- .hljs {
56
- display: block;
57
- overflow-x: auto;
58
- background: #202746;
59
- color: #979db4;
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 Sulphurpool Light - Theme */
2
- /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/sulphurpool) */
3
- /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
4
-
5
- /* Atelier-Sulphurpool Comment */
6
- .hljs-comment,
7
- .hljs-quote {
8
- color: #6b7394;
9
- }
10
-
11
- /* Atelier-Sulphurpool 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: #c94922;
23
- }
24
-
25
- /* Atelier-Sulphurpool 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: #c76b29;
34
- }
35
-
36
- /* Atelier-Sulphurpool Green */
37
- .hljs-string,
38
- .hljs-symbol,
39
- .hljs-bullet {
40
- color: #ac9739;
41
- }
42
-
43
- /* Atelier-Sulphurpool Blue */
44
- .hljs-title,
45
- .hljs-section {
46
- color: #3d8fd1;
47
- }
48
-
49
- /* Atelier-Sulphurpool Purple */
50
- .hljs-keyword,
51
- .hljs-selector-tag {
52
- color: #6679cc;
53
- }
54
-
55
- .hljs {
56
- display: block;
57
- overflow-x: auto;
58
- background: #f5f7ff;
59
- color: #5e6687;
60
- padding: 0.5em;
61
- }
62
-
63
- .hljs-emphasis {
64
- font-style: italic;
65
- }
66
-
67
- .hljs-strong {
68
- font-weight: bold;
69
- }