I have an issue with gh-pages of github. The html pages which start with _ ( underscore ) shows the error.
Page does not exist! Read the Full Documentation Instructions for setting up username.github.com and stuffs.
For eg : Lets take an example
https://github.com/harikt/docs/blob/gh-pages/api/Aura.Di/_src.html
is the source
It should render at http://harikt.github.com/docs/api/_src.html
But currently its not. It only happens for the names starting with _ ( underscore ). Let me know if anyone have the same issue or can it be resolved without renaming it ?
Go to your GitHub repository, click on the settings tab, and scroll down to the GitHub Pages section. The branch should be configured to gh-pages and the folder set to / (root) as illustrated below. Note the URL for the website, you will use it later in the guide.
Solution: Verify the publishing source and published URL from your repository's settings tab. Double check that you are using the correct URL by visiting your repository's Settings, and scrolling down to the GitHub Pages section. You should see the URL where your site is published.
If you saw 404 even everything looks right, try switching https/http. The original question has the url wrong, usually you can check repo settings and found the correct url for generated site.
When publishing an Antora site to GitHub Pages, it's necessary to an empty file to the root directory named . nojekyll . The existence of this file tells GitHub Pages not to run the published files through Jekyll.
As of December 27, 2009, you can completely opt-out of Jekyll processing by creating a file named .nojekyll in the root of your pages repo and pushing that to GitHub. This should only be necessary if your site uses directories that begin with an underscore, as Jekyll sees these as special dirs and does not copy them to the final destination.
https://github.com/blog/572-bypassing-jekyll-on-github-pages
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With