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

wiki 功能 #3

Open
haobug opened this issue Jun 1, 2016 · 9 comments
Open

wiki 功能 #3

haobug opened this issue Jun 1, 2016 · 9 comments

Comments

@haobug
Copy link
Contributor

haobug commented Jun 1, 2016

Github 自带的 wiki 感觉不是很好用(或者是我不会用)
是否需要专门的 wiki 功能,还是直接搞一个 wiki 的文章分类就好了,
再或者直接都不需要 wiki 直接文章就是 wiki 这样?

@haobug haobug added the question label Jun 1, 2016
@haobug haobug removed the question label Oct 10, 2017
@haobug
Copy link
Contributor Author

haobug commented Mar 15, 2020

不用也罢,wiki 功能是github 私有实现,不能很好迁移其他方案。

@haobug haobug closed this as completed Mar 15, 2020
@haobug
Copy link
Contributor Author

haobug commented Mar 15, 2020

不用也罢,wiki 功能是github 私有实现,不能很好迁移其他方案。
要写 wiki 直接写到文章里面,分类到 wiki 这样。

@QuantumGhost
Copy link
Member

QuantumGhost commented Mar 15, 2020

Github Wiki 不就是一个 markdown 的 Git repo 么?(你甚至可以克隆某个项目的所有 Wiki)

如果要避免私有实现的话,感觉项目组应该也迁移到 Gitlab...

@haobug
Copy link
Contributor Author

haobug commented Mar 17, 2020

Github Wiki 不就是一个 markdown 的 Git repo 么?(你甚至可以克隆某个项目的所有 Wiki)

跪求写一份 guide,这样大家也多几份备份。

如果要避免私有实现的话,感觉项目组应该也迁移到Gitlab

避免私有实现和同时尽量少的托管式运维。就像选择 jekell 之于选择其他静态化工具。

核心是我们组织松散,没有全职维护。vps 的钱是小事。之前有哥们弄了 hexo,还玩了反向代理 ,然后他忙于和各种妹子约会和学习,然后我接到锅玩不转。

你可能会说。阅读文档本身很 easy,但是就像配置 bot 很简单但是我们的群聊 bot 一直没有立起来一样。难的不是第一版mvp,难的是有人弃坑了,系统还会正常转动。

突然发现 issues 好像也是私有功能,真香。

@QuantumGhost
Copy link
Member

QuantumGhost commented Mar 19, 2020

wiki 这个,点到 Wiki页面,右边就有 Clone this wiki locally 的地址,如图

image

然后 clone 下来是这样:

image

git log 一下:

❯ git log
commit 43b8046064d2b44e844d84fb9b8144ddde88d974 (HEAD -> master, origin/master, origin/HEAD)
Author: QuantumGhost <[email protected]>
Date:   Thu Mar 19 12:44:54 2020 +0800

    Updated Home (markdown)

commit 94216f7d6f31065294e3e503e9fdabf946fcfb17
Author: QuantumGhost <[email protected]>
Date:   Thu Mar 19 12:42:57 2020 +0800

    Destroyed Welcome (markdown)

commit 596ee94895f02d623ac75419d1138f3fc090ebce
Author: QuantumGhost <[email protected]>
Date:   Wed Mar 18 14:17:06 2020 +0800

    Initial Home page

commit a4ad51db2df2b5f4cc869873ae105d800988d0e2
Author: QuantumGhost <[email protected]>
Date:   Wed Mar 18 14:17:06 2020 +0800

    Initial Home page

@QuantumGhost
Copy link
Member

QuantumGhost commented Mar 19, 2020

然后,部署如果用 Netlify / Zeit Now 的话,其实放 Github 或者是 Gitlab 都是能自动部署的

@haobug
Copy link
Contributor Author

haobug commented Mar 28, 2020

git clone https://github.com/cdlug/cdlug.github.io.wiki.git
cd cdlug.github.io.wiki/
vim Home.md
git cmt
git push origin HEAD:master
git push origin HEAD:newbranch 

命令行测试通过,newbranch 界面看不到,可以用来放一些不需要显示的信息。
比如把 github 用来做 网盘

@QuantumGhost
Copy link
Member

233 Github 大概会有空间限制

@too
Copy link
Contributor

too commented Mar 30, 2020

wiki 功能我觉得 discourse 能很好的满足

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

3 participants