Login
Sign Up For Free
English
中文 (繁體)
中文 (香港)
中文 (简体)
日本語
Filipino
Bahasa Indonesia
Bahasa Melayu
Pусский
Português (Brasil)
Magyar
Français
Español
Deutsch
Čeština
العربية
Català
Dansk
Ελληνικά
فارسی
Suomi
Gaeilge
Hindi
עברית
Hrvatski
Italiano
Norsk bokmål
Nederlands
한국어
Polski
Română
Slovenský
Svenska
Türkçe
українська
беларуская
ไทย
Standard view
潛到深海的 dv
10 years ago
Files that start with an underscore are missing - User Documentat...
我就沒有要用 Jekyll 啊
為啥不是要的人再開
而是我要 touch 個檔案去關它
用 Sphinx 幫我生 HTML 錯惹嗎 QQ
latest #17
M157q.py
10 years ago
嗄 不是用 Pelican 嗎?
是說為啥會遇到這問題啊?
我沒遇過耶
有啥一定得用底線開頭的嗎?
Sphinx 的東西?
🍁🌰RS
說
10 years ago
\Pelican/
潛到深海的 dv
10 years ago
因為要用的東西比較像文件類所以選用 Sphinx
Blog 還是用 Pelican
我當初沒想到底線開頭會有事
所以一些給 Sphinx 的資料夾 prefix 就用內建的 "_"
誰知道 push 上去 404 = A =
(雖然 prefix 還是可以改啦)
立即下載
M157q.py
10 years ago
喔喔 那就是踩雷啦 /flee
潛到深海的 dv
10 years ago
都是 Jekyll 的錯 (X
iblis
說
10 years ago
我都會在 sphinx 裡的 make
touch .nojekyll
iblis
說
10 years ago
iblis17/notes
iblis
說
10 years ago
像這樣
iblis
說
10 years ago
就不用改 prefix 了
潛到深海的 dv
10 years ago
e196819
: 我也是加在 Makefile 裡面啊 XD
我自己加了
github
option
會先生 HTML
然後用 ghp-import 把生出來的 HTML commit 到 gh-pages branch
接著 push 上去
iblis
說
10 years ago
(Y) 我也是用 ghp-import
iblis17/notes
潛到深海的 dv
10 years ago
自己 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
潛到深海的 dv
10 years ago
不想把 Sphinx 用的
conf.py
, Makefile ...etc
跟原本的 .rst files 混在一起
iblis
說
10 years ago
是喔 我的 repo 本來就是 document repo 所以我直接放 sphinx 的檔案
iblis
說
10 years ago
我的 rst 有用 sphinx 的 directive 所以沒 sphinx 活不了 lol
潛到深海的 dv
10 years ago
我的大概就 toc 需要支援吧
其他就是很一般的 rst
back to top
delete
reply
edit
cancel
cancel