Skip to content

DOC GitHub Pages 404: use static HTML output for deployment#1465

Merged
romanlutz merged 1 commit intoAzure:mainfrom
romanlutz:fix-pages-deploy
Mar 13, 2026
Merged

DOC GitHub Pages 404: use static HTML output for deployment#1465
romanlutz merged 1 commit intoAzure:mainfrom
romanlutz:fix-pages-deploy

Conversation

@romanlutz
Copy link
Contributor

JB2's default 'jupyter-book build' produces a SPA (JSON content + client-side rendering) that requires a web server. GitHub Pages serves static files and gets a 404 because there's no index.html.

Fix by adding --html flag which generates static HTML via server-side rendering, and update the artifact upload path from _build/site to _build/html.

JB2's default 'jupyter-book build' produces a SPA (JSON content +
client-side rendering) that requires a web server. GitHub Pages
serves static files and gets a 404 because there's no index.html.

Fix by adding --html flag which generates static HTML via server-side
rendering, and update the artifact upload path from _build/site to
_build/html.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@romanlutz romanlutz merged commit 75187ef into Azure:main Mar 13, 2026
21 of 30 checks passed
@romanlutz romanlutz deleted the fix-pages-deploy branch March 13, 2026 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants