cdlug / cdlug.github.io

Website of Chengdu GNU/Linux User Group
https://cdlug.org
Creative Commons Attribution Share Alike 4.0 International
6 stars 3 forks source link

wiki 功能 #3

Open haobug opened 8 years ago

haobug commented 8 years ago

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

haobug commented 4 years ago

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

haobug commented 4 years ago

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

QuantumGhost commented 4 years ago

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

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

haobug commented 4 years ago

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

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

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

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

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

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

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

QuantumGhost commented 4 years ago

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

image

然后 clone 下来是这样:

image

git log 一下:

❯ git log
commit 43b8046064d2b44e844d84fb9b8144ddde88d974 (HEAD -> master, origin/master, origin/HEAD)
Author: QuantumGhost <obelisk.reg+github@gmail.com>
Date:   Thu Mar 19 12:44:54 2020 +0800

    Updated Home (markdown)

commit 94216f7d6f31065294e3e503e9fdabf946fcfb17
Author: QuantumGhost <obelisk.reg+github@gmail.com>
Date:   Thu Mar 19 12:42:57 2020 +0800

    Destroyed Welcome (markdown)

commit 596ee94895f02d623ac75419d1138f3fc090ebce
Author: QuantumGhost <obelisk.reg+github@gmail.com>
Date:   Wed Mar 18 14:17:06 2020 +0800

    Initial Home page

commit a4ad51db2df2b5f4cc869873ae105d800988d0e2
Author: QuantumGhost <obelisk.reg+github@gmail.com>
Date:   Wed Mar 18 14:17:06 2020 +0800

    Initial Home page
QuantumGhost commented 4 years ago

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

haobug commented 4 years ago
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 commented 4 years ago

233 Github 大概会有空间限制

too commented 4 years ago

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