Skip to content

Commit 5f92d21

Browse files
committed
init
1 parent c251a2c commit 5f92d21

File tree

243 files changed

+51060
-1
lines changed

Some content is hidden

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

243 files changed

+51060
-1
lines changed

.gitignore

+14-1
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,23 @@ build/Release
2828

2929
# Dependency directories
3030
node_modules
31-
jspm_packages
31+
/samples/*/node_modules
3232

3333
# Optional npm cache directory
3434
.npm
3535

3636
# Optional REPL history
3737
.node_repl_history
38+
39+
# Build artifacts
40+
/src/.vs
41+
/src/bin
42+
/src/obj
43+
/dist
44+
45+
46+
# Miscellaneous user files
47+
*.user
48+
.vscode
49+
.DS_STORE
50+

.npmignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/node_modules
2+
/src/.vs
3+
/src/bin
4+
/src/obj
5+
/samples
6+
/docs
7+
*.user

docs/Gemfile

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
source 'https://rubygems.org'
2+
3+
# jekyll, which builds it all
4+
# 3.0 includes sass processing
5+
gem 'jekyll', '~>3.1'
6+
7+
# Jekyll extensions
8+
gem 'jekyll-redirect-from'
9+
gem 'jekyll-paginate'

docs/_config.yml

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
theme: jekyll-theme-slate
2+
name: ReactXP
3+
description: A library for building cross-platform apps
4+
url: https://microsoft.github.io
5+
baseurl: /reactxp
6+
permalink: /blog/:year/:month/:day/:title.html
7+
paginate_path: /blog/page:num/
8+
paginate: 5
9+
timezone: America/Los_Angeles
10+
defaults:
11+
- scope:
12+
path: blog
13+
type: pages
14+
values:
15+
layout: post
16+
sectionid: blog
17+
- scope:
18+
path: docs
19+
type: pages
20+
values:
21+
layout: docs
22+
sectionid: docs
23+
- scope:
24+
path: community
25+
type: pages
26+
values:
27+
layout: default
28+
sectionid: community
29+
- scope:
30+
path: versions
31+
type: pages
32+
values:
33+
layout: default
34+
sectionid: versions
35+
exclude:
36+
- Gemfile
37+
- README.md
38+
sass:
39+
sass_dir: ./_sass
40+
gems:
41+
- jekyll-redirect-from
42+
- jekyll-paginate
43+
44+

docs/_data/authors.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Map of short name to more information. `name` will be used but if you don't
2+
# want to use your real name, just use whatever. If url is included, your name
3+
# will be a link to the provided url.
4+
erictraut:
5+
name: Eric Traut
6+
url: https://github.com/erictraut

docs/_data/nav_docs.yml

+80
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
- title: Quick Start
2+
items:
3+
- id: getting-started
4+
title: Getting Started
5+
- id: using-reactxp
6+
title: Using ReactXP
7+
- id: faq
8+
title: FAQ
9+
- id: react_concepts
10+
title: React Concepts
11+
- id: react_lifecycle
12+
title: Component Lifecycle
13+
- id: react_stores
14+
title: Stores & Services
15+
- id: styles
16+
title: Styles
17+
- id: animations
18+
title: Animations
19+
- id: accessibility
20+
title: Accessibility
21+
- title: Components
22+
items:
23+
- id: components/activityindicator
24+
title: ActivityIndicator
25+
- id: components/button
26+
title: Button
27+
- id: components/gestureview
28+
title: GestureView
29+
- id: components/image
30+
title: Image
31+
- id: components/link
32+
title: Link
33+
- id: components/navigator
34+
title: Navigator
35+
- id: components/picker
36+
title: Picker
37+
- id: components/scrollview
38+
title: ScrollView
39+
- id: components/text
40+
title: Text
41+
- id: components/textinput
42+
title: TextInput
43+
- id: components/view
44+
title: View
45+
- id: components/webview
46+
title: WebView
47+
- title: APIs
48+
items:
49+
- id: apis/accessibility
50+
title: Accessibility
51+
- id: apis/alert
52+
title: Alert
53+
- id: apis/app
54+
title: App
55+
- id: apis/clipboard
56+
title: Clipboard
57+
- id: apis/input
58+
title: Input
59+
- id: apis/linking
60+
title: Linking
61+
- id: apis/location
62+
title: Location
63+
- id: apis/modal
64+
title: Modal
65+
- id: apis/network
66+
title: Network
67+
- id: apis/platform
68+
title: Platform
69+
- id: apis/popup
70+
title: Popup
71+
- id: apis/profiling
72+
title: Profiling
73+
- id: apis/statusbar
74+
title: StatusBar
75+
- id: apis/storage
76+
title: Storage
77+
- id: apis/userinterface
78+
title: UserInterface
79+
- id: apis/userpresence
80+
title: UserPresence

docs/_includes/blog_post.html

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{% assign page = include.page %}
2+
3+
<h1>
4+
{% if include.isPermalink %}
5+
{{ page.title }}
6+
{% else %}
7+
<a href="/reactxp{{ page.url }}">{{ page.title }}</a>
8+
{% endif %}
9+
</h1>
10+
11+
<p class="meta">
12+
{{ page.date | date: "%B %e, %Y" }}
13+
by
14+
<a href="{{ site.data.authors[page.author].url }}">{{ site.data.authors[page.author].name }}</a>
15+
</p>
16+
17+
<hr>
18+
19+
<div class="post">
20+
{{ include.content }}
21+
</div>
22+

docs/_includes/footer.html

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<footer class="nav-footer">
2+
<section class="sitemap">
3+
<a href="/reactxp/" class="nav-home">
4+
</a>
5+
<div>
6+
<a href="/reactxp/docs/">Docs</a>
7+
<a href="/reactxp/blog/">Blog</a>
8+
<a href="/reactxp/community/">Community</a>
9+
</div>
10+
<div>
11+
<a href="https://github.com/microsoft/reactxp" target="_blank">GitHub</a>
12+
<a href="http://facebook.github.io/react/" target="_blank">React</a>
13+
<a href="http://facebook.github.io/react-native/" target="_blank">React Native</a>
14+
</div>
15+
</section>
16+
<section class="copyright">
17+
Copyright © {{ site.time | date: '%Y' }} Microsoft Corp.
18+
</section>
19+
</footer>

docs/_includes/hero.html

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<div class="hero">
2+
<div class="wrap">
3+
<div class="text"><strong>ReactXP</strong></div>
4+
<div class="minitext">
5+
A library for building cross-platform apps
6+
</div>
7+
8+
<div class="buttons-unit">
9+
<a href="/reactxp/docs/getting-started.html" class="button">Get Started</a>
10+
</div>
11+
</div>
12+
</div>

docs/_includes/nav_blog.html

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<div class="nav-docs nav-blog">
2+
<div class="nav-docs-section">
3+
<h3>Recent posts</h3>
4+
<ul>
5+
{% for post in site.posts limit:10 %}
6+
<li><a href="/reactxp{{ post.url }}"{% if page.title == post.title %} class="active"{% endif %}>{{ post.title }}</a></li>
7+
{% endfor %}
8+
<li><a href="/reactxp/blog/all.html">All posts ...</a></li>
9+
</ul>
10+
</div>
11+
</div>

docs/_includes/nav_docs.html

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<div class="nav-docs">
2+
<!-- Docs Nav -->
3+
{% for section in site.data.nav_docs %}
4+
<div class="nav-docs-section">
5+
<h3>{{ section.title }}</h3>
6+
<ul>
7+
{% for item in section.items %}
8+
<li>
9+
<a href="/reactxp/docs/{{ item.id }}.html" {% if page.id == item.id %} class="active"{% endif %}>
10+
{{ item.title }}
11+
</a>
12+
</li>
13+
{% endfor %}
14+
</ul>
15+
</div>
16+
{% endfor %}
17+
18+
</div>
19+

docs/_includes/navigation.html

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<div class="nav-main">
2+
<div class="wrap">
3+
<a class="nav-home" href="/reactxp/">
4+
ReactXP
5+
</a>
6+
<div class="nav-lists">
7+
<ul class="nav-site nav-site-internal">
8+
<li><a href="/reactxp/docs/getting-started.html"{% if page.sectionid == 'docs' %} class="active"{% endif %}>Docs</a></li>
9+
<li><a href="/reactxp/community/support.html"{% if page.sectionid == 'community' %} class="active"{% endif %}>Community</a></li>
10+
<li><a href="/reactxp/versions/version_history.html"{% if page.sectionid == 'versions' %} class="active"{% endif %}>Versions</a></li>
11+
<li><a href="/reactxp/blog/"{% if page.sectionid == 'blog' %} class="active"{% endif %}>Blog</a></li>
12+
</ul>
13+
<ul class="nav-site nav-site-external">
14+
<li><a href="https://github.com/microsoft/reactxp">GitHub</a></li>
15+
</ul>
16+
</div>
17+
</div>
18+
</div>

docs/_layouts/default.html

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{% if page.excerpt %}
2+
{% assign type = 'article' %}
3+
{% assign sectionTitle = 'ReactXP Blog' %}
4+
{% assign description = page.excerpt | strip_html %}
5+
{% else %}
6+
{% assign type = 'website' %}
7+
{% assign sectionTitle = 'ReactXP' %}
8+
{% assign description = 'A library for cross-platform development' %}
9+
{% endif %}
10+
{% assign title = page.title | append: ' - ' | append: sectionTitle %}
11+
<!DOCTYPE html>
12+
<!--[if IE]><![endif]-->
13+
<html>
14+
<head>
15+
<meta charset="utf-8">
16+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
17+
<title>{{ title }}</title>
18+
<meta name="viewport" content="width=device-width, initial-scale=1">
19+
<meta property="og:title" content="{{ title }}">
20+
<meta property="og:type" content="{{ type }}">
21+
<meta property="og:url" content="https://microsoft.github.io/reactxp{{ page.url }}">
22+
<meta property="og:image" content="https://microsoft.github.io/reactxp/img/logo_og.png">
23+
<meta property="og:description" content="{{ description }}">
24+
25+
<link rel="stylesheet" href="/reactxp/css/syntax.css">
26+
<link rel="stylesheet" href="/reactxp/css/reactxp.css">
27+
28+
<script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script>
29+
</head>
30+
<body>
31+
32+
<div class="container">
33+
34+
{% include navigation.html %}
35+
36+
{{ content }}
37+
38+
{% include footer.html %}
39+
</div>
40+
</body>
41+
</html>
42+

docs/_layouts/docs.html

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
layout: default
3+
sectionid: docs
4+
---
5+
6+
<section class="content wrap documentationContent">
7+
<div class="inner-content">
8+
<h1>
9+
{{ page.title }}
10+
</h1>
11+
<div class="subHeader">{{ page.description }}</div>
12+
13+
{{ content }}
14+
15+
<div class="docs-prevnext">
16+
{% if page.prev %}
17+
<a class="docs-prev" href="/reactxp/docs/{{ page.prev }}">&larr; Prev</a>
18+
{% endif %}
19+
{% if page.next %}
20+
<a class="docs-next" href="/reactxp/docs/{{ page.next }}">Next &rarr;</a>
21+
{% endif %}
22+
</div>
23+
</div>
24+
25+
{% include nav_docs.html %}
26+
</section>

docs/_layouts/hero.html

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
layout: default
3+
---
4+
5+
{% if page.id == 'home' %}
6+
{% include hero.html %}
7+
{% endif %}
8+
9+
<section class="content wrap">
10+
{{ content }}
11+
</section>

docs/_layouts/post.html

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
layout: default
3+
sectionid: blog
4+
---
5+
6+
<section class="content wrap blogContent">
7+
8+
<div class="inner-content">
9+
{% include blog_post.html isPermalink="true" page=page content=content %}
10+
</div>
11+
{% include nav_blog.html %}
12+
</section>

0 commit comments

Comments
 (0)