Coder Social home page Coder Social logo

wangsai / babeljs.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from docschina/babeljs.io

0.0 2.0 0.0 22.91 MB

:globe_with_meridians: Babel中文文档

Home Page: https://babel.docschina.org/

HTML 12.40% Ruby 1.37% Makefile 0.32% CSS 32.30% JavaScript 53.26% Shell 0.35%

babeljs.io's Introduction

babel 中文文档

Travis CI

中文站点

中文站点是由 CI 自动构建并部署到 gh-pages 分支。

参与翻译

关于需要翻译文件的目录结构

以下是翻译人员需要了解的目录结构

.
├── _data/                        // _data      目录: 放置所有静态 yml 文件
├── _posts/                       // _posts     目录: 放置所有博客 md 文件
├── _includes/                    // _includes  目录: 需要导入文件目录
│   ├── readmes/                  // readmes    目录: 放置所有 工具/Plugins 的 README.md 文件 
│   └── tools/                    // tools      目录: 所有工具的安装及使用说明
├── docs/ 					    
│   ├── usage/                    // usage      目录: 使用指南
│   ├── core-packages/            // core-packages 目录: 核心包文档
│   └── plugins/                  // plugins    目录: 所有插件说明
├── ...                       
│   └── ...

翻译流程 - Forking工作流

  1. fork 本仓库到自己的账号下,克隆 fork 的仓库到本地
  2. Projects 中所有由 待翻译 标记的文章中,选择一篇自己感兴趣的进行翻译,并在评论中留下你翻译预计完成的时间
  3. 翻译完毕,提交到 fork 的仓库中。
    注意: 提交前需要与上游代码进行合并。
    合并步骤如下:
    • 添加上游 git 地址: git remote add upstream https://github.com/docschina/babeljs.io
    • 更新上游仓库: git remote update upstream
    • merge 到自己本地仓库: git merge upstream/cn
    • 确认无问题后,提交到 fork 仓库: git push
  4. 提交 pull request 到本仓库
    注意: 以上所有操作都在 cn 分支下完成。

配置本地运行

  1. 克隆仓库

    git clone [email protected]:{Your Github Name}/babeljs.io.git
    cd babeljs.io
    
  2. 使用 gem 安装 bundler

    sudo gem install bundler
    

    如果下载过慢,请修改 gem 的 sources,修改方式如下:

    gem sources --add https://gems.ruby-china.org/ --remove https://rubygems.org/
    

    查看 ruby 版本

    ruby --version
    

    安装或更新 ruby ,请参考 ruby 官网

    注意: ruby 版本需要大于等于 2.1.0,Mac 自带 ruby 版本是 2.0.0

  3. 安装相关依赖

    make bootstrap
    
  4. 最后,执行 npm start 即可,项目会运行在 http://loaclhost:4000 上。

babeljs.io's People

Contributors

andarist avatar andrewjywang avatar bvaughn avatar callumlocke avatar cvrebert avatar danez avatar daniel15 avatar eventualbuddha avatar existentialism avatar foryuki avatar hemanth avatar hijiangtao avatar hzoo avatar jamiebuilds avatar joshuavsherman avatar loganfsmyth avatar maur8ino avatar menciuscheng avatar mengjian-github avatar prathamesh-sonpatki avatar qc-l avatar raspo avatar sebmck avatar seedofjoy avatar spadin avatar sparty02 avatar strml avatar xtuc avatar yavorsky avatar zloirock avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.