Apache Weex Site

Clone this repo:
  1. a2f6fcb Additional Descriptions and Attributes (#503) by YorkShen · 7 hours ago master
  2. 10e9b1c Update how-to-contribute.md (#508) by yjouyang · 7 hours ago
  3. e6ad421 Additional Descriptions and Attributes by nika-mahu · 3 weeks ago
  4. eb07431 Revert "[Doc] Update about wx (#491)" (#502) by YorkShen · 4 weeks ago
  5. 4a8339a Add Compiler target example (#496) by Renmin · 5 weeks ago

Weex Website

This is the source code of Weex official website.

Develop

First you should install the Node.js, and install dependencies:

npm install

After that, you can start a web server to preview the website on your local machine.

npm run dev

It will start a web server at http://localhost:8080. The pages will be updated automatically once you save the corresponding source file.

Contribute

The documents are written in Markdown format located in the docs folder. Feel free to send pull requests!

How to add a blog

To write a blog, edit ‘docs/.vuepress/config.js’.

  • Search ‘blog’ in this file. Edit blog section and add your article filename(without ‘md’ extension) and title.
'/blog/': [['write-a-blog', 'Write a Blog'], ['your-file-name', 'Your article title']]
'/zh/blog/': [['write-a-blog', '写一篇博客'], ['your-file-name', '你的文章标题']]
  • Add your file(with ‘md’ extension) in ‘docs/blog’ and ‘docs/zn/blog’ directories.