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

Docs down? #2289

Closed
RobinKuiper opened this issue Nov 5, 2017 · 13 comments
Closed

Docs down? #2289

RobinKuiper opened this issue Nov 5, 2017 · 13 comments

Comments

@RobinKuiper
Copy link

https://react.semantic-ui.com/ shows a white page after loading, tested in Chrome and Firefox.

@gitname
Copy link
Contributor

gitname commented Nov 5, 2017

I see the same thing. Here's an animated GIF showing my browser window as I reload the page:

2017-11-04_17-12-50

@gitname
Copy link
Contributor

gitname commented Nov 5, 2017

I think one of the URLs the docs website is using is missing a period (.) character.

Here's a screenshot showing the URL according to CDNJS (top) and the URL the docs website is using (bottom):

image

@kwent
Copy link

kwent commented Nov 5, 2017

Same here

@gitname
Copy link
Contributor

gitname commented Nov 5, 2017

I think I found the line containing the bug. I think the new line 72 here is missing the period:

470c7b5#diff-ca761db59bf3bc241d74bbbe4b51c0a2

@gitname
Copy link
Contributor

gitname commented Nov 5, 2017

I'll submit a PR with a fix in 5 mins.

gitname added a commit to gitname/Semantic-UI-React that referenced this issue Nov 5, 2017
@gitname
Copy link
Contributor

gitname commented Nov 5, 2017

🚧 Workaround in Google Chrome 🚧

Here's the workaround I'm using to view the docs website while the issue persists:

  1. In Google Chrome, visit https://react.semantic-ui.com.

  2. Press F12 (Command+Option+I on Mac) to reveal Chrome's Developer Tools (i.e. DevTools) panel.

  3. In the DevTools panel, click the "Sources" tab and open the top>react.semantic-ui.com>(index) file.

  4. Add a breakpoint (i.e. a blue and white arrow) to Line 8 by clicking on its line number.

  5. Click the circular arrow icon to reload the web page. This time, execution will stop at Line 8.

  6. In the DevTools panel, click the "Console" tab and run the following commands:

    var script = document.createElement('script'); script.type = 'text/javascript'; script.src = 'https://cdnjs.cloudflare.com/ajax/libs/prop-types/15.5.10/prop-types.min.js'; document.head.appendChild(script);
  7. In the DevTools panel, click the "Sources" tab and click the Play/Pause icon to resume execution. The docs website will load normally.

Here's a depiction of the above instructions:

image

@kamilml
Copy link

kamilml commented Nov 5, 2017

nice ty @gitname ! ;)

@Tushant
Copy link

Tushant commented Nov 5, 2017

Its still showing the same error.

@FMCorz
Copy link

FMCorz commented Nov 5, 2017

This was a good opportunity to build the docs locally.

git clone https://github.com/Semantic-Org/Semantic-UI-React.git
cd Semantic-UI-React
yarn install
yarn run docs

Then open http://localhost:8080.

@lightning-zgc
Copy link

lightning-zgc commented Nov 5, 2017

I set up a mirror on my own server temporarily:
http://sur.lt-lab.cc

@Maxhodges
Copy link

image

@Maxhodges
Copy link

thanks @lightning-zgc

layershifter pushed a commit that referenced this issue Nov 5, 2017
@layershifter
Copy link
Member

#2290 is merged, I've deployed docs. Now docs works correct. Thanks to all.

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

9 participants