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

【讨论】文档站部署问题 #26

Open
keifergu opened this issue Jul 18, 2017 · 14 comments
Open

【讨论】文档站部署问题 #26

keifergu opened this issue Jul 18, 2017 · 14 comments

Comments

@keifergu
Copy link
Member

目前的想法是使用 Github Page,但是因为项目名和组织名不一样,所以域名是这样的:https://graphql-china.github.io/graphql.github.io/ ,访问会有问题,CSS 和 JS 路径会出错。
解决方法:

  • 使用上面那个丑的很的域名,修改 HTML 地址;
  • 更改仓库名为 graphql-china.github.io,那么可以用 https://graphql-china.github.io/ 正常访问;
  • 购买独立域名,跟官方一样的方法。graphql.cn 已经被买了,但是 graphql-china.[org,cn,com] 的都在。

各位讨论讨论。

@jonirrings
Copy link
Member

先行第二个吧。
第三个我发邮件问问graphql.cn拥有者,看看他愿意帮忙不。不愿意的话,就弄讨论讨论买域名的事,或者转移到官方的zh-cn路径下

@ydfzgyj
Copy link
Member

ydfzgyj commented Jul 18, 2017

有一个 http://graphql.org.cn/ 只有首页翻译了,里边的没翻

@desenmeng
Copy link

@jonirrings 我收到了你的邮件 目前 graphql.cn 我没有使用,可以免费提供。不过我不能保证后续会不会使用,也希望各位理解。

@jonirrings
Copy link
Member

@demohi 十分感谢您的回复。
@keifergu @ydfzgyj 那么我们先行尝试第二个方案,访问无虞之后再添加cname到 graphql.cn

@keifergu
Copy link
Member Author

keifergu commented Jul 19, 2017

那我先改仓库名,各位可能要重新指向下 origin 的地址。

@jonirrings
Copy link
Member

jonirrings commented Jul 24, 2017

@demohi 你好,有劳将graphql.cn调整cname到graphql-china.github.io。
十分感谢

@desenmeng
Copy link

我已经设置。

不过建议你们合作一下
https://github.com/xitu/graphql.github.io/issues

@ydfzgyj
Copy link
Member

ydfzgyj commented Jul 24, 2017

@demohi 感谢提醒,他们是前几天刚开的项目哦……
那我们要抓紧跟他们沟通一下,免得大家重复劳动

@desenmeng
Copy link

@ydfzgyj 恩恩

@jonirrings
Copy link
Member

@demohi 你好,我们现在翻译已经转移至xitu了。
可否将graphql.cn调整alias至xitu.github.io
另将spec.graphql.cn调整cname至graphql-china.github.io
有劳

@desenmeng
Copy link

@jonirrings done

@jonirrings
Copy link
Member

@demohi thanks

@jonirrings
Copy link
Member

@demohi 你好,能将principles.graphql.cn调整CNAME到graphql-china.github.io吗?
十分感谢

@desenmeng
Copy link

@demohi 你好,能将principles.graphql.cn调整CNAME到graphql-china.github.io吗?
十分感谢

http://principles.graphql.cn

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

4 participants