xcatliu / jekyllcn Goto Github PK
View Code? Open in Web Editor NEWJekyll 的中文翻译网站
Home Page: http://jekyllcn.com
License: MIT License
Jekyll 的中文翻译网站
Home Page: http://jekyllcn.com
License: MIT License
参见rails guide的翻译认领https://github.com/ruby-china/rails-guides/blob/master/source/documents_CN.yaml
这样可以让大家避免重复劳动
需要同步一下了
I tried to follow the README to get the lastest jekyllrb
git remote add jekyllrb [email protected]:jekyll/jekyll.git
git fetch jekyllrb master
git merge jekyllrb/master
# 解决冲突
then I got the following error:
$ git remote add jekyllrb [email protected]:jekyll/jekyll.git
$ git fetch jekyllrb master
remote: Counting objects: 1421, done.
remote: Compressing objects: 100% (57/57), done.
remote: Total 1421 (delta 597), reused 567 (delta 567), pack-reused 797
Receiving objects: 100% (1421/1421), 391.78 KiB | 522.00 KiB/s, done.
Resolving deltas: 100% (979/979), completed with 158 local objects.
From github.com:jekyll/jekyll
* branch master -> FETCH_HEAD
$ git merge jekyllrb/master
fatal: jekyllrb/master - not something we can merge
Wiki里现在规定了的:
我暂时想补充的 (注意大小写及词间是否使用空格的格式, 但格式仅限于正文,不限于出现在code里的):
我不能确定是否应该翻译,但大家暂时遗留在已翻译文章里,还没有翻译的短语(皆非专有名词):
构建方式改变了,需要在 README.md 中说明
我们已经可以使用 Travis CI 来自动化部署网页了。但是还是得手动修改 progress,这点很麻烦。
其实翻译基本已经完成了,只是有些文档还比较落后。所以现在的进度提示可能也不是很准确。
我提供一些想法:
README.md
不再显示当前进度。都好几天了,不翻墙登陆不了。以前都好好的呀。
英文版的网站正常。
我在上海
内容不多,估计再10分钟就搞好了
中文网站中Windows环境安装页面没有翻译如何用WSL安装,且引用的安装指南也是英文的
对比阅读发现,中文文档中有好些内容落后于官方版本。
需要跟进
文档 -> 杂项 -> 常见问题
如果你还是遇到问题,你可能需要使用XCode 来安装命令行工具
点击XCode 来安装命令行工具
404
You can provide custom headers for your site by adding them to _config.yml
这里的Headers很明显指的是HTTP头,而不是“标题”:
你可以在 _config.yml 中为你的站点提供自定义标题
https://jekyllrb.com/docs/configuration/webrick/
http://jekyllcn.com/docs/configuration/#自定义-webrick-标题
jekyll -v
)?Jekyll 3.1.2
Ubuntu 15.10
(Please include the content causing the issue, any relevant configuration settings, and the command you ran)
When I was ready to update some old translations posts, I found there is a new post Themes in jekyllrb.com, but not in jekyllcn.com.
I want to know how to add a new post in order.
No new posts.
这是怎么回事?怎么会出现只有一段没有翻印的情况,不如我来补全吧?
Configuration file: /Users/XcatLiu/Workspace/github/jekyllcn/site/_config.yml
Source: /Users/XcatLiu/Workspace/github/jekyllcn/site
Destination: /Users/XcatLiu/Workspace/github/jekyllcn/site/_site
Generating...
Liquid Exception: Invalid syntax for include tag. File contains invalid characters or sequences: Valid syntax: {% include file.ext param='value' param2='value' %} in _docs/templates.md
jekyll 2.5.3 | Error: Invalid syntax for include tag. File contains invalid characters or sequences:
Valid syntax:
{% include file.ext param='value' param2='value' %}
比如这个就挺大气
http://github.co.jp/
收罗众多jekyll theme供爱好者使用
顺便申请加入 collaborator 列表
虽然历史更新没多大意义, 但是看着就它没被翻译总心痒痒的
🐵年快乐~
找点事做 : )
根据 #129 的讨论,需要在每篇文档添加引导用户翻译的机制。
http://jekyllcn.com/docs/pagination/的
“注意首尾页
Jekyll 没有生成文件夹 ‘page1’ ,所以上边的代码有 bug ,下边的代码解决了这个问题。”之后的代码粘贴过去依然找不到分页后的地址,而且样式很挫。
更新成http://jekyllrb.com/docs/pagination/
里“Beware the page one edge-case
Jekyll does not generate a ‘page1’ folder, so the above code will not work when a /page1 link is produced. See below for a way to handle this if it’s a problem for you.”
下方的代码就好了。
新版本发布啦
http://jekyllcn.com/docs/deployment-methods/#网站托管服务商-ftp
只需要运行 jekyll
命令然后……
应改为:运行 jekyll build
命令……
部署完成后会出现一个 not staged file:
modified: site/_docs/history.md
并且此文件未部署成功
source 'https://rubygems.org'
改成 source 'http://ruby.taobao.org'
Setting up a pull request, thx.
在我安装完成 jekyll 后,我使用 vim 编辑 jekyll 的配置文件,会自动安装 vim 插件,怎么设置才能让这种情况不发生?
举例里的 table 超出了宽度
浏览器:chrome 43.0, Firefox 38.0
系统: linux mint 17.1
站点不支持https跳转
翻译了前两个,我先提交一个 pull request,等全部翻译完你再 merge
另外之前翻译的是哪个版本的文档?人肉对比好难找到官方更新的地方,只能在 git 的 history 里一个个找
在Installation
的Requirements
缺少:
NodeJS, or another JavaScript runtime (for CoffeeScript support).
http://jekyllrb.com/docs/installation/#requirements
可能会导致jekyll serve
出错。
根据 #129 讨论,决定去掉进度展示。具体需要做以下修改:
update_date
,依照 README.md
中的更新日期设置它的值,没有的话置空,至于如何使用 update_date
,此任务不涉及README.md
中的「项目进度」模块,但是保留「基础建设」模块url http://jekyllcn.com/docs/configuration/#section-4
defaults:
-
scope:
path: ""
type: "posts"
values:
layout: "my-site"
-
scope:
path: "projects"
type: "pages" # 以前的 `[post]`<[page], 在 Jekyll 2.2 里。
values:
layout: "project" # 覆盖之前的默认布局
author: "Mr. Hyde"
post替换掉
跟github无缝集成,很方便就可以部署上去呢。。
升级 2.0 后有一些页面一直没有翻译,一个一个来吧
初学者,请教一下这个 jekyllcn 可以用 jekyll build
或者 jekyll serve
来生成和预览吗?
网站 404 了,没找到原因。ga 显示已经挂了三天了
自定义 WEBRick 消息头 & 指定 Jekyll 构建时的环境变量 部分翻译不太通顺,有一些技术性名词翻译错误,进行修正
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.