Hi, can you help?
Site is showing page not found.
- Netlify site name: https://eclectic-sawine-19fcf1.netlify.app`
- Build has succeeded and when I download files from the latest deploy and open index.html, there is just a redirect url to the correct homepage (overview.html).
Is there more configuration required for an automatic redirect from index.html to overview.html?
The better the post - the faster the answer.
Hi @angelas, if possible can you share a repository of your site for me to help with the debugging.
Hi @angelas, thanks for the feedback and sharing the repository.
I can see you are using Antora as your static-site generator.
First of all since you want to deploy the sub-folder called
docs in your repository, when you are deploying from GitHub in your Netlify UI dashboard, you have to specify the below as your build settings.
npm run build
Your build settings in the package.json is
"build": "antora --to-dir docs --fetch antora-playbook.yml"
Since you specified
--to-dir docs, it means that the site will be generated into a sub-folder called docs in the base directory called docs. Hence the Publish directory must be
docs/docs will contain the html files and assets which will be served by Netlify.
Kindly try the suggestions above and then redeploy again. Your site should display as expected.
Let me know the outcome.
That is working fine now. Appreciate your fast response. Thank you!
Hello @angelas, good to know the suggestions helped.
Awesome suggestions, @clarnx