Can I have my GitHub Pages index.html in a subfolder of the repository?

后端 未结 6 772
再見小時候
再見小時候 2020-12-02 13:08

I\'m trying to use GitHub pages to host a Doxygen site. Ideally, I\'d like to be able to push the generated files and directories to GitHub without having to tweak them at a

6条回答
  •  臣服心动
    2020-12-02 13:54

    To use Doxygen and gh-pages, you need to:

    1. Create the file .nojekyll in the root of your gh-pages branch
    2. Make sure you removed .png, .html, and similars from your .gitignore file
    3. And finally, create the index.html file in the root of your project:

      
      
          
              
              
              Page Redirection
          
          
              If you are not redirected automatically, 
              follow the link to the documentation
          
      
      

    References:

    1. GitHub Pages (github.io) doxygen generated page not found (404)
    2. How to automatically generate doxygen documentation using Travis
    3. Auto-deploying Doxygen documentation to gh-pages with Travis CI
    4. https://help.github.com/categories/github-pages-basics/
    5. Publish Your Project Documentation with GitHub Pages
    6. How to make an introduction page with Doxygen

提交回复
热议问题