http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/v-0.10/tools/playground.md ---------------------------------------------------------------------- diff --git a/doc/source/v-0.10/tools/playground.md b/doc/source/v-0.10/tools/playground.md deleted file mode 100644 index f315054..0000000 --- a/doc/source/v-0.10/tools/playground.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: Playground -type: tools -order: 4 -has_chapter_content: true -version: 0.10 ---- - -# Weex Playground App - -One of best parts of Weex is Native Runtime . After preview your `we file` render in H5 using weex-toolkit CLI , you can try Native Runtime in a standalone App , this is Weex Playground App . More then that ,Weex playground App preset a lot of Demo & ShowCase ,so you will get to experience performance of Weex native runtime easily. - -Android and IOS version of Playground App can be downloaded [here](http://alibaba.github.io/weex/download.html). - -## Screenshot - -![Weex playground App](https://gw.alicdn.com/mt/TB1AoPdOXXXXXcXapXXXXXXXXXX-720-1280.png) - - -This is main interface of Weex Playground App , you can click the item to see the corresponding demo . click top right corner Icon will active QR scaner that work with Weex [toolkit CLI](../tools/index.html) - -please refer to [Weex Tutorial](../guide/index.html) - -
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/source/v-0.10/tools/transformer.md ---------------------------------------------------------------------- diff --git a/doc/source/v-0.10/tools/transformer.md b/doc/source/v-0.10/tools/transformer.md deleted file mode 100644 index 7df3b60..0000000 --- a/doc/source/v-0.10/tools/transformer.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: Transformer -type: tools -order: 3 -has_chapter_content: true -version: 0.10 ---- - -# gulp-weex - -> gulp plugin for weex transformer - -## Usage - -```javascript -var gulp = require('gulp') -var weex = require('gulp-weex') - -gulp.task('default', function () { - return gulp.src('src/*.html') - .pipe(weex({})) - .pipe(gulp.dest('./dest')) -}) -``` - -## Options - -### oldFormat - -whether transform to old format. - -default: `false`. - -### isEntry - -whether is an entry module which has `bootstrap(...)`. - -default: `true`. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/_config.yml ---------------------------------------------------------------------- diff --git a/doc/themes/weex/_config.yml b/doc/themes/weex/_config.yml deleted file mode 100644 index 357381c..0000000 --- a/doc/themes/weex/_config.yml +++ /dev/null @@ -1,42 +0,0 @@ -# Header -menu: - Home: / - Archives: /archives -rss: /atom.xml - -# Content -excerpt_link: Read More - -# Sidebar -sidebar: right -widgets: -- category -- tag -- tagcloud -- archive -- recent_posts - -# display widgets at the bottom of index pages (pagination == 2) -index_widgets: -# - category -# - tagcloud -# - archive - -# widget behavior -archive_type: 'monthly' -show_count: false - -# Miscellaneous -google_analytics: -favicon: /favicon.png -twitter: -google_plus: -fb_admins: -fb_app_id: - -# SCSS -node_sass: - debug: false - outputStyle: nested - precision: 5 - sourceComments: false \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/languages/cn.yml ---------------------------------------------------------------------- diff --git a/doc/themes/weex/languages/cn.yml b/doc/themes/weex/languages/cn.yml deleted file mode 100644 index 3796d04..0000000 --- a/doc/themes/weex/languages/cn.yml +++ /dev/null @@ -1,117 +0,0 @@ -index: - page_title: ä¸å¥æ建é«æ§è½ãå¯æ©å±çåçåºç¨è·¨å¹³å°å¼åæ¹æ¡ - get_started: ä¸ææç¨ - edge: - title: ä¼å¿ - edge1: - title: è½»é - content: ä½ç§¯å°ãè¯æ³ç®åãæäºææ¡ - edge2: - title: å¯æ©å± - content: å¯ä»¥æ¨ªåæ©å±åå®å¶åçç»ä»¶ååè½ - edge3: - title: é«æ§è½ - content: 对å è½½æ¶é´åèµæºå ç¨æ·±åº¦ä¼åï¼ç»ä½ æ´å¥½çä½éª - feature: - title: 帮å©ä½ æ建åçåºç¨ - content: ä¸ Web AppãHTML5 App æ hybrid App ä¸åï¼æ¨å¯ä»¥ä½¿ç¨ Weex æ建ä¸ä¸ªçæ£çåçåºç¨ãæ´è´´å¿çæ¯ä½ ç代ç åªéä½¿ç¨ HTMLãCSSãJavaScript å¯ä»¥æ建åçåºç¨ï¼ä¸æé常ç®åãä½å®é ä¸ï¼åºç¨çåºå±æ¯ Objective-C æ Javaï¼ åæ¶ï¼Weex æä¾å¾å¤ native ç»ä»¶æ模åä¾å¼å人å使ç¨ã - cross_platform: - title: ä¸æ¬¡ç¼åï¼å¤ç«¯è¿è¡ - content: Weex æä¾å¼ºå¤§ç跨平å°è½åï¼å¯ä»¥ä½¿ç¨ç¸åç API å¼å Webï¼Android å iOS åºç¨ã åæ¶ï¼æ们对æ¥å£äºä¸°å¯çæ©å±è½åã è¿æ ·ï¼å½æ¨éè¦æ©å±åçç»ä»¶æ模åæ¶ï¼è¿å°é常æ¹ä¾¿ã - vue: - title: æ¯æ Vue è¯æ³ - content: Weex éµå¾ª Web æ åï¼åæ¶æ¯æ vue.js çè¯æ³ãå æ¤ï¼æ¨å¯ä»¥ä½¿ç¨ vue.js è¯æ³æ¥å¼ååºç¨ç¨åºã - schematic: - title: å·¥ä½åç - content: Weex æ¯ä¸ä¸ªå¨æåçé«æ©å±è·¨å¹³å°è§£å³æ¹æ¡ã å¨ Weex 代ç ä¸ï¼æ¨å¯ä»¥ä½¿ç¨ <template>ï¼<style> å <script> æ ç¾ç¼å页é¢æç»ä»¶ï¼ç¶åå°å®ä»¬è½¬æ¢ä¸º JS bundle 以è¿è¡é¨ç½²ãå½æå¡å¨è¿åç»å®¢æ·ç«¯ JS bundle æ¶ï¼JS bundle ä¼è¢«å®¢æ·ç«¯ç JavaScript å¼æå¤çï¼å¹¶ç®¡ç渲æ native è§å¾ï¼è°ç¨åç API åç¨æ·äº¤äºã - users: - title: è°å¨ä½¿ç¨ Weex - tmall: - title: å¤©ç« - content: ä¸å½æ大ç B2C è´ç©å¹³å°. - aliyun: - title: é¿éäº - content: é¿éå·´å·´éå¢æä¸äºè®¡ç®ä¸å¡ï¼é¿éäºæä¾å ¨é¢çå ¨çäºè®¡ç®æå¡ï¼ä¸ºå½é 客æ·çå¨çº¿ä¸å¡åé¿éå·´å·´èªå·±ççµååå¡çæç³»ç»æä¾æ¯æã - taobao: - title: æ·å® - content: ä¸å½æ大ç移å¨çµåè´ç©å¹³å°ï¼å±ç¤ºæ°ä»¥äº¿è®¡ç产åä¸æå¡ä¿¡æ¯ï¼ä¸ºæ¶è´¹è æä¾å¤ä¸ªç§ç±»ç产ååæå¡ã - dingtalk: - title: éé - content: é¿éå·´å·´éå¢ä¸ä¸ºä¸å°ä¼ä¸æé çæ²éåååå¹³å°ãééå ä¸å°ä¼ä¸èçï¼å¸®å©ä¸å°ä¼ä¸éè¿ç³»ç»åç解å³æ¹æ¡ï¼å¾®åºç¨ï¼ï¼å ¨æ¹ä½æåä¸å°ä¼ä¸æ²éåååæçã - alibaba: - title: '1688' - content: ä¸å½é¢å çç½ä¸æ¹åå¹³å°ï¼è¦çæ®éååãæè£ ãçµå产åãåææãå·¥ä¸é¨ä»¶ãå产ååå工产åçå¤ä¸ªè¡ä¸ç买家åå家ã1688 为å¨é¿éå·´å·´éå¢æä¸é¶å®å¸åºç»è¥ä¸å¡çå家ï¼æä¾äºä»æ¬å°æ¹ååéè´äº§åçæ¸ éã - cainiao: - title: èé¸è£¹è£¹ - content: èé¸è£¹è£¹æ¯é¿éå·´å·´æä¸èé¸ç½ç»æ¨åºçä¸æ¬¾å¿«éæå¡ APPï¼ä¸»è¦åè½æï¼å¿«éè¿åæ¥è¯¢ãé¢çº¦å¯å¿«éãå 裹èªå¨è·è¸ªãèé¸é©¿ç«ç½ç¹ä»£æ¶ä»£å¯ã - xiami: - title: è¾ç±³ - content: æä¾é«åè´¨é³ä¹ç个æ§åæ¨èæå¡ï¼ä»¥å线ä¸é³ä¹æ´»å¨çäºå¨å 容ã - youku: - title: ä¼é · - content: ä¸å½é¢å çè§é¢æå¡å¹³å°ï¼æä¾è§é¢ææ¾ï¼è§é¢åå¸ï¼è§é¢å享çæå¡ã - taopiaopiao: - title: æ·ç¥¨ç¥¨ä¸ä¸ç - content: æ·ç¥¨ç¥¨ä¸ä¸çæ¯ä¸æ¬¾ä¸ºçµå½±äººæä¾æä»·å¼æ°æ®ç产åãéè¿åé¿éæµ·éç¨æ·æ°æ®ç¸ç»åï¼ä¸ºçµå½±äººæä¾äºç§çº§å®æ¶ç¥¨æ¿ãæçãå½±é¢ç»è¥ãä¸æ æ¥ååç¨æ·ç»åçæ°æ®æå¡ã - fliggy: - title: é£çª - content: é£çªæ¯é¿éå·´å·´éå¢æä¸æ è¡åçï¼æ¨å¨ä¸ºç¨æ·æä¾ä¾¿æ·ãæ´é«æ§ä»·æ¯çåºè¡æå¡ã - juhuasuan: - title: èåç® - content: èåç®æ¯é¿éå·´å·´éå¢æä¸å¹³å°ï¼ä¾æ·å®ã天ç«å家ä»8亿ååä¸ç²¾æç»éä¼è´¨ååï¼èªä¸»å¼å±ç½ç»ç²¾éç¹åæ´»å¨ï¼ä»¥æ´é«çæå¡æ åä¸ºä½ æä¾é«æ§ä»·æ¯çååã - qianniu: - title: åç - content: é¿éå·´å·´å®æ¹åºåçå家移å¨å·¥ä½å°ï¼æå¡æ·å®ã天ç«ã1688ã线ä¸é¨åºçä¼å¤å家ç¨æ·ï¼å家管åºå¿ å¤ã - feedback: - title: ä»ä»¬è¯´ - user1: - name: éå¤©äº - title: ä¼å®ä¿é©ææ¯æ»ç - content: â Weex ä¸ä» åºç¨çµæ´»ãæ§è½å¼ºå¤§ï¼èä¸è½è®©å端å¼åè æ大ç¨åº¦å¤ç¨ç°æææ¯ç§¯ç´¯ï¼å¸®å©æ们ç¨æå°ææ¬è®¾è®¡å ¨æ°ç跨平å°æ¶æä½ç³»ï¼å¹¶å°½å¿«è¿å ¥å®æ½é¶æ®µãâ - user2: - name: æ建é - title: 饿äºä¹å¤§å端é¨è´è´£äºº - content: â Weex æä¾äºåª²ç¾ HTML5 å¼åæçå Native çæ§è½ï¼å¯¹äºç±»ä¼¼æ们è¿ç§è¿ä»£é度è¦æ±æ¯è¾é«çå¢éï¼å ä¹æ¯ç®åæ好çæ¹æ¡ãâ - user3: - name: é»æ³°æ - title: 天ç«ææ¯ä¸å®¶ - content: â Weex ä½ä¸ºè½»é渲æå¼æåæä¾äºå¾æ¹ä¾¿çæ件æºå¶ï¼è®©å个端å¯ä»¥æèªå·±çè½ååæ¥åºæ¥ï¼å ååæ¥å¨å¤©ç«çä¸å¡ä¸ï¼å¹¶è¯å¥½çæ¯æå11ãâ - -menu: - guide: æç¨ - references: æå - doc: ææ¡£ - faq: FAQ - note: 说æ - releasenote: çæ¬è¯´æ - index: é¦é¡µ - blog: å客 - showcase: ç¤ºä¾ - download: ä¸è½½ - resources: èµæº - tools: å·¥å · - invovled: åä¸ - advanced: é«é¶ç¥è¯ - github: GitHub - legacy: æ§è¯æ³ææ¡£ -playground: - content: Weex Native è¿è¡æ¶å®ä¾ & Weex æ件é¢è§å·¥å ·ã -categories: Categories -search: Search -tags: Tags -tagcloud: Tag Cloud -tweets: Tweets -prev: Prev -next: Next -comment: Comments -archive_a: Archives -archive_b: "Archives: %s" -page: Page %d -recent_posts: Recent Posts -newer: Newer -older: Older -share: Share -powered_by: Powered by -rss_feed: RSS Feed -category: Category -tag: Tag http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/languages/en.yml ---------------------------------------------------------------------- diff --git a/doc/themes/weex/languages/en.yml b/doc/themes/weex/languages/en.yml deleted file mode 100644 index f0e5270..0000000 --- a/doc/themes/weex/languages/en.yml +++ /dev/null @@ -1,117 +0,0 @@ -index: - page_title: A framework for building Mobile cross-platform UIs - get_started: Get Started - edge: - title: Competitive Edge - edge1: - title: Lightweight - content: low footprintï¼simple syntaxï¼and easy to use - edge2: - title: Extendable - content: abundant built-in componentsï¼extendable apisï¼various events - edge3: - title: High Performance - content: load fastï¼render fastï¼better Experience - feature: - title: Help you build a real Native App - content: Different from a "web app", "HTML5 app", or "hybrid app", you can use Weex to build a real mobile app. The code that you write is relatively simple, because you can build native applications just using HTML, CSS, Javascript. But underneath, the core of the application is Objective-C or Java. At the same time, Weex will provide a lot of native components or modules for developers to use. - cross_platform: - title: Write Once Run Everywhere - content: Weex provides the ability to publish cross platform, so web, Android, and IOS apps can use the same API development functions. At the same time, we provide a rich extension of the native interfaces. In this way, it will be very convenient when you need to extend native components or modules. - vue: - title: Supporting Vue syntax - content: Weex follows the web standard, while supporting the "vue.js" syntax. So, you can use the "vue.js" syntax to develop applications. - schematic: - title: How it works - content: Weex is a extendable cross-platform solution for dynamic programming and publishing projects. In the source code you can write pages or components with <template>, <style> and <script> tags, and then transform them into bundles for deploying. On the server-side we can use these JS bundles for client requests. When clients get a bundle from the server, it will be processed by the client-side JavaScript engine that manages the native view rendering, the native API invoking, and user interactions. - users: - title: Who uses it - tmall: - title: Tmall - content: Tmall is a business-to-consumer (B2C) platform and is the most visited B2C online retail website in China. - aliyun: - title: Alibaba Cloud - content: As the cloud computing arm and business unit of Alibaba Group (NYSE BABA), Alibaba Cloud provides a comprehensive suite of global cloud computing services to power both our international customersâ online businesses and Alibaba Groupâs own e-commerce ecosystem. - taobao: - title: Taobao - content: Taobao is China's largest consumer-to-consumer online shopping platform. - dingtalk: - title: DingTalk - content: DingTalk, an App by Alibaba. Free communication and collaboration platform used by millions of enterprises or organizations. - alibaba: - title: '1688' - content: Launched in 1999, 1688.com is the leading platform for global wholesale trade. We serve millions of buyers and suppliers around the world. - cainiao: - title: Cainiao - content: Cainiao is committed to providing you the best tracking service for all kinds of your cross-border packages. - xiami: - title: Xiami - content: Xiami is a music and audio platform that is operated by Alibaba Group. - youku: - title: Youku - content: Youku is one of China's top online video and streaming service platforms. - taopiaopiao: - title: Tao Tickets Pro - content: Tao Tickets Pro is an intelligent data application which offers film industry practitioners with valuable data and information. Base on the huge data from Alibaba group, it provides services of realtime box office statistic and predictionï¼film schedule , cinema management information and user profile etc. - fliggy: - title: Fliggy - content: Fliggy is Alibaba Group's travel brand, designed to provide users with convenient, more cost-effective travel services. - juhuasuan: - title: Juhuasuan - content: Juhuasuan is Alibaba Group's platform for Taobao, Lynx business from 800 million commodities in the carefully selected high-quality goods, independent network to carry out activities to sell, with higher service standards to provide you with cost-effective goods. - qianniu: - title: Qianniu - content: Alibaba produced for the seller stop working units, for the seller the integration of the shop management tools, business information and news, business partnerships, in order to enhance the operational efficiency of the sellers, in order to promote cooperation between the two win, so that the seller can... - feedback: - title: People say - user1: - name: Tianyu Chen - title: Zhong An Insurance, R&D Director - content: "Weex is not only flexible and powerful, but also allows front-end developers to maximize the reuse of existing technology to help us design a new cross-platform architecture, and as soon as possible into the implementation phase." - user2: - name: Jianfeng Lin - title: Eleme, FE Leader - content: "Weex provides Web development efficiency and Native performance, comparable to our iterative speed requirements of the team is relatively high, is currently the best solution." - user3: - name: Taicheng Huang - title: Tmall, Technical Expert - content: "Weex as a lightweight rendering engine also provides a very convenient plug-in mechanism, so that each side can put their ability to play out, give full play to the cat's business, and good support for Global Shopping Festival." - -menu: - guide: Guide - references: References - doc: Docs - faq: FAQ - note: Note - releasenote: ReleaseNote - index: Index - blog: Blog - showcase: Showcase - download: Download - resources: Resources - tools: Tools - invovled: Get Involved - advanced: Advanced - github: GitHub - legacy: Old Syntax Doc -playground: - content: Weex Native Runtime showcase & Weex we file preview. -categories: Categories -search: Search -tags: Tags -tagcloud: Tag Cloud -tweets: Tweets -prev: Prev -next: Next -comment: Comments -archive_a: Archives -archive_b: "Archives: %s" -page: Page %d -recent_posts: Recent Posts -newer: Newer -older: Older -share: Share -powered_by: Powered by -rss_feed: RSS Feed -category: Category -tag: Tag http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/layout/_partial/after-footer.ejs ---------------------------------------------------------------------- diff --git a/doc/themes/weex/layout/_partial/after-footer.ejs b/doc/themes/weex/layout/_partial/after-footer.ejs deleted file mode 100644 index b945034..0000000 --- a/doc/themes/weex/layout/_partial/after-footer.ejs +++ /dev/null @@ -1,13 +0,0 @@ -<div style="display: none;"> - <script src="//s95.cnzz.com/z_stat.php?id=1261496509&web_id=1261496509" language="JavaScript"></script> - <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','https://www.google-analytics.com/analytics.js','ga'); - - ga('create', 'UA-104559823-1', 'auto'); - ga('send', 'pageview'); - -</script> -</div> http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/layout/_partial/archive-post.ejs ---------------------------------------------------------------------- diff --git a/doc/themes/weex/layout/_partial/archive-post.ejs b/doc/themes/weex/layout/_partial/archive-post.ejs deleted file mode 100644 index a15c85e..0000000 --- a/doc/themes/weex/layout/_partial/archive-post.ejs +++ /dev/null @@ -1,11 +0,0 @@ -<article class="blog-article blog-type-<%= post.layout %>"> - <div class="blog-article-inner"> - <%- partial('post/title') %> - <% if (post.excerpt) { %> - <div class="article-excerpt article"> - <%- post.excerpt %> - </div> - <a href="<%- url_for(post.path) %>" class="more-link">Read more...</a> - <% } %> - </div> -</article> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/layout/_partial/archive.ejs ---------------------------------------------------------------------- diff --git a/doc/themes/weex/layout/_partial/archive.ejs b/doc/themes/weex/layout/_partial/archive.ejs deleted file mode 100644 index c661bce..0000000 --- a/doc/themes/weex/layout/_partial/archive.ejs +++ /dev/null @@ -1,19 +0,0 @@ -<div class="archives"> - <% if (pagination == 2){ %> - <% site.posts.find({lang: page.lang}).each(function(post){ %> - <%- partial('article', {post: post, index: true}) %> - <% }) %> - <% } else { %> - <% site.posts.find({lang: page.lang}).each(function(post, i){ %> - <%- partial('archive-post', {post: post, even: i % 2 == 0}) %> - <% }) %> - <% } %> - <% if (site.total > 1){ %> - <nav id="page-nav"> - <%- paginator({ - prev_text: "« __('prev')", - next_text: "__('next') »" - }) %> - </nav> - <% } %> -</div> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/layout/_partial/article.ejs ---------------------------------------------------------------------- diff --git a/doc/themes/weex/layout/_partial/article.ejs b/doc/themes/weex/layout/_partial/article.ejs deleted file mode 100644 index e7052b7..0000000 --- a/doc/themes/weex/layout/_partial/article.ejs +++ /dev/null @@ -1,13 +0,0 @@ -<% var page_type = page.type ? page.type : page.path.slice(0, -5) %> - -<article class="article article-type-<%= page_type %>"> - <div class="article-entry" itemprop="articleBody"> - <%- partial('post/title', {post: post}) %> - <%- page_anchor(post.content) %> - </div> - <% if (page_type === 'article') { %> - <%- partial('_partial/post/nav') %> - <% } %> - <%- partial('footer') %> - <%- partial('after-footer') %> -</article> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/layout/_partial/footer.ejs ---------------------------------------------------------------------- diff --git a/doc/themes/weex/layout/_partial/footer.ejs b/doc/themes/weex/layout/_partial/footer.ejs deleted file mode 100644 index 0cbe7b2..0000000 --- a/doc/themes/weex/layout/_partial/footer.ejs +++ /dev/null @@ -1,30 +0,0 @@ -<footer id="footer"> - <div class="row clearfix"> - <div class="dropdown select-lang"> - <a href="javascript:;" class="dropdown-toggle"> - Language - <span class="caret"></span> - </a> - <ul class="dropdown-menu pick-lang"> - <li> - <a href="<%= pick_lang('en') %>" data-lang="en">English</a> - </li> - <li> - <a href="<%= pick_lang('cn') %>" data-lang="zh-cn">ä¸æ</a> - </li> - </ul> - </div> - </div> - <div class="disclaimer"> - <div><img src="//gw.alicdn.com/tfs/TB1pTBZQFXXXXX9XXXXXXXXXXXX-794-280.png" width="200px" alt="Apache Incubator"></div> - <div><span class="title">Disclaimer:</span> Apache Weex is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</div> - <br/> - </div> - <hr> - <div class="row"> - <p> <img src="//gw.alicdn.com/tfs/TB1bg8SQFXXXXcHXXXXXXXXXXXX-85-170.png" height="50px" alt="Apache"><span>Copyright(c) 2017 The Apache Software Foundation. Licensed under the </span> <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a></p> - </div> - <div class="row clearfix"> - <div></div> - </div> -</footer> http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/layout/_partial/head.ejs ---------------------------------------------------------------------- diff --git a/doc/themes/weex/layout/_partial/head.ejs b/doc/themes/weex/layout/_partial/head.ejs deleted file mode 100644 index ccb76f8..0000000 --- a/doc/themes/weex/layout/_partial/head.ejs +++ /dev/null @@ -1,39 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <meta charset="utf-8"> - <% - var title = page.title; - - if (is_archive()){ - title = __('archive_a'); - - if (is_month()){ - title += ': ' + page.year + '/' + page.month; - } else if (is_year()){ - title += ': ' + page.year; - } - } else if (is_category()){ - title = __('category') + ': ' + page.category; - } else if (is_tag()){ - title = __('tag') + ': ' + page.tag; - } - %> - <title><% if (title){ %><%= title %> | <% } %><%= config.title %></title> - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> - <%- open_graph({twitter_id: theme.twitter, google_plus: theme.google_plus, fb_admins: theme.fb_admins, fb_app_id: theme.fb_app_id}) %> - <% if (theme.rss){ %> - <link rel="alternate" href="<%- theme.rss %>" title="<%= config.title %>" type="application/atom+xml"> - <% } %> - <% if (theme.favicon){ %> - <link rel="icon" href="//gw.alicdn.com/tps/TB1XNqxPXXXXXcSXVXXXXXXXXXX-64-63.png"> - <% } %> - <% if (config.highlight.enable){ %> - <link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css"> - <% } %> - <% if (config.docsearch.enable){ %> - <%- css('css/docsearch.min') %> - <% } %> - <%- css('css/style') %> - <%- css('css/swiper.min') %> -</head> http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/layout/_partial/header.ejs ---------------------------------------------------------------------- diff --git a/doc/themes/weex/layout/_partial/header.ejs b/doc/themes/weex/layout/_partial/header.ejs deleted file mode 100644 index a6d57e0..0000000 --- a/doc/themes/weex/layout/_partial/header.ejs +++ /dev/null @@ -1,77 +0,0 @@ -<header id="header"> - <div class="navbar"> - <a id="logo" href="<%= url_for_lang('/') %>"> - <img src="//img.alicdn.com/tps/TB1zBLaPXXXXXXeXXXXXXXXXXXX-121-59.svg" /> - </a> - <div class="main-nav"> - <ul class="links"> - <li><a href="<%= url_for_lang('guide') %>"><%= _p('menu.guide') %></a></li> - <li><a href="<%= url_for_lang('references') %>"><%= _p('menu.references') %></a></li> - <li><a href="<%= url_for_lang('guide/contributing.html') %>"><%= _p('menu.invovled') %></a></li> - <li class="dropdown"> - <a href="javascript:;"><%= _p('menu.tools') %></a> - <ul class="dropdown-menu subnav"> - <li> - <a href="<%= url_for_lang('playground.html') %>">Playground</a> - </li> - <li> - <a href="<%= url_for_lang('guide/tools/toolkit.html') %>">Weex-toolkit</a> - </li> - <li> - <a href="http://dotwe.org" target="_blank">Code Snippets</a> - </li> - <li> - <a href="https://market.dotwe.org" target="_blank">Market</a> - </li> - <li> - <a href="<%= url_for_lang('guide/tools/plugin.html') %>">Weex Language Plugin</a> - </li> - </ul> - </li> - <li class="dropdown"> - <a href="javascript:;"><%= _p('menu.note') %></a> - <ul class="dropdown-menu subnav"> - <li> - <a href="<%= url_for_lang('faq.html') %>"><%= _p('menu.faq') %></a> - </li> - <li> - <a href="<%= url_for_lang('releasenote.html') %>"><%= _p('menu.releasenote') %></a> - </li> - </ul> - </li> - <li><a href="/blog"><%= _p('menu.blog') %></a></li> - </ul> - <ul class="info"> - <li><a href="https://github.com/apache/incubator-weex/" target="_blank"><span class="btn-github iconfont icon-github"></span></a></li> - </ul> - <ul class="tools"> - <li> - <%- partial('_partial/search-form', {id_name: 'search-input-header'}) %> - </li> - <li> - <div class="dropdown select-lang"> - <a href="javascript:;" class="dropdown-toggle"> - Language - <span class="caret"></span> - </a> - <ul class="dropdown-menu pick-lang"> - <li> - <a href="<%= pick_lang('en') %>" data-lang="en">English</a> - </li> - <li> - <a href="<%= pick_lang('cn') %>" data-lang="zh-cn">ä¸æ</a> - </li> - </ul> - </div> - </li> - <!--<li></li>--> - </ul> - </div> - </div> - <div id="mobile-nav"> - <a id="logo" href="<%= url_for_lang('/') %>"> - <img src="//img.alicdn.com/tps/TB1zBLaPXXXXXXeXXXXXXXXXXXX-121-59.svg" /> - </a> - <a class="btn-menu"><span class="iconfont icon-nav"></span></a> - </div> -</header> http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/layout/_partial/post/category.ejs ---------------------------------------------------------------------- diff --git a/doc/themes/weex/layout/_partial/post/category.ejs b/doc/themes/weex/layout/_partial/post/category.ejs deleted file mode 100644 index db2ed48..0000000 --- a/doc/themes/weex/layout/_partial/post/category.ejs +++ /dev/null @@ -1,10 +0,0 @@ -<% if (post.categories && post.categories.length){ %> - <div class="article-category"> - <%- list_categories(post.categories, { - show_count: false, - class: 'article-category', - style: 'none', - separator: 'âº' - }) %> - </div> -<% } %> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/layout/_partial/post/nav.ejs ---------------------------------------------------------------------- diff --git a/doc/themes/weex/layout/_partial/post/nav.ejs b/doc/themes/weex/layout/_partial/post/nav.ejs deleted file mode 100644 index bc0f773..0000000 --- a/doc/themes/weex/layout/_partial/post/nav.ejs +++ /dev/null @@ -1,8 +0,0 @@ -<nav id="article-nav" class="article-nav"> - <a href="<%- post.prev ? url_for(post.prev.path) : ''%>" id="article-nav-newer" class="article-nav-link <%- post.prev ? 'enable' : 'disable' %>"> - Prev - </a> - <a href="<%- post.next ? url_for(post.next.path) : '' %>" id="article-nav-older" class="article-nav-link <%- post.next ? 'enable' : 'disable' %>"> - Next - </a> -</nav> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/layout/_partial/post/summary.ejs ---------------------------------------------------------------------- diff --git a/doc/themes/weex/layout/_partial/post/summary.ejs b/doc/themes/weex/layout/_partial/post/summary.ejs deleted file mode 100644 index abf1bc7..0000000 --- a/doc/themes/weex/layout/_partial/post/summary.ejs +++ /dev/null @@ -1,55 +0,0 @@ -<% var result = page.path.match(/(v-)(\d+(\.\d+))/) %> -<% var version = result ? +result[2] : 2.1 %> - -<div class="doc-nav-version"> - <select class="versionBtn" stype="<%- url_for_lang(page.type) %>"> - <% if (version == 2.1) { %> - <option value="2v" selected>v2.x</option> - <option value="1v">v1.x</option> - <% } else { %> - <option value="2v">v2.x</option> - <option value="1v" selected>v1.x</option> - <% } %> - </select> -</div> -<div class="summary"> - <h2 class="part-title"> - <% if (type) { %> - <%= _p('menu.' + type) %> - <% } %> - </h2> - <ul class="doc-summary"> - <% var pagesArr = site.pages.find({type: type, lang: page.lang, version: version}).sort('order') %> - <% var pages = [] %> - <% pagesArr.each(function (item) { %> - <% var i = Math.floor(item.order) - 1 %> - <% if(pages[i]) { %> - <% pages[i].push(item) %> - <% } else { %> - <% pages[i] = [];pages[i].push(item) %> - <% } %> - <% }) %> - - <% pages.forEach(function (item, index) { %> - <li> - <h3 class="chapter-title"><a href="<%= url_for(item[0].path) %>" class="sidebar-link <%- is_current(item[0].path, 'strict') ? 'current' : '' %> <%- item[0].is_new ? 'new' : '' %>"><%- item[0].title %></a></h3> - <% if (item.length > 1) { %> - <ul class="chapter"> - <% for (var i = 1; i < item.length; i++) { %> - <li> - <a href="<%= url_for(item[i].path) %>" class="sidebar-link <%- is_current(item[i].path, 'strict') ? 'current' : '' %> <%- item[i].is_new ? 'new' : '' %>"><%= item[i].title %></a> - </li> - <% } %> - </ul> - <% } %> - </li> - <% }) %> - - </ul> -</div> -<div class="hostbyaliyun"> - <a href="https://render.alipay.com/p/s/taobaonpm_click/weex_banner_click"> - <img src="https://render.alipay.com/p/s/taobaonpm_click/weex_banner" alt="" width="180px"> - </a> - <div style="color: #7f8c8d;font-size: 12px;">é¿éäºèµå©</div> -</div> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/layout/_partial/post/title.ejs ---------------------------------------------------------------------- diff --git a/doc/themes/weex/layout/_partial/post/title.ejs b/doc/themes/weex/layout/_partial/post/title.ejs deleted file mode 100644 index 2b487bf..0000000 --- a/doc/themes/weex/layout/_partial/post/title.ejs +++ /dev/null @@ -1,18 +0,0 @@ -<header class="article-header"> - <% if (post.link){ %> - <h1 itemprop="name"> - <a class="article-title" href="<%- url_for(post.link) %>" target="_blank" itemprop="url"><%= post.title %></a> - </h1> - <% } else if (post.title){ %> - <% if (index){ %> - <h1 itemprop="name"> - <a class="article-title" href="<%- url_for(post.path) %>"><%= post.title %></a> - </h1> - <% } else { %> - <h1 class="article-title" itemprop="name"> - <%= post.title %> - </h1> - <% } %> - <% } %> - <time class="article-date" datetime="<%= date_xml(post.date) %>">Updated time: <%= date(post.date, 'DD/MM/YYYY') %></time> -</header> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/layout/_partial/search-form.ejs ---------------------------------------------------------------------- diff --git a/doc/themes/weex/layout/_partial/search-form.ejs b/doc/themes/weex/layout/_partial/search-form.ejs deleted file mode 100644 index 7331be5..0000000 --- a/doc/themes/weex/layout/_partial/search-form.ejs +++ /dev/null @@ -1,8 +0,0 @@ -<div class="search"> - <form id="search-form" class="search-form"> <!-- æç´¢æ¡ç¸å ³ --> - <input type="text" id="<%= id_name %>" name="q" results="0" class="form-control search-input" autocomplete="off" autocorrect="off"/> - <span class="iconfont icon-search"></span> - </form> - <div class="results-panel"> - </div> -</div> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/layout/_partial/sidebar.ejs ---------------------------------------------------------------------- diff --git a/doc/themes/weex/layout/_partial/sidebar.ejs b/doc/themes/weex/layout/_partial/sidebar.ejs deleted file mode 100644 index f227a81..0000000 --- a/doc/themes/weex/layout/_partial/sidebar.ejs +++ /dev/null @@ -1,58 +0,0 @@ -<div id="sidebar" class="<%= page_type === 'index' ? 'index-sidebar' : '' %>"> - <div class="sidebar-menu"> - <% if (page_type =='guide' || page_type === 'references') { %> - <%- partial('_partial/search-form', {id_name: 'search-input-sidebar'}) %> - <%- partial('_partial/post/summary', {post: page, index: false, type: page_type}) %> - <% } else { %> - <ul class="main-nav"> - <li> - <%- partial('_partial/search-form', {id_name: 'search-input-sidebar'}) %> - </li> - <li> - <a class="" href="<%- url_for_lang('guide') %>"> - <%= _p('menu.guide') %> - </a> - </li> - <li> - <a class="" href="<%= url_for_lang('references') %>"> - <%= _p('menu.references') %> - </a> - </li> - <li> - <a href="<%= url_for_lang('faq.html') %>"> - <%= _p('menu.faq') %> - </a> - </li> - <li> - <p><%= _p('menu.tools') %></p> - <ul class="subnav"> - <li> - <a href="<%= url_for_lang('playground.html') %>">Playground</a> - </li> - <li> - <a href="<%= url_for_lang('guide/tools/devtools.html') %>">Devtools</a> - </li> - <li> - <a href="<%= url_for_lang('guide/tools/weexpack.html') %>">Weexpack</a> - </li> - <li> - <a href="http://dotwe.org" target="_blank">Snippets</a> - </li> - <li> - <a href="https://market.dotwe.org" target="_blank">Market</a> - </li> - <li> - <a href="<%= url_for_lang('guide/tools/plugin.html') %>">Weex Language Plugin</a> - </li> - </ul> - </li> - <li> - <a href="https://github.com/apache/incubator-weex/" target="_blank"> - <%= _p('menu.github') %> - </a> - </li> - </ul> - <% } %> - <a class="btn-close-sidebar iconfont icon-close"></a> - </div> -</div> http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/layout/_partial/slider.ejs ---------------------------------------------------------------------- diff --git a/doc/themes/weex/layout/_partial/slider.ejs b/doc/themes/weex/layout/_partial/slider.ejs deleted file mode 100644 index 6ddf55e..0000000 --- a/doc/themes/weex/layout/_partial/slider.ejs +++ /dev/null @@ -1,17 +0,0 @@ -<div id="slider"> - <div class="swiper-container swiper-container-horizontal"> - <div class="swiper-wrapper"> - <div class="swiper-slide" style="background:url('//gw.alicdn.com/tps/TB1rY5sPXXXXXbfapXXXXXXXXXX-800-800.png') 50% 50% / contain no-repeat"> - <div class="slide-content"> - <h1 class="page-title"><%= _p('index.page_title') %></h1> - <div class="btn-group"> - <a href="<%= url_for_lang('guide/index.html') %>" class="button get-started"><%= _p('index.get_started') %></a> - <a href="<%= url_for_lang('guide/contributing.html') %>" class="button get-started"><%= _p('menu.invovled') %></a> - </div> - </div> - </div> - </div> - <!--<div class="swiper-button-next iconfont icon-arrow-small"></div> - <div class="swiper-button-prev iconfont icon-arrow-small"></div>--> - </div> -</div> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/layout/archive.ejs ---------------------------------------------------------------------- diff --git a/doc/themes/weex/layout/archive.ejs b/doc/themes/weex/layout/archive.ejs deleted file mode 100644 index a319ae4..0000000 --- a/doc/themes/weex/layout/archive.ejs +++ /dev/null @@ -1,3 +0,0 @@ -<div class="blog-wrapper"> - <%- partial('_partial/archive', {pagination: config.archive, index: true}) %> -</div> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/layout/blog.ejs ---------------------------------------------------------------------- diff --git a/doc/themes/weex/layout/blog.ejs b/doc/themes/weex/layout/blog.ejs deleted file mode 100644 index a5b723d..0000000 --- a/doc/themes/weex/layout/blog.ejs +++ /dev/null @@ -1,3 +0,0 @@ -<div class="blog-wrapper wrapper"> - <%- partial('_partial/archive', {pagination: config.archive, index: true}) %> -</div> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/layout/category.ejs ---------------------------------------------------------------------- diff --git a/doc/themes/weex/layout/category.ejs b/doc/themes/weex/layout/category.ejs deleted file mode 100644 index 3ffe252..0000000 --- a/doc/themes/weex/layout/category.ejs +++ /dev/null @@ -1 +0,0 @@ -<%- partial('_partial/archive', {pagination: config.category, index: true}) %> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/layout/download.ejs ---------------------------------------------------------------------- diff --git a/doc/themes/weex/layout/download.ejs b/doc/themes/weex/layout/download.ejs deleted file mode 100644 index 6ea8a5a..0000000 --- a/doc/themes/weex/layout/download.ejs +++ /dev/null @@ -1,20 +0,0 @@ -<%- js('js/mobile-detect.js') %> -<script> - function parseWeexVersion(data){ - window.androidURL = data.androidDownload; - window.iosURL = data.iosDownload; - } - window.parseWeexVersion = parseWeexVersion; -</script> -<script src="https://h5.m.taobao.com/js/weex/playground/app/info.js"></script> - -<h5 style="text-align:center;margin-top: 100px;">please open this link in system browser</h5> - -<script> - var md = new MobileDetect(window.navigator.userAgent); - if ( md.is("iPhone") ) { - location = window.iosURL; - }else{ - location = window.androidURL; - } -</script> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/layout/example.ejs ---------------------------------------------------------------------- diff --git a/doc/themes/weex/layout/example.ejs b/doc/themes/weex/layout/example.ejs deleted file mode 100644 index 3976408..0000000 --- a/doc/themes/weex/layout/example.ejs +++ /dev/null @@ -1,40 +0,0 @@ -<div class="example-wrapper clearfix"> - <div class="horizontal"> - <h2><%- page.title %></h2> - <%- page.content %> - </div> - <div class="horizontal phone"> - <div class="mock-phone"> - <div class="inner"> - <iframe frameborder="0" src="about:blank" id="iframe"> - </iframe> - </div> - <div class="camera"></div> - <div class="earpiece"></div> - <div class="home-btn"></div> - </div> - </div> - <div class="horizontal qrcode"> - <div id="qrcode-img"></div> - <p>Playground Scan</p> - <p>ç®åè¿æªæä¾ Playground æ£å¼çä¸è½½ï¼éè¦æå¨ build playgroundã</p> - </div> -</div> -<script> - var WEB_BUNDLE_URL = location.origin + ROOT + 'js/examples/' + '<%- page.title %>' + '.web.js' - var NATIVE_BUNDLE_URL = location.origin + ROOT + 'js/examples/' + '<%- page.title %>' + '.weex.js' -</script> - -<%- js('js/qrcode.min.js') %> -<%- js('js/example.js') %> - -<script> -var qrcode = new QRCode(document.getElementById("qrcode-img"), { - text: NATIVE_BUNDLE_URL, - width: 150, - height: 150, - colorDark : "#000000", - colorLight : "#ffffff", - correctLevel : QRCode.CorrectLevel.H -}); -</script> http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/layout/index.ejs ---------------------------------------------------------------------- diff --git a/doc/themes/weex/layout/index.ejs b/doc/themes/weex/layout/index.ejs deleted file mode 100644 index b713fd4..0000000 --- a/doc/themes/weex/layout/index.ejs +++ /dev/null @@ -1,269 +0,0 @@ -<script> - ;(function(){ - var currentOrigin = location.origin || 'https://weex-project.io', - currentPathname = location.pathname, - currentLang = navigator.language || navigator.browserLanguage || 'en', - selectedLang = ''; - - if (window.localStorage) { - selectedLang = window.localStorage.getItem('lang') - currentLang = selectedLang ? selectedLang : currentLang - } - - if (/zh|cn/i.test(currentLang)) { // Chinese - if (currentPathname.indexOf('/cn/') != 0) { - location.href = currentOrigin + '/cn/' - } - } else if (/en/i.test(currentLang)) { // English - if (!/^\/$|^\/index/.test(currentPathname)) { - location.href = currentOrigin - } - } else { // Other - if (!/^\/$|^\/index/.test(currentPathname)) { - location.href = currentOrigin - } - } - })(); -</script> -<div class="scene header" style="background: #00BDFF;"> - <div class="scene-container"> - <div class="galaxy left"> - <canvas width="560" height="560" id="left-canvas"></canvas> - </div> - <div class="galaxy right"> - <canvas width="500" height="500" id="right-canvas"></canvas> - </div> - <%- partial('_partial/slider') %> - </div> -</div> -<div class="scene edge overlength horizon"> - <div class="scene-container"> - <div class="textbox"> - <h2><%= _p('index.edge.title') %></h2> - </div> - <div class="sketch-content"> - <div class="inner-box"> - <img src="//gw.alicdn.com/tps/TB17ga7PXXXXXbnXXXXXXXXXXXX-120-121.svg" alt="Lightweight"> - <h3><%= _p('index.edge.edge1.title') %></h3> - <span class="underline"></span> - <p><%= _p('index.edge.edge1.content') %></p> - </div> - <div class="inner-box"> - <img src="//gw.alicdn.com/tps/TB1BGSCPXXXXXb1aXXXXXXXXXXX-79-79.svg" alt="Extendable"> - <h3><%= _p('index.edge.edge2.title') %></h3> - <span class="underline"></span> - <p><%= _p('index.edge.edge2.content') %></p> - </div> - <div class="inner-box"> - <img src="//img.alicdn.com/tps/TB1uMC9PXXXXXaFXXXXXXXXXXXX-80-69.svg" alt="High Performance"> - <h3><%= _p('index.edge.edge3.title') %></h3> - <span class="underline"></span> - <p><%= _p('index.edge.edge3.content') %></p> - </div> - </div> - </div> -</div> - -<div class="scene feature"> - <div class="scene-container"> - <div class="feature-content"> - <div class="left-text"> - <h2><%= _p('index.feature.title') %></h2> - <p><%= _p('index.feature.content') %></p> - </div> - <div class="right-box"> - <div class="imgbox phone-layer level1"> - </div> - <div class="imgbox phone-layer level2"> - </div> - <div class="imgbox phone-layer level3"> - </div> - <div class="imgbox phone-layer level4"> - </div> - </div> - </div> - </div> -</div> - -<div class="scene cross-platform horizon"> - <div class="scene-container"> - <div class="textbox"> - <h2><%= _p('index.cross_platform.title') %></h2> - <p><%= _p('index.cross_platform.content') %></p> - </div> - <div class="sketch-content"> - <div class="inner-box imgbox ios"></div> - <div class="inner-box imgbox android"></div> - <div class="inner-box imgbox h5"></div> - </div> - </div> -</div> - -<div class="scene supporting-vue horizon"> - <div class="scene-container"> - <div class="textbox"> - <h2><%= _p('index.vue.title') %></h2> - <p><%= _p('index.vue.content') %></p> - </div> - <div class="sketch-content imgbox"> - <div class="imgbox"></div> - </div> - </div> -</div> - -<div class="scene schematic horizon"> - <div class="scene-container"> - <div class="textbox"> - <h2><%= _p('index.schematic.title') %></h2> - <p><%= _p('index.schematic.content') %></p> - </div> - <div class="sketch-content imgbox"> - </div> - </div> -</div> - -<div class="scene users horizon overlength"> - <div class="scene-container"> - <div class="textbox"> - <h2><%= _p('index.users.title') %></h2> - </div> - <div class="sketch-content"> - <div class="user-logo tmall-logo"> - <h3><%= _p('index.users.tmall.title') %></h3> - <div class="user-info"> - <h4><%= _p('index.users.tmall.title') %></h4> - <p><%= _p('index.users.tmall.content') %></p> - </div> - </div> - <div class="user-logo aliyun-logo"> - <h3><%= _p('index.users.aliyun.title') %></h3> - <div class="user-info"> - <h4><%= _p('index.users.aliyun.title') %></h4> - <p><%= _p('index.users.aliyun.content') %></p> - </div> - </div> - <div class="user-logo taobao-logo"> - <h3><%= _p('index.users.taobao.title') %></h3> - <div class="user-info"> - <h4><%= _p('index.users.taobao.title') %></h4> - <p><%= _p('index.users.taobao.content') %></p> - </div> - </div> - <div class="user-logo ding-logo"> - <h3><%= _p('index.users.dingtalk.title') %></h3> - <div class="user-info"> - <h4><%= _p('index.users.dingtalk.title') %></h4> - <p><%= _p('index.users.dingtalk.content') %></p> - </div> - </div> - <div class="user-logo alibaba-logo"> - <h3><%= _p('index.users.alibaba.title') %></h3> - <div class="user-info"> - <h4><%= _p('index.users.alibaba.title') %></h4> - <p><%= _p('index.users.alibaba.content') %></p> - </div> - </div> - <div class="user-logo cainiao-logo"> - <h3><%= _p('index.users.cainiao.title') %></h3> - <div class="user-info"> - <h4><%= _p('index.users.cainiao.title') %></h4> - <p><%= _p('index.users.cainiao.content') %></p> - </div> - </div> - <div class="user-logo xiami-logo"> - <h3><%= _p('index.users.xiami.title') %></h3> - <div class="user-info"> - <h4><%= _p('index.users.xiami.title') %></h4> - <p><%= _p('index.users.xiami.content') %></p> - </div> - </div> - <div class="user-logo youku-logo"> - <h3><%= _p('index.users.youku.title') %></h3> - <div class="user-info"> - <h4><%= _p('index.users.youku.title') %></h4> - <p><%= _p('index.users.youku.content') %></p> - </div> - </div> - <div class="user-logo taopiaopiao-logo"> - <h3><%= _p('index.users.taopiaopiao.title') %></h3> - <div class="user-info"> - <h4><%= _p('index.users.taopiaopiao.title') %></h4> - <p><%= _p('index.users.taopiaopiao.content') %></p> - </div> - </div> - <div class="user-logo fliggy-logo"> - <h3><%= _p('index.users.fliggy.title') %></h3> - <div class="user-info"> - <h4><%= _p('index.users.fliggy.title') %></h4> - <p><%= _p('index.users.fliggy.content') %></p> - </div> - </div> - <div class="user-logo juhuasuan-logo"> - <h3><%= _p('index.users.juhuasuan.title') %></h3> - <div class="user-info"> - <h4><%= _p('index.users.juhuasuan.title') %></h4> - <p><%= _p('index.users.juhuasuan.content') %></p> - </div> - </div> - <div class="user-logo qianniu-logo"> - <h3><%= _p('index.users.qianniu.title') %></h3> - <div class="user-info"> - <h4><%= _p('index.users.qianniu.title') %></h4> - <p><%= _p('index.users.qianniu.content') %></p> - </div> - </div> - </div> - <!--<div class="more"> - <a class="more" href="">More</a> - </div>--> - </div> -</div> - -<div class="scene feedback horizon overlength"> - <div class="scene-container"> - <div class="textbox"> - <h2><%= _p('index.feedback.title') %></h2> - </div> - <div class="sketch-content"> - <div class="user-feedback"> - <img class="avatar" src="//gw.alicdn.com/tps/TB1xHiYPXXXXXc8XpXXXXXXXXXX-130-130.jpg" alt="avatar"> - <p class="user-name"><%= _p('index.feedback.user1.name') %></p> - <p class="user-title"><%= _p('index.feedback.user1.title') %></p> - <p class="user-say"><%= _p('index.feedback.user1.content') %></p> - </div> - <div class="user-feedback"> - <img class="avatar" src="//gw.alicdn.com/tps/TB1e.CYPXXXXXcsXpXXXXXXXXXX-130-130.jpg" alt="avatar"> - <p class="user-name"><%= _p('index.feedback.user2.name') %></p> - <p class="user-title"><%= _p('index.feedback.user2.title') %></p> - <p class="user-say"><%= _p('index.feedback.user2.content') %></p> - </div> - <div class="user-feedback"> - <img class="avatar" src="//gw.alicdn.com/tps/TB15MOQPXXXXXbCXFXXXXXXXXXX-130-130.jpg" alt="avatar"> - <p class="user-name"><%= _p('index.feedback.user3.name') %></p> - <p class="user-title"><%= _p('index.feedback.user3.title') %></p> - <p class="user-say"><%= _p('index.feedback.user3.content') %></p> - </div> - </div> - <div class="go-2-doc"> - <a href="<%= url_for_lang('guide/index.html') %>" class="button get-started"><%= _p('index.get_started') %> â</a> - </div> - </div> -</div> -<a href="javascript:;" id="back2top" class="back2top"><span class="iconfont icon-arrow-small"></span></a> -<%- partial('_partial/footer') %> -<%- partial('_partial/after-footer') %> - -<%- js('js/swiper.min') %> -<%- js('js/velocity.js') %> -<script> -var swiper = new Swiper('.swiper-container', { - nextButton: '.swiper-button-next', - prevButton: '.swiper-button-prev', - slidesPerView: 1, - spaceBetween: 30, - loop: false, - autoplay: false, - autoplayDisableOnInteraction: false -}); -</script> - \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/layout/layout.ejs ---------------------------------------------------------------------- diff --git a/doc/themes/weex/layout/layout.ejs b/doc/themes/weex/layout/layout.ejs deleted file mode 100644 index ba6dee3..0000000 --- a/doc/themes/weex/layout/layout.ejs +++ /dev/null @@ -1,30 +0,0 @@ -<%- partial('_partial/head') %> -<body id="<%- page.type ? page.type : page.path.slice(0, -5) %>" class="lang-<%- page.lang %>"> - <% page_type = page.type ? page.type : page.path.slice(0, -5) %> - <script> - window.PAGE_TYPE = "<%= page_type %>"; - window.ROOT = "<%= config.root ? config.root : '/' %>" - </script> - <%- partial('_partial/header') %> - <%- partial('_partial/sidebar', {post: page, page_type: page_type}) %> - <%- body %> - - <%- js('js/reqwest.js') %> - <%- js('js/common.js') %> - <% if (config.docsearch.enable){ %> - <% index_name = page.path.indexOf('cn/') === 0 ? config.docsearch.index_name_cn : config.docsearch.index_name_en %> - <% api_key = page.path.indexOf('cn/') === 0 ? config.docsearch.api_key_cn : config.docsearch.api_key_en %> - <%- js('js/docsearch.min.js') %> - <script type="text/javascript"> - docsearch({ - apiKey: "<%= api_key %>", - indexName: "<%= index_name %>", - inputSelector: '#search-input-header', - algoliaOptions: { - hitsPerPage: 10 - } - }); - </script> - <% } %> -</body> -</html> http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/layout/page.ejs ---------------------------------------------------------------------- diff --git a/doc/themes/weex/layout/page.ejs b/doc/themes/weex/layout/page.ejs deleted file mode 100644 index abaa7b5..0000000 --- a/doc/themes/weex/layout/page.ejs +++ /dev/null @@ -1,7 +0,0 @@ -<div class="article-wrapper page-layout"> - <div class="doc-nav"> - - <%- partial('_partial/post/summary', {post: page, index: false, type: page.type ? page.type : ''}) %> - </div> - <%- partial('_partial/article', {post: page, index: false}) %> -</div> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/layout/playground.ejs ---------------------------------------------------------------------- diff --git a/doc/themes/weex/layout/playground.ejs b/doc/themes/weex/layout/playground.ejs deleted file mode 100644 index 88bfbc6..0000000 --- a/doc/themes/weex/layout/playground.ejs +++ /dev/null @@ -1,30 +0,0 @@ -<div class="wrapper playground-wrapper clearfix"> - <div class="left"> - <h2>Weex Playground</h2> - <p><%= _p('playground.content') %></p> - <div class="download clearfix"> - <img class="qr-code" src="//img.alicdn.com/tps/TB1Yv7ZQXXXXXaYaXXXXXXXXXXX-148-148.png" alt="playground qr code"> - <ul class="links"> - <li class="ios"> - <a href="" id="ios-link" class="link" target="_blank">iOS</a> - </li> - <li class="android"> - <a href="" id="android-link" class="link">Android</a> - </li> - </ul> - </div> - </div> - <div class="left"> - <img src="//gw.alicdn.com/tps/TB1831MPXXXXXXzXVXXXXXXXXXX-333-502.png" alt=""> - </div> -</div> - -<script type="text/javascript"> - function parseWeexVersion(data){ - document.getElementById("ios-link").href = data.iosDownload - document.getElementById("android-link").href = data.androidDownload - } - - window.parseWeexVersion = parseWeexVersion; -</script> -<script type="text/javascript" src="https://h5.m.taobao.com/js/weex/playground/app/info.js "></script> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/layout/post.ejs ---------------------------------------------------------------------- diff --git a/doc/themes/weex/layout/post.ejs b/doc/themes/weex/layout/post.ejs deleted file mode 100644 index 260fea0..0000000 --- a/doc/themes/weex/layout/post.ejs +++ /dev/null @@ -1,3 +0,0 @@ -<div class="wrapper article-wrapper post-layout"> - <%- partial('_partial/article', {post: page, index: false}) %> -</div> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/layout/tag.ejs ---------------------------------------------------------------------- diff --git a/doc/themes/weex/layout/tag.ejs b/doc/themes/weex/layout/tag.ejs deleted file mode 100644 index 048cdb0..0000000 --- a/doc/themes/weex/layout/tag.ejs +++ /dev/null @@ -1 +0,0 @@ -<%- partial('_partial/archive', {pagination: config.tag, index: true}) %> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/scripts/helper.js ---------------------------------------------------------------------- diff --git a/doc/themes/weex/scripts/helper.js b/doc/themes/weex/scripts/helper.js deleted file mode 100644 index 7efab2a..0000000 --- a/doc/themes/weex/scripts/helper.js +++ /dev/null @@ -1,56 +0,0 @@ -'use strict' -var cheerio = require('cheerio'); - -hexo.extend.helper.register('url_for_lang', function(path){ - var root = this.config.root || '' - var langsArr = this.config.language - var lang = this.page.lang - var isDefault = lang === langsArr[0] - var url = this.url_for(path) - - if (!isDefault && url.indexOf(lang) === -1) { - url = root + lang + url.replace(root, '/') - } - return url -}) - -hexo.extend.helper.register('page_anchor', function(str){ - var $ = cheerio.load(str, {decodeEntities: false}); - var headings = $('h1, h2, h3, h4, h5, h6'); - - if (!headings.length) return str; - - headings.each(function(){ - var id = $(this).attr('id'); - - $(this) - .addClass('article-heading') - .append('<a class="article-anchor" href="#' + id + '" aria-hidden="true"></a>'); - }); - - return $.html(); -}); - -hexo.extend.helper.register('pick_lang', function(lang){ - var root = this.config.root || '' - var langsArr = this.config.language - var currentLang = this.page.lang - var path = this.page.path - var url = '' - - if (path.split('/')[0] === currentLang) { - path = path.substring(currentLang.length) - } - - if (path[0] !== '/') { - path = '/' + path - } - - if (lang === langsArr[0] || lang === '') { - url = root + path.substring(1) - } else { - url = root + lang + path - } - - return url -}) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/source/css/animation.scss ---------------------------------------------------------------------- diff --git a/doc/themes/weex/source/css/animation.scss b/doc/themes/weex/source/css/animation.scss deleted file mode 100644 index 09c6ca8..0000000 --- a/doc/themes/weex/source/css/animation.scss +++ /dev/null @@ -1,250 +0,0 @@ -.solar { - margin: 250px auto 350px; - height: 50px; - width: 50px; - background: orange; - border-radius: 25px; - position: relative; - -webkit-animation: glow 1.5s linear infinite; - -moz-animation: glow 1.5s linear infinite; -} - -.solar i { - border-radius: 250px; - display: block; - position: absolute; - border: 1px solid rgba(255, 255, 255, 0.15); - box-sizing: border-box; - -moz-box-sizing: border-box; - -webkit-transform-origin: 50% 50%; - -moz-transform-origin: 50% 50%; -} - -.solar i:before { - content: ''; - border-radius: 25px; - background: black; - display: block; - position: absolute; - top: -5px; - right: 45%; -} - -.solar i.mercury { - width: 80px; - height: 80px; - margin-left: -40px; - left: 50%; - top: 50%; - margin-top: -40px; - -webkit-animation: orbit .5s linear infinite; - -moz-animation: orbit .5s linear infinite; -} - -.solar i.mercury:before { - background: #6F5F5F; - height: 7px; - width: 7px; -} - -.solar i.venus { - width: 110px; - height: 110px; - margin-left: -55px; - left: 50%; - top: 50%; - margin-top: -55px; - -webkit-animation: orbit 1s linear infinite; - -moz-animation: orbit 1s linear infinite; -} - -.solar i.venus:before { - background: #E7A71F; - height: 10px; - width: 10px; -} - -.solar i.earth { - width: 140px; - height: 140px; - margin-left: -70px; - left: 50%; - top: 50%; - margin-top: -70px; - -webkit-animation: orbit 1.5s linear infinite; - -moz-animation: orbit 1.5s linear infinite; -} - -.solar i.earth:before { - background: #63BEE2; - height: 10px; - width: 10px; -} - -.solar i.mars { - width: 170px; - height: 170px; - margin-left: -85px; - left: 50%; - top: 50%; - margin-top: -85px; - -webkit-animation: orbit 2s linear infinite; - -moz-animation: orbit 2s linear infinite; -} - -.solar i.mars:before { - background: red; - height: 10px; - width: 10px; -} - -.solar i.belt { - box-sizing: border-box; - -moz-box-sizing: border-box; - border-width: 25px; - width: 240px; - height: 240px; - margin-left: -120px; - border-color: rgba(36, 35, 35, 0.21); - left: 50%; - top: 50%; - margin-top: -120px; -} - -.solar i.jupiter { - width: 260px; - height: 260px; - margin-left: -130px; - left: 50%; - top: 50%; - margin-top: -130px; - -webkit-animation: orbit 2.5s linear infinite; - -moz-animation: orbit 2.5s linear infinite; -} - -.solar i.jupiter:before { - background: #CF9B2B; - top: -15px; - height: 30px; - width: 30px; -} - -.solar i.saturn { - width: 320px; - height: 320px; - margin-left: -160px; - left: 50%; - top: 50%; - margin-top: -160px; - -webkit-animation: orbit 3s linear infinite; - -moz-animation: orbit 3s linear infinite; -} - -.solar i.saturn:before { - background: #CF7A2B; - top: -10px; - height: 20px; - width: 20px; -} - -.solar i.saturn:after { - background: #fff; - width: 30px; - height: 1px; - content: ''; - position: absolute; - display: block; - background: #FFF; - width: 30px; - height: 1px; - content: ''; - right: 43.5%; - -webkit-transform: rotate(20deg); - -moz-transform: rotate(20deg); -} - -.solar i.uranus { - width: 360px; - height: 360px; - margin-left: -180px; - left: 50%; - top: 50%; - margin-top: -180px; - -webkit-animation: orbit 3.5s linear infinite; - -moz-animation: orbit 3.5s linear infinite; -} - -.solar i.uranus:before { - background: #10C593; - top: -8px; - height: 15px; - width: 15px; -} - -.solar i.neptune { - width: 400px; - height: 400px; - margin-left: -200px; - left: 50%; - top: 50%; - margin-top: -200px; - -webkit-animation: orbit 4s linear infinite; - -moz-animation: orbit 4s linear infinite; -} - -.solar i.neptune:before { - background: #1470E4; - top: -8px; - height: 15px; - width: 15px; -} - -@-webkit-keyframes orbit { - 0% { - -webkit-transform: rotate(0deg); - } - 50% { - -webkit-transform: rotate(-180deg); - } - 100% { - -webkit-transform: rotate(-360deg); - } -} - -@-webkit-keyframes glow { - 0% { - box-shadow: none; - } - 50% { - background: #FFEB00; - box-shadow: 0 0 20px orange; - } - 100% { - box-shadow: none; - } -} - -@-moz-keyframes orbit { - 0% { - -moz-transform: rotate(0deg); - } - 50% { - -moz-transform: rotate(-180deg); - } - 100% { - -moz-transform: rotate(-360deg); - } -} - -@-moz-keyframes glow { - 0% { - box-shadow: none; - } - 50% { - background: #FFEB00; - box-shadow: 0 0 20px orange; - } - 100% { - box-shadow: none; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/source/css/atom-one-dark.scss ---------------------------------------------------------------------- diff --git a/doc/themes/weex/source/css/atom-one-dark.scss b/doc/themes/weex/source/css/atom-one-dark.scss deleted file mode 100644 index 1616aaf..0000000 --- a/doc/themes/weex/source/css/atom-one-dark.scss +++ /dev/null @@ -1,96 +0,0 @@ -/* - -Atom One Dark by Daniel Gamage -Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax - -base: #282c34 -mono-1: #abb2bf -mono-2: #818896 -mono-3: #5c6370 -hue-1: #56b6c2 -hue-2: #61aeee -hue-3: #c678dd -hue-4: #98c379 -hue-5: #e06c75 -hue-5-2: #be5046 -hue-6: #d19a66 -hue-6-2: #e6c07b - -*/ - -.hljs { - display: block; - overflow-x: auto; - padding: 0.5em; - color: #abb2bf; - background: #282c34; -} - -.hljs-comment, -.hljs-quote { - color: #5c6370; - font-style: italic; -} - -.hljs-doctag, -.hljs-keyword, -.hljs-formula { - color: #c678dd; -} - -.hljs-section, -.hljs-name, -.hljs-selector-tag, -.hljs-deletion, -.hljs-subst { - color: #e06c75; -} - -.hljs-literal { - color: #56b6c2; -} - -.hljs-string, -.hljs-regexp, -.hljs-addition, -.hljs-attribute, -.hljs-meta-string { - color: #98c379; -} - -.hljs-built_in, -.hljs-class .hljs-title { - color: #e6c07b; -} - -.hljs-attr, -.hljs-variable, -.hljs-template-variable, -.hljs-type, -.hljs-selector-class, -.hljs-selector-attr, -.hljs-selector-pseudo, -.hljs-number { - color: #d19a66; -} - -.hljs-symbol, -.hljs-bullet, -.hljs-link, -.hljs-meta, -.hljs-selector-id, -.hljs-title { - color: #61aeee; -} - -.hljs-emphasis { - font-style: italic; -} - -.hljs-strong { - font-weight: bold; -} - -.hljs-link { - text-decoration: underline; -} http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/source/css/blog.scss ---------------------------------------------------------------------- diff --git a/doc/themes/weex/source/css/blog.scss b/doc/themes/weex/source/css/blog.scss deleted file mode 100644 index 4f5fb55..0000000 --- a/doc/themes/weex/source/css/blog.scss +++ /dev/null @@ -1,39 +0,0 @@ -@import "variable.scss"; - -.blog-wrapper { - position: relative; - width: 100%; - margin: 120px auto 90px; - max-width: 900px; - min-height: 100%; - - .article-excerpt { - &.article { - margin: 0; - } - - > h1 { - display: none; - } - - .weex-version { - display: none; - } - } - - .blog-article-inner { - padding: 0 1.45em; - margin-bottom: 50px; - a{ - line-height: 120% - } - } - - .more-link { - display: block; - color: $text-gray; - &:hover { - color: #777; - } - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/source/css/common.scss ---------------------------------------------------------------------- diff --git a/doc/themes/weex/source/css/common.scss b/doc/themes/weex/source/css/common.scss deleted file mode 100644 index d03be9f..0000000 --- a/doc/themes/weex/source/css/common.scss +++ /dev/null @@ -1,256 +0,0 @@ -@import "variable.scss"; - -/*********************** -* Reset -***********************/ -*, *:before, *:after { - box-sizing: border-box; -} - -html, body { - width: 100%; - height: 100%; - /*overflow-x: hidden; - overflow-y: auto;*/ - margin: 0; - padding: 0; -} - -body { - background: $bg-white; - // font-family: Exo,'-apple-system','Open Sans',HelveticaNeue-Light,'Helvetica Neue Light','Helvetica Neue','Hiragino Sans GB','Microsoft YaHei',Helvetica,Arial,sans-serif; - font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif; - // font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft Yahei', 'WenQuanYi Micro Hei',sans-serif; - // font-size:62.5%;max-height:100%; - font-size: 14px; - line-height: 120%; - color: $text-light-black; - -webkit-tap-highlight-color: transparent; -} - - -@font-face {font-family: "iconfont"; - src: url('//at.alicdn.com/t/font_i0r1euwhok5oecdi.eot?t=1481812721653'); /* IE9*/ - src: url('//at.alicdn.com/t/font_i0r1euwhok5oecdi.eot?t=1481812721653#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('//at.alicdn.com/t/font_i0r1euwhok5oecdi.woff?t=1481812721653') format('woff'), /* chrome, firefox */ - url('//at.alicdn.com/t/font_i0r1euwhok5oecdi.ttf?t=1481812721653') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/ - url('//at.alicdn.com/t/font_i0r1euwhok5oecdi.svg?t=1481812721653#iconfont') format('svg'); /* iOS 4.1- */ -} - -.iconfont { - font-family:"iconfont" !important; - font-size: 20px; - font-style:normal; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.icon-nav:before { content: "\e60c"; } - -.icon-github:before { content: "\e69f"; } - -.icon-search:before { content: "\e605"; } - -.icon-arrow:before { content: "\e623"; } - -.icon-close:before { content: "\e780"; } - -.icon-arrow-small:before { content: "\e67c"; } - -.icon-baichuan:before { content: "\e602"; } - -.icon-back2top:before { content: "\e604"; } - -a { - cursor: pointer; - color: $text-light-black; - text-decoration: none; - &:hover { - color: $text-gray; - } -} - -img { - max-width: 100%; - vertical-align:middle; -} - -p { - font-weight: normal; - margin: 0 0 1em; -} -h1,h2,h3,h4,h5,h6{ - font-weight: bold; - margin: 0 0 1em; -} -h1 { - font-size: 2em; -} - -h2 { - font-size: 1.75em; -} - -h3 { - font-size: 1.5em; -} - -h4 { - font-size: 1.25em; -} - -h5 { - font-size: 1.1em; -} - -blockquote { - margin: 0; - padding: 1em 0 1px 20px; - border-left: 5px solid #ddd; -} -/*********************** -* Common style -***********************/ -.button { - display: inline-block; - font-size: 1.05em; - width: 10em; - height: 2.5em; - line-height: 2.5em; - text-align: center; - color: #fff; - background: #ff3e33; - border: #ff3e33 1px solid; - border-radius: 2em; - box-shadow: 2px 2px 4px rgba(0, 0, 0, .16); - - &:hover { - background: #d63f36; - border: #d63f36 1px solid; - } -} - -.clearfix { - &:before, &:after { - display: table; - content: " " - } - - &:after { - clear: both - } -} - -.imgbox { - width: 100%; - height: 100%; - - img { - width: 100%; - } -} - -.dropdown { - position: relative; - - .dropdown-toggle { - display: block; - font-size: 14px; - text-align: center; - color: $text-light-black; - text-decoration: none; - } - - .dropdown-menu { - display: none; - position: absolute; - top: 100%; - left: 0; - z-index: 999; - float: left; - padding: 5px 0; - margin: 0; - font-size: 14px; - text-align: left; - list-style: none; - background-color: #fff; - background-clip: padding-box; - border: 1px solid #999ba4; - box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1); - - & > li > a { - display: block; - padding: 3px 20px; - clear: both; - font-weight: 400; - line-height: 1.42857143; - color: $text-light-black; - white-space: nowrap; - - &:hover { - color: $text-light-black; - text-decoration: none; - background-color: #f5f5f5; - } - } - } - - &:hover .dropdown-menu { - display: block; - } -} - - -a.current { - border-bottom: .2em solid $text-blue; -} - -.scrollbar-measure { - position: absolute; - top: -9999px; - width: 50px; - height: 50px; - overflow: scroll; -} - -.show { - display: block !important; -} - -.hide { - display: none !important; -} - -table { - display: table; - width: 100%; - border-collapse: collapse; - border-spacing: 0; - overflow: auto -} - -table td, table th { - padding: 6px 13px; - border: 1px solid #ddd -} - -table tr { - background-color: #fff; - border-top: 1px solid #ccc -} - -table tr:nth-child(2n) { - background-color: #f8f8f8 -} - -table th { - font-weight: 700 -} - -.api-version { - font-size: 12px; - padding: 1px 7px; - background: $text-blue; - color: #fff; - border-radius: 20px; -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/source/css/docsearch.min.css ---------------------------------------------------------------------- diff --git a/doc/themes/weex/source/css/docsearch.min.css b/doc/themes/weex/source/css/docsearch.min.css deleted file mode 100644 index b16031e..0000000 --- a/doc/themes/weex/source/css/docsearch.min.css +++ /dev/null @@ -1,2 +0,0 @@ -@charset "UTF-8"; -/*! docsearch 1.5.0 | © Algolia | github.com/algolia/docsearch */.aa-dropdown-menu{background-color:#fff;border:1px solid #333;border-radius:4px;font-size:16px;margin:6px 0 0;padding:4px;text-align:left}.algolia-docsearch-suggestion{color:#333;cursor:pointer;overflow:hidden}.algolia-docsearch-suggestion__secondary{border-top:1px solid #3a3a3a}.algolia-docsearch-suggestion--category-header{display:none;background:#3c4658;color:#fff;font-weight:600;padding:5px 10px;text-align:left}.algolia-docsearch-suggestion__main .algolia-docsearch-suggestion--category-header{display:block}.algolia-docsearch-suggestion--highlight{padding:0;color:#0064e1;background:none;font-weight:600}.algolia-docsearch-suggestion--category-header .algolia-docsearch-suggestion--highlight{color:inherit;background:#5b6a85}.aa-cursor .algolia-docsearch-suggestion--content{color:#0064e1}.aa-cursor .algolia-docsearch-suggestion{background:#e7edf3}.algolia-docsearch-suggestion--subcategory-column{display:none;cursor:def ault}.algolia-docsearch-suggestion--text{display:none}.algolia-docsearch-suggestion--content{padding:3px 5px;width:100%;border-top:1px solid #d3d3d3}.algolia-docsearch-suggestion__main .algolia-docsearch-suggestion--content,.algolia-docsearch-suggestion__secondary .algolia-docsearch-suggestion--content{border-top:0}.algolia-docsearch-suggestion--subcategory-inline{display:inline-block;font-weight:700}.algolia-docsearch-suggestion--subcategory-inline:after{content:" ⺠"}.algolia-docsearch-suggestion--title{display:inline}.algolia-docsearch-footer{border-top:1px solid #606060;text-align:right;font-size:12px;padding:4px 2px 0 0;color:#333}.algolia-docsearch-footer .algolia-docsearch-footer--logo{display:inline-block!important;width:111px;height:15px;text-indent:101%;overflow:hidden;white-space:nowrap;background-image:url("data:image/svg+xml;utf8,<svg viewBox='0 0 130 18' xmlns='http://www.w3.org/2000/svg'><defs><linearGradient x1='-36.868%' y1='134.936%' x2='129.432%' y2='-27.7%' id= 'a'><stop stop-color='%2300AEFF' offset='0%'/><stop stop-color='%233369E7' offset='100%'/></linearGradient></defs><g fill='none' fill-rule='evenodd'><path d='M59.399.022h13.299a2.372 2.372 0 0 1 2.377 2.364V15.62a2.372 2.372 0 0 1-2.377 2.364H59.399a2.372 2.372 0 0 1-2.377-2.364V2.381A2.368 2.368 0 0 1 59.399.022z' fill='url(%23a)'/><path d='M66.257 4.56c-2.815 0-5.1 2.272-5.1 5.078 0 2.806 2.284 5.072 5.1 5.072 2.815 0 5.1-2.272 5.1-5.078 0-2.806-2.279-5.072-5.1-5.072zm0 8.652c-1.983 0-3.593-1.602-3.593-3.574 0-1.972 1.61-3.574 3.593-3.574 1.983 0 3.593 1.602 3.593 3.574a3.582 3.582 0 0 1-3.593 3.574zm0-6.418v2.664c0 .076.082.131.153.093l2.377-1.226c.055-.027.071-.093.044-.147a2.96 2.96 0 0 0-2.465-1.487c-.055 0-.11.044-.11.104l.001-.001zm-3.33-1.956l-.312-.311a.783.783 0 0 0-1.106 0l-.372.37a.773.773 0 0 0 0 1.101l.307.305c.049.049.121.038.164-.011.181-.245.378-.479.597-.697.225-.223.455-.42.707-.599.055-.033.06-.109.016-.158h-.001zm5.001-.806v-.616a.781.781 0 0 0-.783-.779h-1.824 a.78.78 0 0 0-.783.779v.632c0 .071.066.12.137.104a5.736 5.736 0 0 1 1.588-.223c.52 0 1.035.071 1.534.207a.106.106 0 0 0 .131-.104z' fill='%23FFF'/><path d='M102.162 13.762c0 1.455-.372 2.517-1.123 3.193-.75.676-1.895 1.013-3.44 1.013-.564 0-1.736-.109-2.673-.316l.345-1.689c.783.163 1.819.207 2.361.207.86 0 1.473-.174 1.84-.523.367-.349.548-.866.548-1.553v-.349a6.374 6.374 0 0 1-.838.316 4.151 4.151 0 0 1-1.194.158 4.515 4.515 0 0 1-1.616-.278 3.385 3.385 0 0 1-1.254-.817 3.744 3.744 0 0 1-.811-1.351c-.192-.539-.29-1.504-.29-2.212 0-.665.104-1.498.307-2.054a3.925 3.925 0 0 1 .904-1.433 4.124 4.124 0 0 1 1.441-.926 5.31 5.31 0 0 1 1.945-.365c.696 0 1.337.087 1.961.191a15.86 15.86 0 0 1 1.588.332v8.456h-.001zm-5.954-4.206c0 .893.197 1.885.592 2.299.394.414.904.621 1.528.621.34 0 .663-.049.964-.142a2.75 2.75 0 0 0 .734-.332v-5.29a8.531 8.531 0 0 0-1.413-.18c-.778-.022-1.369.294-1.786.801-.411.507-.619 1.395-.619 2.223zm16.12 0c0 .719-.104 1.264-.318 1.858a4.389 4.389 0 0 1-.904 1.52c-.3 89.42-.854.746-1.402.975-.548.229-1.391.36-1.813.36-.422-.005-1.26-.125-1.802-.36a4.088 4.088 0 0 1-1.397-.975 4.486 4.486 0 0 1-.909-1.52 5.037 5.037 0 0 1-.329-1.858c0-.719.099-1.411.318-1.999.219-.588.526-1.09.92-1.509.394-.42.865-.741 1.402-.97a4.547 4.547 0 0 1 1.786-.338 4.69 4.69 0 0 1 1.791.338c.548.229 1.019.55 1.402.97.389.42.69.921.909 1.509.23.588.345 1.28.345 1.999h.001zm-2.191.005c0-.921-.203-1.689-.597-2.223-.394-.539-.948-.806-1.654-.806-.707 0-1.26.267-1.654.806-.394.539-.586 1.302-.586 2.223 0 .932.197 1.558.592 2.098.394.545.948.812 1.654.812.707 0 1.26-.272 1.654-.812.394-.545.592-1.166.592-2.098h-.001zm6.962 4.707c-3.511.016-3.511-2.822-3.511-3.274L113.583.926l2.142-.338v10.003c0 .256 0 1.88 1.375 1.885v1.792h-.001zm3.774 0h-2.153V5.072l2.153-.338v9.534zm-1.079-10.542c.718 0 1.304-.578 1.304-1.291 0-.714-.581-1.291-1.304-1.291-.723 0-1.304.578-1.304 1.291 0 .714.586 1.291 1.304 1.291zm6.431 1.013c.707 0 1.304.087 1.786.262.482.174.871.42 1.156.73.285.311.488.735 .608 1.182.126.447.186.937.186 1.476v5.481a25.24 25.24 0 0 1-1.495.251c-.668.098-1.419.147-2.251.147a6.829 6.829 0 0 1-1.517-.158 3.213 3.213 0 0 1-1.178-.507 2.455 2.455 0 0 1-.761-.904c-.181-.37-.274-.893-.274-1.438 0-.523.104-.855.307-1.215.208-.36.487-.654.838-.883a3.609 3.609 0 0 1 1.227-.49 7.073 7.073 0 0 1 2.202-.103c.263.027.537.076.833.147v-.349c0-.245-.027-.479-.088-.697a1.486 1.486 0 0 0-.307-.583c-.148-.169-.34-.3-.581-.392a2.536 2.536 0 0 0-.915-.163c-.493 0-.942.06-1.353.131-.411.071-.75.153-1.008.245l-.257-1.749c.268-.093.668-.185 1.183-.278a9.335 9.335 0 0 1 1.66-.142l-.001-.001zm.181 7.731c.657 0 1.145-.038 1.484-.104v-2.168a5.097 5.097 0 0 0-1.978-.104c-.241.033-.46.098-.652.191a1.167 1.167 0 0 0-.466.392c-.121.169-.175.267-.175.523 0 .501.175.79.493.981.323.196.75.289 1.293.289h.001zM84.109 4.794c.707 0 1.304.087 1.786.262.482.174.871.42 1.156.73.29.316.487.735.608 1.182.126.447.186.937.186 1.476v5.481a25.24 25.24 0 0 1-1.495.251c-.668.098-1.419.147-2.251.147a6.8 29 6.829 0 0 1-1.517-.158 3.213 3.213 0 0 1-1.178-.507 2.455 2.455 0 0 1-.761-.904c-.181-.37-.274-.893-.274-1.438 0-.523.104-.855.307-1.215.208-.36.487-.654.838-.883a3.609 3.609 0 0 1 1.227-.49 7.073 7.073 0 0 1 2.202-.103c.257.027.537.076.833.147v-.349c0-.245-.027-.479-.088-.697a1.486 1.486 0 0 0-.307-.583c-.148-.169-.34-.3-.581-.392a2.536 2.536 0 0 0-.915-.163c-.493 0-.942.06-1.353.131-.411.071-.75.153-1.008.245l-.257-1.749c.268-.093.668-.185 1.183-.278a8.89 8.89 0 0 1 1.66-.142l-.001-.001zm.186 7.736c.657 0 1.145-.038 1.484-.104v-2.168a5.097 5.097 0 0 0-1.978-.104c-.241.033-.46.098-.652.191a1.167 1.167 0 0 0-.466.392c-.121.169-.175.267-.175.523 0 .501.175.79.493.981.318.191.75.289 1.293.289h.001zm8.682 1.738c-3.511.016-3.511-2.822-3.511-3.274L89.461.926l2.142-.338v10.003c0 .256 0 1.88 1.375 1.885v1.792h-.001z' fill='%23182359'/><path d='M5.027 11.025c0 .698-.252 1.246-.757 1.644-.505.397-1.201.596-2.089.596-.888 0-1.615-.138-2.181-.414v-1.214c.358.168.739.301 1.141.397.403.097.77 8.145 1.125.145.508 0 .884-.097 1.125-.29a.945.945 0 0 0 .363-.779.978.978 0 0 0-.333-.747c-.222-.204-.68-.446-1.375-.725-.716-.29-1.221-.621-1.515-.994-.294-.372-.44-.82-.44-1.343 0-.655.233-1.171.698-1.547.466-.376 1.09-.564 1.875-.564.752 0 1.5.165 2.245.494l-.408 1.047c-.698-.294-1.321-.44-1.869-.44-.415 0-.73.09-.945.271a.89.89 0 0 0-.322.717c0 .204.043.379.129.524.086.145.227.282.424.411.197.129.551.299 1.063.51.577.24.999.464 1.268.671.269.208.466.442.591.704.125.261.188.569.188.924l-.001.002zm3.98 2.24c-.924 0-1.646-.269-2.167-.808-.521-.539-.782-1.281-.782-2.226 0-.97.242-1.733.725-2.288.483-.555 1.148-.833 1.993-.833.784 0 1.404.238 1.858.714.455.476.682 1.132.682 1.966v.682H7.357c.018.577.174 1.02.467 1.329.294.31.707.465 1.241.465.351 0 .678-.033.98-.099a5.1 5.1 0 0 0 .975-.33v1.026a3.865 3.865 0 0 1-.935.312 5.723 5.723 0 0 1-1.08.091l.002-.001zm-.231-5.199c-.401 0-.722.127-.964.381s-.386.625-.432 1.112h2.696c-.007-.491-.125-.862-.354-1.115-.229-.252-.544-.379-.945-.379 l-.001.001zm7.692 5.092l-.252-.827h-.043c-.286.362-.575.608-.865.739-.29.131-.662.196-1.117.196-.584 0-1.039-.158-1.367-.473-.328-.315-.491-.761-.491-1.337 0-.612.227-1.074.682-1.386.455-.312 1.148-.482 2.079-.51l1.026-.032v-.317c0-.38-.089-.663-.266-.851-.177-.188-.452-.282-.824-.282-.304 0-.596.045-.876.134a6.68 6.68 0 0 0-.806.317l-.408-.902a4.414 4.414 0 0 1 1.058-.384 4.856 4.856 0 0 1 1.085-.132c.756 0 1.326.165 1.711.494.385.329.577.847.577 1.552v4.002h-.902l-.001-.001zm-1.88-.859c.458 0 .826-.128 1.104-.384.278-.256.416-.615.416-1.077v-.516l-.763.032c-.594.021-1.027.121-1.297.298s-.406.448-.406.814c0 .265.079.47.236.615.158.145.394.218.709.218h.001zm7.557-5.189c.254 0 .464.018.628.054l-.124 1.176a2.383 2.383 0 0 0-.559-.064c-.505 0-.914.165-1.227.494-.313.329-.47.757-.47 1.284v3.105h-1.262V7.218h.988l.167 1.047h.064c.197-.354.454-.636.771-.843a1.83 1.83 0 0 1 1.023-.312h.001zm4.125 6.155c-.899 0-1.582-.262-2.049-.787-.467-.525-.701-1.277-.701-2.259 0-.999.244-1.767.733-2.304 .489-.537 1.195-.806 2.119-.806.627 0 1.191.116 1.692.349l-.381 1.015c-.534-.208-.974-.312-1.321-.312-1.028 0-1.542.682-1.542 2.046 0 .666.128 1.166.384 1.501.256.335.631.502 1.125.502a3.23 3.23 0 0 0 1.595-.419v1.101a2.53 2.53 0 0 1-.722.285 4.356 4.356 0 0 1-.932.086v.002zm8.277-.107h-1.268V9.506c0-.458-.092-.8-.277-1.026-.184-.226-.477-.338-.878-.338-.53 0-.919.158-1.168.475-.249.317-.373.848-.373 1.593v2.949h-1.262V4.801h1.262v2.122c0 .34-.021.704-.064 1.09h.081a1.76 1.76 0 0 1 .717-.666c.306-.158.663-.236 1.072-.236 1.439 0 2.159.725 2.159 2.175v3.873l-.001-.001zm7.649-6.048c.741 0 1.319.269 1.732.806.414.537.62 1.291.62 2.261 0 .974-.209 1.732-.628 2.275-.419.542-1.001.814-1.746.814-.752 0-1.336-.27-1.751-.811h-.086l-.231.704h-.945V4.801h1.262v1.987l-.021.655-.032.553h.054c.401-.591.992-.886 1.772-.886zm-.328 1.031c-.508 0-.875.149-1.098.448-.224.299-.339.799-.346 1.501v.086c0 .723.115 1.247.344 1.571.229.324.603.486 1.123.486.448 0 .787-.177 1.018-.532.231-.354.346-.867.346-1 .536 0-1.35-.462-2.025-1.386-2.025l-.001.001zm3.244-.924h1.375l1.209 3.368c.183.48.304.931.365 1.354h.043c.032-.197.091-.436.177-.717.086-.281.541-1.616 1.364-4.004h1.364l-2.541 6.73c-.462 1.235-1.232 1.853-2.31 1.853-.279 0-.551-.03-.816-.091v-.999c.19.043.406.064.65.064.609 0 1.037-.353 1.284-1.058l.22-.559-2.385-5.941h.001z' fill='%231D3657'/></g></svg>");background-repeat:no-repeat;background-size:contain;vertical-align:middle;padding:0!important}@media (min-width:568px){.aa-dropdown-menu{min-width:400px}.algolia-docsearch-suggestion--text{display:block;font-size:.9em;padding:2px 0}}@media (min-width:768px){.aa-dropdown-menu{min-width:600px}.algolia-docsearch-suggestion{display:table;width:100%}.algolia-docsearch-suggestion__secondary{border-top:1px solid #606060}.algolia-docsearch-suggestion--subcategory-column{border-right:1px solid #606060;background:#f1f3f5;color:#555;display:table-cell;overflow:hidden;padding:5px 7px 5px 5px;text-align:right;text-overflow:ellipsis;vertical- align:top;width:135px;max-width:135px;min-width:135px}.algolia-docsearch-suggestion--subcategory-column-text{display:none}.algolia-docsearch-suggestion__secondary .algolia-docsearch-suggestion--subcategory-column-text{display:block}.algolia-docsearch-suggestion--content{display:table-cell;padding:5px 10px}.algolia-docsearch-suggestion--subcategory-inline{display:none}.algolia-docsearch-suggestion--title{font-weight:600}.algolia-docsearch-suggestion--text{display:block;font-weight:400;padding:2px}} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8162f8c2/doc/themes/weex/source/css/example.scss ---------------------------------------------------------------------- diff --git a/doc/themes/weex/source/css/example.scss b/doc/themes/weex/source/css/example.scss deleted file mode 100644 index 164040a..0000000 --- a/doc/themes/weex/source/css/example.scss +++ /dev/null @@ -1,103 +0,0 @@ -.example-wrapper { - width: 1120px; - margin: 100px auto; - display: flex; - flex-direction: row; - - .horizontal { - flex: 1; - padding: 20px; - position: relative; - max-width: 620px; - height: 600px; - } - - .highlight { - height: 580px; - overflow-y: auto; - } - - .phone { - flex: 0 0 300px; - } - - .mock-phone { - margin: 0 auto; - margin-top: 20px; - position: relative; - z-index: 25; - width: 297px; - height: 590px; - border: 2px solid #0088fb; - border-radius: 30px; - } - - .camera { - position: absolute; - width: 14px; - height: 14px; - border-radius: 14px; - background: #afddff; - border: 1px solid #0088fb; - top: 23px; - left: 94px; - } - - .earpiece { - position: absolute; - width: 70px; - height: 8px; - border-radius: 8px; - background: #afddff; - border: 1px solid #0088fb; - top: 26px; - left: 124px; - } - - .home-btn { - position: absolute; - width: 56px; - height: 56px; - border-radius: 56px; - background: #afddff; - border: 1px solid #0088fb; - bottom: 14px; - left: 50%; - margin-left: -28px; - } - - .inner { - position: absolute; - top: 60px; - z-index: 26; - left: 12px; - width: 267px; - height: 441px; - overflow: hidden; - border: 1px solid #0088fb; - } - - iframe { - margin: 0; - width: 750px; - height: 1248px; - background: #fff; - transform: scaleY(0.35333333); - transform: scale(0.35333333, 0.353333333); - transform-origin: top left; - } - - .qrcode { - flex: 0 0 150px; - p { - text-align: center; - margin: 1em 0; - } - } - - #qrcode-img { - padding: 0; - width: 150px; - height: 150px; - } -} \ No newline at end of file