Files that start with an underscore are missing - User Documentat...
我就沒有要用 Jekyll 啊
為啥不是要的人再開
而是我要 touch 個檔案去關它 (eyeroll)
用 Sphinx 幫我生 HTML 錯惹嗎 QQ
latest #17
M157q.py
10 years ago
嗄 不是用 Pelican 嗎?
是說為啥會遇到這問題啊?
我沒遇過耶
有啥一定得用底線開頭的嗎?
Sphinx 的東西?
🍁🌰RS
10 years ago
\Pelican/
因為要用的東西比較像文件類所以選用 Sphinx
Blog 還是用 Pelican
我當初沒想到底線開頭會有事
所以一些給 Sphinx 的資料夾 prefix 就用內建的 "_"
誰知道 push 上去 404 = A =
(雖然 prefix 還是可以改啦)
立即下載
M157q.py
10 years ago
喔喔 那就是踩雷啦 /flee
都是 Jekyll 的錯 (X
iblis
10 years ago
我都會在 sphinx 裡的 make touch .nojekyll
iblis
10 years ago
iblis
10 years ago
像這樣
iblis
10 years ago
就不用改 prefix 了
e196819: 我也是加在 Makefile 裡面啊 XD
我自己加了 github option
會先生 HTML
然後用 ghp-import 把生出來的 HTML commit 到 gh-pages branch
接著 push 上去
iblis
10 years ago
(Y) 我也是用 ghp-import iblis17/notes
自己 repo 的架構
master branch => 單純放 .rst files
sphinx branch => master branch 為 submodule,還有 Sphinx 的設定檔和 Makefile
gh-pages => 給 GitHub 顯示用的 branch,放生出來的 HTML/CSS/Javascript ...etc
iblis
10 years ago
為啥需要獨立 sphinx branch
不想把 Sphinx 用的 conf.py, Makefile ...etc
跟原本的 .rst files 混在一起
iblis
10 years ago
是喔 我的 repo 本來就是 document repo 所以我直接放 sphinx 的檔案
iblis
10 years ago
我的 rst 有用 sphinx 的 directive 所以沒 sphinx 活不了 lol
我的大概就 toc 需要支援吧
其他就是很一般的 rst
back to top