Skip to content
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

Deployed website doesn't render correctly, local one does #4343

Closed
mrousavy opened this issue Mar 3, 2021 · 1 comment
Closed

Deployed website doesn't render correctly, local one does #4343

mrousavy opened this issue Mar 3, 2021 · 1 comment
Labels
closed: question This issue is a user error/misunderstanding.

Comments

@mrousavy
Copy link

mrousavy commented Mar 3, 2021

🐛 Bug Report

I'm trying to set up docusaurus for my open source project, but can't seem to get it configured correctly. I've tried to find some sort of steps I missed, but I did everything as it is mentioned in the official guides.

When I run docusaurus build and docusaurus serve, the website looks like this:

Screenshot 2021-03-03 at 20 33 58

But when I run docusaurus deploy, the website looks like that:

Screenshot 2021-03-03 at 20 34 25

it renders completely wrong, apparently it fails to find the resources?:

Screenshot 2021-03-03 at 20 35 04

Have you read the Contributing Guidelines on issues?

yea

To Reproduce

  1. docusaurus deploy
  2. Host on GitHub pages

Expected behavior

I expect it to render exactly like it does locally

Actual Behavior

It fails to load the resources and renders incorrectly

Your Environment

@mrousavy mrousavy added bug An error in the Docusaurus core causing instability or issues with its execution status: needs triage This issue has not been triaged by maintainers labels Mar 3, 2021
@mrousavy
Copy link
Author

mrousavy commented Mar 3, 2021

Nevermind, not a docusaurus bug. It's a GitHub pages issue. Ran git checkout gh-pages ; git push origin --delete gh-pages ; git push origin, now everything works

@mrousavy mrousavy closed this as completed Mar 3, 2021
@Josh-Cena Josh-Cena added closed: question This issue is a user error/misunderstanding. and removed bug An error in the Docusaurus core causing instability or issues with its execution status: needs triage This issue has not been triaged by maintainers labels Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed: question This issue is a user error/misunderstanding.
Projects
None yet
Development

No branches or pull requests

2 participants