testing-library-docs icon indicating copy to clipboard operation
testing-library-docs copied to clipboard

Site blocked from China

Open Rain120 opened this issue 4 years ago • 5 comments

Why?

I am so upset for can't open the document site, I don't know why. Maybe I come from China.

Affect

I can read nothing by the document. Look 👇

image

How to resolve it?

In my advice, I request to add the document version with github.io and I find the document was deployed by Netlify, so I can do nothing about it.

Expect your response to my request.

Rain120 avatar Aug 26 '21 03:08 Rain120

+1, It would a blessing, if the doc site could be hosted in github.io ;)

jspopisno1 avatar Aug 26 '21 09:08 jspopisno1

Do we want to publish it to both netlify and github pages? Docusaurus has a good configuration to publish to github pages so it won't be a mess, we'll just need to configure it and add the relevant github action IMO.

MatanBobi avatar Aug 26 '21 13:08 MatanBobi

Ideally we would stop the github.io version of the site from being indexed by search engines so that it doesn't split the page rankings.

As a temporary workaround, anyone can pull the docs repo locally and browse either the markdown or yarn build or yarn start the HTML docs.

alexkrolick avatar Aug 26 '21 16:08 alexkrolick

Ideally we would stop the github.io version of the site from being indexed by search engines so that it doesn't split the page rankings.

As a temporary workaround, anyone can pull the docs repo locally and browse either the markdown or yarn build or yarn start the HTML docs.

To be honest, when you search on Google, both github & the official website are ranked No.2 & No.1. What concern you, might be just a switch in the future ;)

previously: github vs. official => No.2 vs. No.1 later: github vs. official => No.2 vs No.1 OR MAYBE No.1 vs No.2

Disclaimer : It might be a bit offense, but, IMHO, how an open-source solution could help others, is also one of the key concern of the project, taking account that ranking is another concern.

Our team is starting hosting locally now, but I think it would still help quite a lot other people if this issue is resolved. After all, thank you for the excellent work (RE: testing-library) !

jspopisno1 avatar Aug 27 '21 03:08 jspopisno1

The concern isn't so much that a search for "testing-library docs" switches the results, but that a search for a testing library example that is in the official docs gets pushed down compared to third-party blogs and other content that might not be as up to date. This is a concern with many docs sites.

We'll try to work on this though.

alexkrolick avatar Aug 28 '21 19:08 alexkrolick

@Rain120 Can you please try again and let us know if you can access the site now? According to Chinafy it should be accessible in China, though our optional analytics, typography, and social media scripts may be blocked.

If there are still issues, I'd support switching to GitHub Pages.

nickserv avatar Oct 29 '23 00:10 nickserv