navigation to '/index.html' with a static web server duplicates the page's content. #9871
Closed
6 of 7 tasks
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
closed: wontfix
A fix will bring significant overhead, or is out of scope (for feature requests)
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
when using a static web servers, such as GitHub pages, or
static-web-server
, and using the theme frompreset-classic
, navigation to the url/index.html
will render the page twice, where the second is appended as a child to the end of the__docusaurus
div. This even affects the official Docusaurus website at https://docusaurus.io/index.htmlReproducible demo
https://github.com/sbt/website
Steps to reproduce
yarn install
, thenyarn run build
)build
directory, I use static-web-server and port 8080localhost:8080/index.html
Expected behavior
It should render identically to
/
route, i.e. no duplication.Actual behavior
the page's content is duplicated as the last child of the div with id
__docusaurus
.Your environment
Self-service
The text was updated successfully, but these errors were encountered: