我需要在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上的本地回放。