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

Static website with docs is gone #308

Open
NikolayActionEngine opened this issue Jun 4, 2020 · 7 comments
Open

Static website with docs is gone #308

NikolayActionEngine opened this issue Jun 4, 2020 · 7 comments

Comments

@NikolayActionEngine
Copy link

Website https://uber-web.github.io/ which was available until very recently is gone now. All links are pointing nowhere (e.g. https://uber-web.github.io/docs/dev-tools/cli/ocular-test).

I'm not sure if this is a right place for this to be opened, so I used a wrong GitHub project, feel free to point me to the right one and close this ticket.

@kylebarron
Copy link

I agree it's weird. Links still work if you prefix with ocular/, though then they redirect to a page without ocular/.

I.e.

https://uber-web.github.io/ocular/docs/dev-tools/configuring-tests

works for me, though then it redirects to

https://uber-web.github.io/docs/dev-tools/configuring-tests

so if I reload the page it fails.

@ibgreen
Copy link
Collaborator

ibgreen commented Jun 4, 2020

Github pages site without their own DNS should be built with the gatsby --prefix-paths option (check exact spelling), maybe that was not done?

@kylebarron
Copy link

I think that's the most likely conclusion.

@ibgreen
Copy link
Collaborator

ibgreen commented Jun 4, 2020

Should be part of the website package.json in this repo. There is also a PREFIX_PATHS option that needs to go into the gatsby config. Maybe that needs to be done at the top level now and no longer in the ocular theme plugin config?

@ibgreen
Copy link
Collaborator

ibgreen commented Jun 4, 2020

We should also check probe.gl - another repo that does not have its own domain.

@kylebarron
Copy link

It is included in the scripts

"build": "yarn clean && gatsby build --prefix-paths",
"serve": "gatsby serve --prefix-paths",

@kylebarron
Copy link

Probe gl seems to work fine, except the top-left "Home" link is wrong. But I'm guessing that's a separate issue.

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

No branches or pull requests

3 participants