Skip to content

Commit 6deb6ac

Browse files
committed
Initial docsets commit
1 parent 560a969 commit 6deb6ac

File tree

407 files changed

+56597
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

407 files changed

+56597
-0
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "cocoadocs.org"]
2+
path = cocoadocs.org
3+
url = https://github.com/cocoapods/cocoadocs.org

build_docs.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
mkdir -p docsets
2+
pushd cocoadocs.org
3+
# ./cocoadocs.rb preview ParseUI
4+
# cp -R activity/docsets/ParseUI ../docsets/
5+
6+
./cocoadocs.rb preview Parse
7+
cp -R activity/docsets/Parse ../docsets/
8+
9+
./cocoadocs.rb preview ParseFacebookUtils
10+
cp -R activity/docsets/ParseFacebookUtils ../docsets/
11+
12+
./cocoadocs.rb preview ParseFacebookUtilsV4
13+
cp -R activity/docsets/ParseFacebookUtilsV4 ../docsets/
14+
15+
./cocoadocs.rb preview ParseLiveQuery
16+
cp -R activity/docsets/ParseLiveQuery ../docsets/

cocoadocs.org

Submodule cocoadocs.org added at 52c6a8e

cocoadocs.org.patch

Lines changed: 325 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,325 @@
1+
diff --git a/classes/appledoc_template_generator.rb b/classes/appledoc_template_generator.rb
2+
index 9f25f7e..8791c7b 100644
3+
--- a/classes/appledoc_template_generator.rb
4+
+++ b/classes/appledoc_template_generator.rb
5+
@@ -1,3 +1,11 @@
6+
+module HashInit
7+
+ def initialize(*h)
8+
+ if h.length == 1 && h.first.is_a?(Hash)
9+
+ h.first.each { |k, v| send("#{k}=", v) }
10+
+ end
11+
+ end
12+
+end
13+
+
14+
class AppledocTemplateGenerator
15+
include HashInit
16+
attr_accessor :spec, :versions, :appledoc_templates_path, :source_download_location, :rendering, :library_settings
17+
diff --git a/views/_vars.scss b/views/_vars.scss
18+
index 7702c59..3407826 100644
19+
--- a/views/_vars.scss
20+
+++ b/views/_vars.scss
21+
@@ -1,10 +1,10 @@
22+
-$highlight-font: "GT Walsheim", "gt_walsheim_regular", "Avant Garde Gothic ITCW01Dm", "Avant Garde", "Helvetica Neue", "Arial";
23+
-$body: "Helvetica Neue", "Arial", san-serif;
24+
-$code: "Monaco", "Menlo", "Consolas", "Courier New", monospace;
25+
-$highlight-color: #ED0015;
26+
-$highlight-dark-color: #A90010;
27+
-$darker-color: #C6B7B2;
28+
+$highlight-font: "webfont_alright", "GT Walsheim", "gt_walsheim_regular", "Avant Garde Gothic ITCW01Dm", "Avant Garde", "Helvetica Neue", "Arial";
29+
+$body: "webfont_alright", "Helvetica Neue", "Arial", san-serif;
30+
+$code: "webfont_input", "Monaco", "Menlo", "Consolas", "Courier New", monospace;
31+
+$highlight-color: #169CEE;
32+
+$highlight-dark-color: #66637A;
33+
+$darker-color: #66637A;
34+
$darker-dark-color: #A8A8A8;
35+
$background-color: #F2F2F2;
36+
-$alt-link-color: #B7233F;
37+
+$alt-link-color: #169CEE;
38+
$warning-color: #B80E3D;
39+
diff --git a/views/appledoc_gfm.scss b/views/appledoc_gfm.scss
40+
index 053d3a2..d5c47ea 100644
41+
--- a/views/appledoc_gfm.scss
42+
+++ b/views/appledoc_gfm.scss
43+
@@ -1,5 +1,169 @@
44+
@import "vars";
45+
46+
+@font-face {
47+
+ font-family: 'alrightRegular';
48+
+ src: url('http://docs.parseplatform.org/assets/fonts/ttfah-alrightsublpwebfontuseonly-regular-webfont.eot');
49+
+ src: url('http://docs.parseplatform.org/assets/fonts/ttfah-alrightsublpwebfontuseonly-regular-webfont.eot?#iefix') format('embedded-opentype'),
50+
+ url('http://docs.parseplatform.org/assets/fonts/ttfah-alrightsublpwebfontuseonly-regular-webfont.woff') format('woff'),
51+
+ url('http://docs.parseplatform.org/assets/fonts/ttfah-alrightsublpwebfontuseonly-regular-webfont.ttf') format('truetype'),
52+
+ url('http://docs.parseplatform.org/assets/fonts/ttfah-alrightsublpwebfontuseonly-regular-webfont.svg#alrightsublpwebfontuseonly-Rg') format('svg');
53+
+ font-weight: 300;
54+
+ font-style: normal;
55+
+}
56+
+
57+
+@font-face {
58+
+ font-family: 'din';
59+
+ src: url('http://docs.parseplatform.org/assets/fonts/DIN17SBOP-Regular.eot');
60+
+ src: url('http://docs.parseplatform.org/assets/fonts/DIN17SBOP-Regular.eot?#iefix') format('embedded-opentype'),
61+
+ url('http://docs.parseplatform.org/assets/fonts/DIN17SBOP-Regular.woff') format('woff'),
62+
+ url('http://docs.parseplatform.org/assets/fonts/DIN17SBOP-Regular.ttf') format('truetype');
63+
+ font-weight: normal;
64+
+ font-style: normal;
65+
+}
66+
+
67+
+@font-face {
68+
+ font-family: 'alrightBold';
69+
+ src: url('http://docs.parseplatform.org/assets/fonts/ttfah-alrightsublpwebfontuseonly-bold-webfont.eot');
70+
+ src: url('http://docs.parseplatform.org/assets/fonts/ttfah-alrightsublpwebfontuseonly-bold-webfont.eot?#iefix') format('embedded-opentype'),
71+
+ url('http://docs.parseplatform.org/assets/fonts/ttfah-alrightsublpwebfontuseonly-bold-webfont.woff') format('woff'),
72+
+ url('http://docs.parseplatform.org/assets/fonts/ttfah-alrightsublpwebfontuseonly-bold-webfont.ttf') format('truetype'),
73+
+ url('http://docs.parseplatform.org/assets/fonts/ttfah-alrightsublpwebfontuseonly-bold-webfont.svg#alrightsublpwebfontuseonly-Bd') format('svg');
74+
+ font-weight: 700;
75+
+ font-style: normal;
76+
+}
77+
+
78+
+@font-face { font-family: 'webfont_din-regular'; src: url("http://docs.parseplatform.org/assets/fonts/din17sbop-regular-webfont.woff") format("woff"); font-weight: normal; font-style: normal; }
79+
+@font-face { font-family: 'webfont_input'; src: url("http://docs.parseplatform.org/assets/fonts/d94de4bd-16a6-4c19-81bd-ed8f4e1624c6-3.woff") format("woff"); font-weight: normal; font-style: normal; }
80+
+@font-face { font-family: 'webfont_alright'; src: url("http://docs.parseplatform.org/assets/fonts/ttfah-AlrightSubLPWebfontUseOnly-Light.woff") format("woff"); font-weight: 300; font-style: normal; }
81+
+@font-face { font-family: 'webfont_alright'; src: url("http://docs.parseplatform.org/assets/fonts/ttfah-AlrightSubLPWebfontUseOnly-Regular.woff") format("woff"); font-weight: 400; font-style: normal; }
82+
+@font-face { font-family: 'webfont_alright'; src: url("http://docs.parseplatform.org/assets/fonts/ttfah-AlrightSubLPWebfontUseOnly-Medium.woff") format("woff"); font-weight: 500; font-style: normal; }
83+
+@font-face { font-family: 'webfont_alright'; src: url("http://docs.parseplatform.org/assets/fonts/ttfah-AlrightSubLPWebfontUseOnly-Bold.woff") format("woff"); font-weight: 700; font-style: normal; }
84+
+@font-face { font-family: 'webfont_alright'; src: url("http://docs.parseplatform.org/assets/fonts/ttfah-AlrightSubLPWebfontUseOnly-Bold.woff") format("woff"); font-weight: 800; font-style: normal; }
85+
+
86+
+$header-logo-padding-mobile: 10px;
87+
+$header-logo-width-mobile: 75px;
88+
+$header-logo-height-mobile: 25px;
89+
+
90+
+$header-logo-padding-desktop: 0;
91+
+$header-logo-width-desktop: 170px;
92+
+$header-logo-height-desktop: 49px;
93+
+
94+
+$header-logo-type-width-desktop: 102px;
95+
+$header-logo-type-height-desktop: 34px;
96+
+
97+
+$header-logo-glyph-width: 49px;
98+
+$header-logo-glyph-height: $header-logo-glyph-width; // its a square
99+
+
100+
+// blues
101+
+$color-parse-blue: #169CEE !default;
102+
+$color-denim: #117DBF !default;
103+
+$color-picton-blue: #5DB6F0 !default;
104+
+//$color-curious-blue: #1595E6 !default;
105+
+$color-selago: #f8fcfe !default;
106+
+
107+
+$color-core-blue: #1494E3 !default;
108+
+$color-push-blue: #148DD9 !default;
109+
+$color-analytics-blue: #117EC2 !default;
110+
+// purples
111+
+$color-martinique: #3B2C48 !default;
112+
+$color-comet: #555572 !default;
113+
+$color-dolphin: #66637A !default;
114+
+// grays
115+
+$color-gun-powder: #434359 !default;
116+
+$color-regent-gray: #7C8C9C !default;
117+
+$color-bright-gray: #434359 !default;
118+
+$color-shuttle-gray: #5A6b77 !default;
119+
+$color-ebony: #070D12 !default;
120+
+$color-ebony-lighter: #0E1B24 !default;
121+
+$color-vista-white: #FDFAFB !default;
122+
+$color-off-white: #FDFAFB !default;
123+
+$color-charade: #2C2C3B !default;
124+
+$color-mischka: #E0E0EA !default;
125+
+$color-thunder: #110D11 !default;
126+
+$color-pale-sky: #6D7A82 !default;
127+
+// greens
128+
+$color-carib-green: #00DB7C !default;
129+
+$color-foam: #F2FEF9 !default;
130+
+// reds
131+
+$color-rad-red: #FF395E !default;
132+
+
133+
+// blog colors
134+
+// $color-shuttle-gray: #5A6B77;
135+
+// $color-parse-blue: #5298FC;
136+
+$color-river-bed: #485864;
137+
+$color-gallery-gray: #EDEDED;
138+
+$color-heather-gray: #BFCCD5;
139+
+$color-tundora-gray: #414141;
140+
+$color-mine-shaft-gray: #212121;
141+
+$color-cerulean-blue: #336BBB;
142+
+$color-heliotrope-purple: #a952fc;
143+
+$color-aquamarine-blue: #65D7DF;
144+
+$color-pastel-green: #65DF7E;
145+
+$color-carnation-red: #FC5252;
146+
+$color-st-tropaz-blue: #295BA2;
147+
+
148+
+a#logo{
149+
+ // display:block;
150+
+ // position:absolute;
151+
+ // left: 50%; top:50%;
152+
+ // padding: $header-logo-padding-mobile;
153+
+ // transform: translate(-50%, -50%);
154+
+ // margin:0;
155+
+
156+
+ svg{
157+
+ display: block;
158+
+ height: 40px;
159+
+ width: 90px;
160+
+
161+
+ fill: $color-parse-blue;
162+
+ .line{
163+
+ fill:none;
164+
+ stroke-width:10;
165+
+ stroke-miterlimit:10;
166+
+ &.one{
167+
+ stroke: $color-rad-red;
168+
+ stroke-dasharray: 89px;
169+
+ stroke-dashoffset: 89px;
170+
+ }
171+
+ &.two{
172+
+ stroke: $color-carib-green;
173+
+ stroke-dasharray: 89px;
174+
+ stroke-dashoffset: 89px;
175+
+ }
176+
+ &.three{
177+
+ stroke: $color-parse-blue;
178+
+ stroke-dasharray: 200px, 89px;
179+
+ stroke-dashoffset: 200px;
180+
+ }
181+
+ }
182+
+ }
183+
+&:hover{
184+
+ svg{
185+
+ .line{
186+
+
187+
+ transition: all cubic-bezier(0.645, 0.045, 0.355, 1);
188+
+ &.one{
189+
+ transition-delay: 0s;
190+
+ transition-duration: 2s;
191+
+ stroke-dashoffset: 269px;
192+
+ }
193+
+ &.two{
194+
+ transition-delay: .1s;
195+
+ transition-duration: 2.1s;
196+
+ stroke-dashoffset: 269px;
197+
+ }
198+
+ &.three{
199+
+ transition-delay: .25s;
200+
+ transition-duration: 2.5s;
201+
+ stroke-dashoffset: 490px;
202+
+ }
203+
+ }
204+
+ }
205+
+}
206+
+}
207+
+
208+
+.hidden { display:none !important; }
209+
+
210+
#GFM {
211+
h1, h2, h3, h4, h5, h6 {
212+
font-family: $highlight-font;
213+
diff --git a/views/appledoc_stylesheet.scss b/views/appledoc_stylesheet.scss
214+
index 62da60a..db82b35 100644
215+
--- a/views/appledoc_stylesheet.scss
216+
+++ b/views/appledoc_stylesheet.scss
217+
@@ -560,7 +560,7 @@ header#app_header {
218+
margin-bottom:0;
219+
220+
em {
221+
- color:$background-color;
222+
+ color:$darker-color;
223+
font-weight:normal;
224+
font-style:normal;
225+
margin-left:12px;
226+
diff --git a/views/appledoc_template/_head.html b/views/appledoc_template/_head.html
227+
index 38ca521..577a575 100644
228+
--- a/views/appledoc_template/_head.html
229+
+++ b/views/appledoc_template/_head.html
230+
@@ -13,8 +13,8 @@
231+
232+
<head>
233+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
234+
- <title>CocoaDocs.org - {{ page.title }}</title>
235+
- <meta name="author" content="orta; http://orta.github.com/" />
236+
+ <title>docs.parseplatform.org - {{ page.title }}</title>
237+
+ <meta name="author" content="Parse Community; https://github.com/parse-community" />
238+
<meta name="description" content="Documentation for {{ page.title }}" />
239+
240+
<link rel="stylesheet" type="text/css" href="appledoc_stylesheet.css" media="all" />
241+
diff --git a/views/appledoc_template/_header.html b/views/appledoc_template/_header.html
242+
index 016dcdb..b44ac58 100644
243+
--- a/views/appledoc_template/_header.html
244+
+++ b/views/appledoc_template/_header.html
245+
@@ -2,12 +2,47 @@
246+
<div>
247+
<h1><a href="../index.html"><%= spec.name %><em><%= @spec.version %></em><a></h1>
248+
249+
- <a href="/" id="logo">
250+
- <% if @rendering_context == "index" %>
251+
- <%= render_erb( Dir.pwd + '/views/appledoc_template/svg/cocoadocs-logo-big.svg') %>
252+
- <% else %>
253+
- <%= render_erb( Dir.pwd + '/views/appledoc_template/svg/cocoadocs-logo-small.svg') %>
254+
- <% end %>
255+
+ <a href="/" id="logo">
256+
+ <span class="hidden">Parse</span>
257+
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
258+
+ viewBox="0 0 152 60" style="enable-background:new 0 0 152 60;" xml:space="preserve">
259+
+ <g>
260+
+ <path class="line one" d="M23.072,39.678c-0.011,3.348-2.395,4.615-4.909,4.615c-2.851,0-4.541-1.701-4.541-4.357
261+
+ c0-2.964,2.031-4.667,5.35-4.725h13.611c6.428,0.079,10.137-5.391,10.137-9.953c0-4.598-3.485-9.598-9.622-9.842
262+
+ c-6.083-0.242-9.99,5.281-9.99,11.167v3.863"/>
263+
+ <path class="line two" d="M23.072,39.678c-0.011,3.348-2.395,4.615-4.909,4.615c-2.851,0-4.541-1.701-4.541-4.357
264+
+ c0-2.964,2.031-4.667,5.35-4.725h13.611c6.428,0.079,10.137-5.391,10.137-9.953c0-4.598-3.485-9.598-9.622-9.842
265+
+ c-6.083-0.242-9.99,5.281-9.99,11.167v3.863"/>
266+
+ <path class="line three" d="M23.072,39.678c-0.011,3.348-2.395,4.615-4.909,4.615c-2.851,0-4.541-1.701-4.541-4.357
267+
+ c0-2.964,2.031-4.667,5.35-4.725h13.611c6.428,0.079,10.137-5.391,10.137-9.953c0-4.598-3.485-9.598-9.622-9.842
268+
+ c-6.083-0.242-9.99,5.281-9.99,11.167v3.863"/>
269+
+ <path class="st1" d="M151.88,31.106c0-4.561-2.575-7.835-7.173-7.872c-5.665-0.037-9.197,4.12-9.197,10.484v0.11
270+
+ c0,6.033,3.863,9.601,9.601,9.601c1.839,0,4.083-0.405,5.739-1.177v-3.568c-1.839,0.956-3.752,1.398-5.408,1.398
271+
+ c-3.568,0-6.07-1.803-6.18-5.959h12.36C151.807,33.056,151.88,32.026,151.88,31.106z M148.312,31.07h-8.829
272+
+ c0.625-3.053,2.354-4.745,4.966-4.745c2.575,0,3.863,1.729,3.863,4.561V31.07z"/>
273+
+ <path class="st1" d="M125.725,34.712l0.405,0.147c2.869,1.03,3.531,1.655,3.531,2.906c0,1.471-0.993,2.428-3.458,2.428
274+
+ c-1.986,0-4.12-0.662-6.364-1.692v3.752c1.803,0.699,4.12,1.177,6.364,1.177c4.819,0,7.21-2.428,7.21-5.812
275+
+ c0-2.943-1.471-4.525-5.408-5.959l-0.405-0.147c-3.127-1.14-3.752-1.655-3.752-2.869c0-1.361,0.956-2.281,3.237-2.281
276+
+ c1.839,0,3.642,0.589,5.408,1.435v-3.531c-1.582-0.625-3.348-1.03-5.26-1.03c-4.598,0-7.1,2.575-7.1,5.886
277+
+ C120.134,31.695,121.679,33.24,125.725,34.712"/>
278+
+ <path class="st1" d="M110.863,29.892c1.288-2.023,3.09-3.016,5.26-3.016c0.773,0,1.508,0.11,2.17,0.331v-3.384
279+
+ c-0.625-0.258-1.361-0.405-2.134-0.405c-2.281,0-4.01,1.03-5.518,3.09l-0.258-2.869h-3.164v19.386h3.642V29.892z"/>
280+
+ <path class="st1" d="M96.481,23.197c-2.281,0-4.672,0.699-6.474,1.692v3.605c2.023-1.251,4.378-2.023,6.254-2.023
281+
+ c2.612,0,3.679,1.14,3.679,3.274v1.619c-5.334,0.147-8.461,1.03-10.116,2.685c-1.177,1.14-1.692,2.685-1.692,4.267
282+
+ c0,3.274,2.354,5.15,5.702,5.15c2.244,0,4.378-0.92,6.327-2.796l0.221,2.354h3.164V30.003
283+
+ C103.544,25.405,101.263,23.197,96.481,23.197z M99.938,37.728c-1.471,1.619-3.2,2.722-5.297,2.722
284+
+ c-1.729,0-2.833-0.883-2.833-2.428c0-2.281,1.876-3.642,8.13-3.826V37.728z"/>
285+
+ <path class="st1" d="M77.609,17.643h-8.571v25.383h3.826v-8.314h4.745c5.923,0,9.491-3.164,9.491-8.498V26.14
286+
+ C87.1,20.806,83.532,17.643,77.609,17.643z M83.311,26.214c0,3.421-1.986,5.04-5.444,5.04h-5.003V21.101h5.04
287+
+ c3.421,0,5.408,1.619,5.408,5.04V26.214z"/>
288+
+ <path class="st1" d="M27.838,2.192C12.204,2.192-0.12,14.589-0.12,30.15c0,15.597,12.323,27.958,27.958,27.958
289+
+ c15.634,0,27.958-12.36,27.958-27.958C55.795,14.589,43.472,2.192,27.838,2.192z M32.473,36.955H18.752
290+
+ c-1.986,0-3.164,1.214-3.164,3.017c0,1.582,1.067,2.722,2.612,2.722c1.766,0,2.796-1.214,2.906-3.016h4.01
291+
+ c-0.184,4.341-2.906,6.658-6.953,6.658c-3.789,0-6.585-2.575-6.585-6.401c0-3.973,2.98-6.769,7.394-6.769h13.611
292+
+ c4.598,0,8.093-3.348,8.093-7.909c0-4.598-3.127-7.799-7.578-7.799c-4.414,0-7.946,3.237-7.946,9.123v3.863h-4.046v-3.863
293+
+ c0-7.872,5.076-12.986,12.066-12.986c6.695,0,11.551,4.782,11.551,11.588C44.723,32.026,39.499,36.955,32.473,36.955z"/>
294+
+ </g>
295+
+ </svg>
296+
</a>
297+
298+
<div id="header_actions" width="65" height="65" alt="Header Action Button">
299+
diff --git a/views/cocoadocs.defaults.yml b/views/cocoadocs.defaults.yml
300+
index 21ced75..eaea410 100644
301+
--- a/views/cocoadocs.defaults.yml
302+
+++ b/views/cocoadocs.defaults.yml
303+
@@ -1,14 +1,19 @@
304+
-highlight-font: '"GT Walsheim", "gt_walsheim_regular", "Avant Garde Gothic ITCW01Dm", "Avant Garde", "Helvetica Neue", "Arial"'
305+
+highlight-font: '"webfont_alright", "GT Walsheim", "gt_walsheim_regular", "Avant Garde Gothic ITCW01Dm", "Avant Garde", "Helvetica Neue", "Arial"'
306+
307+
-body: '"Helvetica Neue", "Arial", san-serif'
308+
-code: '"Monaco", "Menlo", "Consolas", "Courier New", monospace'
309+
+body: '"webfont_alright", "Helvetica Neue", "Arial", san-serif'
310+
+code: '"webfont_input", "Monaco", "Menlo", "Consolas", "Courier New", monospace'
311+
312+
-highlight-color: '#ED0015'
313+
-highlight-dark-color: '#A90010'
314+
+highlight-color: '#169CEE'
315+
+highlight-dark-color: '#66637A'
316+
317+
-darker-color: '#C6B7B2'
318+
+darker-color: '#66637A'
319+
darker-dark-color: '#A8A8A8'
320+
321+
background-color: '#F2F2F2'
322+
-alt-link-color: '#B7233F'
323+
+alt-link-color: '#169CEE'
324+
warning-color: '#B80E3D'
325+

docsets/Parse/1.15.3/Blocks/PFArrayResultBlock.html

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

docsets/Parse/1.15.3/Blocks/PFBooleanResultBlock.html

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

docsets/Parse/1.15.3/Blocks/PFConfigResultBlock.html

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

docsets/Parse/1.15.3/Blocks/PFDataResultBlock.html

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

docsets/Parse/1.15.3/Blocks/PFDataStreamResultBlock.html

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

docsets/Parse/1.15.3/Blocks/PFFilePathResultBlock.html

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

0 commit comments

Comments
 (0)