Giter Site home page Giter Site logo

zf68 / jekyllcn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xcatliu/jekyllcn

0.0 1.0 0.0 14.11 MB

Jekyll 的中文翻译网站

Home Page: http://jekyllcn.com

License: MIT License

CSS 5.89% Ruby 70.30% HTML 4.23% Shell 0.90% CoffeeScript 0.03% PHP 0.01% Gherkin 18.63%

jekyllcn's Introduction

JekyllCN

Build Status

网址:http://jekyllcn.com/

Forked from Jekyll.

JekyllCNJekyll 的中文翻译网站。

公告

由于官方文档更新,现在中文文档落后于官方文档,欢迎参与贡献翻译

注意:中文排版遵循这个规范:写给大家看的中文排版指南

注意:暂时放弃了翻译 contributing 和 history,因为他们是脚本生成的

如何贡献翻译

  1. 新建一个 issue,说明要贡献哪篇文档(可以是落后于官方版本的中文文档,也可以是还没有翻译的文档),注意翻译之前先看看 issues 里面有没有人已经认领了
  2. fork 之后,修改 /site/_docs/ 中的对应文档进行翻译,并在本地预览,如果不知道如何在本地启动,可以参考如何在本地启动
  3. 注意在 Front Matter 中将自己加入到 translators 字段,若无此字段,则添加一个
  4. 注意在 Front Matter 中更新 update_date,若无此字段,则添加一个
  5. 若要修改 css,请修改 /site/_sass/_jekyllcn.scss,新增的 css 以 .jekyllcn- 开头,尽量避免破坏 jekyll 的文件
  6. 提交一个 pull-request,等待审核

如何在本地启动

  1. 安装 bundle
  2. 执行 bundle install
  3. 执行 bundle exec rake site:preview

参考 contributing

如何发布到 jekyllcn.com

使用 Travis CI 自动发布:https://travis-ci.org/xcatliu/jekyllcn

如何同步最新的 Jekyllrb

git remote add jekyllrb [email protected]:jekyll/jekyll.git
git fetch jekyllrb master
git merge jekyllrb/master
# 解决冲突

项目进度

基础建设

  • 跟进官方网站版本 (2016-05-10)
  • 首页中文适配 (2016-04-20)
  • 页脚加上贡献翻译链接
  • 导航加上贡献翻译链接
  • 每篇文档加上贡献翻译链接
  • 加上 ga
  • 加上适配 jekyllcn 的 css
  • 加上如何贡献翻译的文档
  • 加上如何本地启动的文档
  • 加上项目进度的文档
  • header 中文适配
  • 上一节下一节中文适配
  • 右侧表头中文适配
  • head 中文适配
  • 每篇文文档加上原文链接
  • 在 header 中加入贡献翻译链接
  • 每篇文档加上翻译贡献者
  • 在 header 中底色代表项目进度
  • 使用 Travis CI 自动发布

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.