Home  >  Q&A  >  body text

How to index/list a directory in GitHub Pages

I have a Github Pages website. I'm trying to add a directory index like you can enable on an apache website.

P粉265724930P粉265724930180 days ago351

reply all(1)I'll reply

  • P粉463811100

    P粉4638111002024-04-03 09:59:19

    You must provide the HTML file containing the table of contents yourself - you can write (and update) this file yourself, or you can write a GitHub action that automatically regenerates the HTML file after each commit. See https://docs.github.com/en/actions for documentation and https://docs.github.com/en/actions/quickstart to get started. < /p>

    reply
    0
  • Cancelreply