我需要在GH頁面上顯示目錄內容。如何在GitHub頁面上啓用目錄索引
寧願
- 自動完成,無需index.html的
- 的用於自動生成中的index.html
- 任何其他方法或工具庫
所以,如果我有一個FS在我的GH Pages存儲庫中:
http://github.com/[username]/[username].github.io/
:
script/
- app/
- core/
- init.js
- lib/
- Element.animate.js
- Object.overlay.js
- mod/
- anim/
- global/
- carousel/
- carousel.js
- global.js
- ext/
- cfgs.js
index.html
我希望每個目錄URL像往常一樣索引,就像這樣。
http://[username].github.io/script/
:
- app/
- lib/
- mod/
- ext/
http://[username].github.io/script/mod/anim/global/
:
- carousel/
- global.js
我能想到的唯一的事情就是偏愛#2,寫或找一個腳本來自動生成從GitHub庫中的index.html頁面或我的FS上的本地回放。