Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

保持中文站的页面样式与gruntjs.com一致 #35

Open
qivhou opened this issue Sep 24, 2013 · 5 comments
Open

保持中文站的页面样式与gruntjs.com一致 #35

qivhou opened this issue Sep 24, 2013 · 5 comments

Comments

@qivhou
Copy link
Member

qivhou commented Sep 24, 2013

目前gruntjs.com的架构是通过gruntjs.com的repo编译从grunt的wiki中的文档然后deploy到Heroku。

所以,只要把grunt-cn文档上传到github wiki,然后修改gruntjs.com的构建源码,使它可以编译grunt-cn的wiki,就可以build出gruntjs.org的静态文件。

因为gruntjs.org的发布环境是基于gh-pages的,所以原先构建源码中的router都不可用,只能将html文件路径改为带有'.html'的绝对路径,尽可能保持与gruntjs.com构建的一致。

为了实现以上的思路,我创建了一个gruntjs.org的repo并进行了修改,然后将所有文档commit到grunt-cn的wiki,把build好的静态文件传到了gruntjs.orggh-pages分支

为了验证这个方案,我把build出来的静态网页部署到了dropbox的静态网页服务(因为github的项目gh-pages部署不在根目录),大家可以看看这里 来讨论下这个方案是否可行。

@willerce
Copy link

附议。

@xcatliu
Copy link

xcatliu commented Dec 19, 2013

赞同

@basecss
Copy link
Member

basecss commented Feb 26, 2014

赞,抽个时间整理一下,尽量与官方保持一直。

@TooBug
Copy link
Member

TooBug commented Feb 26, 2014

顶个时间表吧。让vincent指导一下。

@basecss
Copy link
Member

basecss commented Feb 26, 2014

@TooBug 私下已和 @qivhou 沟通好了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants