Skip to content

Commit 193ea9f

Browse files
committed
Adds API docs for v5.10.0
1 parent ace5414 commit 193ea9f

File tree

9 files changed

+5444
-2
lines changed

9 files changed

+5444
-2
lines changed

docs/v5.10.0/api/bundle.js

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/v5.10.0/api/css/base.css

Lines changed: 3627 additions & 0 deletions
Large diffs are not rendered by default.

docs/v5.10.0/api/css/icon.eot

28.5 KB
Binary file not shown.

docs/v5.10.0/api/css/icon.woff

28.5 KB
Binary file not shown.

docs/v5.10.0/api/css/railscasts.css

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
.hljs {
2+
display: block;
3+
overflow-x: auto;
4+
padding: 0.5em;
5+
background: #232323;
6+
color: #e6e1dc;
7+
}
8+
9+
.hljs-comment,
10+
.hljs-quote {
11+
color: #bc9458;
12+
font-style: italic;
13+
}
14+
15+
.hljs-keyword,
16+
.hljs-selector-tag {
17+
color: #c26230;
18+
}
19+
20+
.hljs-string,
21+
.hljs-number,
22+
.hljs-regexp,
23+
.hljs-variable,
24+
.hljs-template-variable {
25+
color: #a5c261;
26+
}
27+
28+
.hljs-subst {
29+
color: #519f50;
30+
}
31+
32+
.hljs-tag,
33+
.hljs-name {
34+
color: #e8bf6a;
35+
}
36+
37+
.hljs-type {
38+
color: #da4939;
39+
}
40+
41+
42+
.hljs-symbol,
43+
.hljs-bullet,
44+
.hljs-built_in,
45+
.hljs-builtin-name,
46+
.hljs-attr,
47+
.hljs-link {
48+
color: #6d9cbe;
49+
}
50+
51+
.hljs-params {
52+
color: #d0d0ff;
53+
}
54+
55+
.hljs-attribute {
56+
color: #cda869;
57+
}
58+
59+
.hljs-meta {
60+
color: #9b859d;
61+
}
62+
63+
.hljs-title,
64+
.hljs-section {
65+
color: #ffc66d;
66+
}
67+
68+
.hljs-addition {
69+
background-color: #144212;
70+
color: #e6e1dc;
71+
display: inline-block;
72+
width: 100%;
73+
}
74+
75+
.hljs-deletion {
76+
background-color: #600;
77+
color: #e6e1dc;
78+
display: inline-block;
79+
width: 100%;
80+
}
81+
82+
.hljs-selector-class {
83+
color: #9b703f;
84+
}
85+
86+
.hljs-selector-id {
87+
color: #8b98ab;
88+
}
89+
90+
.hljs-emphasis {
91+
font-style: italic;
92+
}
93+
94+
.hljs-strong {
95+
font-weight: bold;
96+
}
97+
98+
.hljs-link {
99+
text-decoration: underline;
100+
}

docs/v5.10.0/api/css/style.css

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
/* BASE OVERRIDES */
2+
3+
/* Add buffer for nicer anchor links */
4+
.prose h2:first-child {
5+
padding-top: 20px;
6+
}
7+
8+
.prose h3:first-child {
9+
padding-top: 20px;
10+
}
11+
12+
/* Header gets big */
13+
@media only screen and (max-width:960px) {
14+
.prose h2:first-child {
15+
padding-top: 60px;
16+
}
17+
18+
.prose h3:first-child {
19+
padding-top: 60px;
20+
}
21+
}
22+
23+
/* Header gets bigger */
24+
@media only screen and (max-width:640px) {
25+
.prose h2:first-child {
26+
padding-top: 100px;
27+
}
28+
29+
.prose h3:first-child {
30+
padding-top: 100px;
31+
}
32+
}
33+
34+
35+
/* tables are too giant */
36+
.prose table,
37+
.prose table code {
38+
margin-bottom: 20px;
39+
font-size: 12px;
40+
line-height: 1.5;
41+
}
42+
43+
.prose table th, .prose table td {
44+
padding: 5px;
45+
}
46+
47+
.dark.keyline-top,
48+
.dark.keyline-bottom {
49+
border-color: #313131;
50+
}
51+
52+
html, body, #app, .container {
53+
height: 100%;
54+
}
55+
56+
body pre {
57+
padding: 0;
58+
}
59+
60+
/* BASE ADDONS */
61+
.fill-dark2 { background-color: #313131; }
62+
.fill-dark2 .rounded-toggle input[type=radio]:checked + label,
63+
.fill-dark2 .rounded-toggle .active { background-color: #313131; }
64+
.space-top3 { margin-top: 30px;}
65+
.space-top5 { margin-top: 50px;}
66+
.line-height15 { line-height: 15px; }
67+
.pad00y { padding-top: 2px; padding-bottom: 2px; }
68+
.space-bottom00 { margin-bottom: 3px;}
69+
70+
.endpoint {
71+
width: 100%;
72+
display: flex;
73+
}
74+
75+
.endpoint-method {
76+
}
77+
78+
.endpoint-url {
79+
flex-grow: 1;
80+
word-wrap: break-word;
81+
}
82+
83+
.endpoint-url a {
84+
background-color: rgba(255, 255, 255, 0.1);
85+
border-radius: 2px;
86+
font-weight:bold;
87+
padding: 2px;
88+
color: #fff;
89+
}
90+
91+
.endpoint-url a:hover {
92+
background-color: rgba(255, 255, 255, 0.15);
93+
}
94+
95+
.endpoint-token {
96+
}
97+
98+
a.hljs-linked {
99+
border-radius: 2px;
100+
color: #a5c261;
101+
background: #383C2F;
102+
padding: 2px;
103+
}
104+
105+
body .prose blockquote {
106+
padding: 5px 10px;
107+
background: #232323;
108+
}
109+
110+
.preview {
111+
background-image: -webkit-linear-gradient(#F1F075, #F1F075);
112+
background-size: 10px 10px;
113+
background-repeat: repeat-y;
114+
}
115+
116+
.preview h2::after,
117+
.preview h3::after {
118+
content: 'PREVIEW';
119+
background-color: #F1F075;
120+
border-radius: 2px;
121+
font-size: 9px;
122+
font-weight: normal;
123+
padding: 2px 5px;
124+
color: rgba(0, 0, 0, 0.5);
125+
margin-left: 10px;
126+
vertical-align: middle;
127+
}
694 KB
Loading

0 commit comments

Comments
 (0)