Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
86fe311b
Commit
86fe311b
authored
Dec 16, 2015
by
Seth Ladd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
analytics and a homepage for docs.flutter.io
parent
1d16ebff
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
142 additions
and
1 deletion
+142
-1
_analytics.html
doc/_analytics.html
+10
-0
index.html
doc/index.html
+128
-0
test.sh
travis/test.sh
+4
-1
No files found.
doc/_analytics.html
0 → 100644
View file @
86fe311b
<script>
(
function
(
i
,
s
,
o
,
g
,
r
,
a
,
m
){
i
[
'GoogleAnalyticsObject'
]
=
r
;
i
[
r
]
=
i
[
r
]
||
function
(){
(
i
[
r
].
q
=
i
[
r
].
q
||
[]).
push
(
arguments
)},
i
[
r
].
l
=
1
*
new
Date
();
a
=
s
.
createElement
(
o
),
m
=
s
.
getElementsByTagName
(
o
)[
0
];
a
.
async
=
1
;
a
.
src
=
g
;
m
.
parentNode
.
insertBefore
(
a
,
m
)
})(
window
,
document
,
'script'
,
'//www.google-analytics.com/analytics.js'
,
'ga'
);
ga
(
'create'
,
'UA-67589403-2'
,
'auto'
);
ga
(
'send'
,
'pageview'
);
</script>
doc/index.html
0 → 100644
View file @
86fe311b
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<link
href=
"https://fonts.googleapis.com/css?family=Source+Code+Pro|Roboto:500,400italic,300,400"
rel=
"stylesheet"
type=
"text/css"
>
<title>
Flutter API Docs
</title>
<meta
name=
"description"
content=
"Flutter API docs"
>
<link
rel=
"stylesheet"
href=
"http://flutter.io/css/main.css"
>
<link
rel=
"canonical"
href=
"http://docs.flutter.io/"
>
<link
rel=
"shortcut icon"
href=
"http://flutter.io/favicon.ico"
>
<script>
(
function
(
i
,
s
,
o
,
g
,
r
,
a
,
m
){
i
[
'GoogleAnalyticsObject'
]
=
r
;
i
[
r
]
=
i
[
r
]
||
function
(){
(
i
[
r
].
q
=
i
[
r
].
q
||
[]).
push
(
arguments
)},
i
[
r
].
l
=
1
*
new
Date
();
a
=
s
.
createElement
(
o
),
m
=
s
.
getElementsByTagName
(
o
)[
0
];
a
.
async
=
1
;
a
.
src
=
g
;
m
.
parentNode
.
insertBefore
(
a
,
m
)
})(
window
,
document
,
'script'
,
'//www.google-analytics.com/analytics.js'
,
'ga'
);
ga
(
'create'
,
'UA-67589403-2'
,
'auto'
);
ga
(
'send'
,
'pageview'
);
</script>
<style>
.page-content
{
padding
:
15px
0
15px
0
;
}
dt
{
font-size
:
20px
;
}
</style>
</head>
<body>
<header
class=
"site-header"
>
<div
class=
"wrapper"
>
<a
class=
"site-title"
href=
"/"
>
Flutter API Docs
</a>
<nav
class=
"site-nav"
>
<a
href=
"#"
class=
"menu-icon"
>
<svg
viewBox=
"0 0 18 15"
>
<path
fill=
"#424242"
d=
"M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"
/>
<path
fill=
"#424242"
d=
"M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"
/>
<path
fill=
"#424242"
d=
"M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"
/>
</svg>
</a>
<!-- TODO: search -->
</nav>
</div>
</header>
<div
class=
"page-content"
>
<div
class=
"wrapper"
>
<div
class=
"post"
>
<header
class=
"post-header"
>
</header>
<article
class=
"post-content"
>
<p><a
href=
"http://flutter.io"
>
Flutter
</a>
is a new project to help developers
build high-performance, high-fidelity,
mobile apps for iOS and Android
from a single codebase.
<em>
Flutter is an early-stage open-source project.
</em></p>
<h3>
APIs
</h3>
<dl>
<dt><a
href=
"/flutter/"
>
flutter
</a></dt>
<dd>
The main Flutter framework libraries.
</dd>
</dl>
</article>
</div>
</div>
</div>
<footer
class=
"site-footer"
>
<div
class=
"wrapper"
>
<div
class=
"footer-col-wrapper"
>
<div
class=
"footer-col footer-col-all"
>
<div
class=
"logo"
>
<svg
width=
"138"
height=
"88"
viewBox=
"0, 0, 138, 88"
>
<path
style=
"fill:#917FFF;stroke:#FFFFFF"
d=
"M76.4457337257,68.7452964326 C101.752495779,57.3530559496 135.725273541,36.7508699436 137.277276695,27.9537925266 C139.020387832,18.0734752246 107.915173462,3.92339415459 97.4530579447,14.4850425266 C95.1465857817,16.8134576466 93.4051234527,19.9608116636 90.2871451447,25.7303597706
C83.4782275207,38.3296705796 80.6965459177,43.5220231536 72.4379212257,60.0055503386"
/>
<path
style=
"fill:#917FFF;stroke:#FFFFFF"
d=
"M70.1859681007,71.5577964326 C53.6924782047,79.3410536876 21.3511379877,87.9323432556 10.8895813827,87.2345542446 C-0.569589177341,86.4702240796 0.167012582659,71.1381905366 0.808526694659,64.1232261206
C1.488675985659,56.6857855696 11.6428135557,52.8666953906 16.2610736157,54.1728108736 C31.4302764167,58.4628964016 39.3239571067,60.1654189286 63.2787415377,65.2824058076"
/>
<path
style=
"fill:#C17FFF;stroke:#FFFFFF"
d=
"M62.9970032567,65.2179526826 C35.7624401197,59.7527053476 31.5365086327,58.4229596446 16.4313860597,54.0262146736 C5.501511163659,50.8447858396 4.485308601659,38.4254490056 7.263604819659,34.3751792456
C16.5292274657,20.8675226556 38.8852752047,26.7885268026 41.1854798197,24.9391440886 C44.1062927437,22.5907873836 48.4834815267,11.2805581096 66.4120423197,2.08758158859 C79.2369795017,-4.48848147341 98.1220582767,10.5374053906 90.1752619167,25.6336385076
C83.3176166697,38.6608518136 80.5025840477,43.9089156316 72.3554016947,60.0524253386"
/>
<path
style=
"fill:none;stroke:#917FFF"
d=
"M76.3044902367,70.9561037246 C78.3960485157,71.1152751536 80.8837389927,72.0497411666 82.5466777357,73.1357912246"
/>
<path
style=
"fill:none;stroke:#917FFF"
d=
"M74.1747421897,78.9875197396 C73.5907633597,77.2543737016 73.1612175077,74.8484721426 73.3666367197,72.8654494276"
/>
<path
style=
"fill:#7F9DFF;stroke:#FFFFFF"
d=
"M75.3978821637,72.3585776826 C67.6445429637,78.2751666966 36.8970328207,27.9635637636 41.1740052107,24.9553794406 C45.5338006747,22.0644831736 82.2169468337,67.6594945666 75.3978821637,72.3585776826 z"
/>
</svg>
</div>
<ul
class=
"contact-list"
>
<li>
Flutter
</li>
</ul>
<p
class=
"terms"
>
<a
href=
"https://twitter.com/flutterio"
>
@flutterio
</a>
•
<a
href=
"mailto:flutter-dev@googlegroups.com"
>
flutter-dev@
</a>
•
<a
href=
"/tos"
>
terms
</a>
•
<a
href=
"http://www.google.com/intl/en/policies/privacy/"
>
privacy
</a>
</p>
<p
class=
"licenses"
>
Except as otherwise noted,
this work is licensed under a
<a
rel=
"license"
href=
"http://creativecommons.org/licenses/by/4.0/"
>
Creative
Commons Attribution 4.0 International License
</a>
,
and code samples are licensed under the BSD License.
</p>
</div>
</div>
</div>
</footer>
</body>
</html>
travis/test.sh
View file @
86fe311b
...
...
@@ -21,12 +21,15 @@ flutter analyze --flutter-repo --no-current-directory --no-current-package --con
if
[
$TRAVIS_PULL_REQUEST
=
"false"
]
;
then
if
[
$TRAVIS_BRANCH
=
"master"
]
;
then
pub global activate dartdoc 0.8.4
(
cd
packages/flutter
;
~/.pub-cache/bin/dartdoc
--header
=
doc/styles.html
)
cat
packages/flutter/doc/styles.html doc/_analytics.html
>
/tmp/_header.html
(
cd
packages/flutter
;
~/.pub-cache/bin/dartdoc
--header
=
/tmp/_header.html
)
GSUTIL
=
$HOME
/google-cloud-sdk/bin/gsutil
GCLOUD
=
$HOME
/google-cloud-sdk/bin/gcloud
$GCLOUD
auth activate-service-account
--key-file
gcloud_key_file.json
$GSUTIL
-m
-q
rsync
-r
-d
packages/flutter/doc/api gs://docs.flutter.io/flutter
$GSUTIL
-m
-q
rsync
-r
-d
packages/flutter/doc/api gs://docs.domokit.org/flutter
$GSUTIL
-m
-q
cp
doc/index.html gs://docs.flutter.io/index.html
$GSUTIL
-m
-q
cp
doc/index.html gs://docs.domokit.org/index.html
fi
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment