-
Notifications
You must be signed in to change notification settings - Fork 631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] [etoc] missing index.html written as redirect to 'welcome.html'
build note
#2887
Comments
[etoc] missing index.html written as redirect to 'welcome.html'
build error[etoc] missing index.html written as redirect to 'welcome.html'
build warning
[etoc] missing index.html written as redirect to 'welcome.html'
build warning[etoc] missing index.html written as redirect to 'welcome.html'
build note
FYI: Hey @da5nsy I was trying to reproduce this error; ran a build on latest
I also ran a build on the commit hash of the mentioned PR c0216fe, still didn't get that error. 🤷🏾
|
Oh cool thanks @TheAbstract! That's very useful info! It's not been fixed (see https://github.com/alan-turing-institute/the-turing-way/actions/runs/3595245737/jobs/6054502025) and so this points to it being a cache thing. |
Oh okay I see it now, was able to reproduce it building from this commit c0216fe, must have been looking at the wrong terminal or something 🤦🏾♂️.
|
I don't think it's a project-specific thing - I just built a totally new and fresh book from scratch and this note was still in there 🤷 (but then went away when I changed the title of one page and rebuilt it) - must be a jupyterbook thing... |
I can reproduce this message. Having a little look...
<meta http-equiv="Refresh" content="0; url=welcome.html" />
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<title>Welcome — The Turing Way</title>
... So, like the message suggests |
If I create an When looking at the rendered html the homepage (link on The Turing Way logo) is now |
Do you propose we do something to "fix" this @JimMadge or let it be? |
It's odd because I don't think it is really a bug, at least not in the book, but it is causing confusion so I think it would be good to try to stop the message being printing without creating too much disruption. One proposal in #2994 |
@aleesteele: #2883 (comment) :
This does not cause the CI to fail, so not urgent, but...
My best guess is that that warning occurs because of this issue: changing the root entry in _toc.yml has no effect at build executablebooks/sphinx-external-toc#50 in which case we would need to clear out the cache at netlify.
My second best guess is that it is because we have
root:
andformat:
in the opposite order in our TOC vs the JB docs.The text was updated successfully, but these errors were encountered: