-
Notifications
You must be signed in to change notification settings - Fork 394
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 SSR #834
Merged
+413
−536
Merged
Docs SSR #834
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
8861d76
Enable SSR for docs
iAdramelk e31201f
Fix links and add 404
iAdramelk 198b1ed
Remove unused param in server.js
iAdramelk c15e3e4
Fix url generation logic
iAdramelk aee48c6
Fix search initialization
iAdramelk db082fd
Add scroll to top of the page after navigation
iAdramelk 0d1551e
Rewrite all links to use next/link
iAdramelk 3cf403f
Add Google Analytics PageView
iAdramelk 72bf7fa
Show 404 page on connection error
iAdramelk e43940d
Replace 404 on lost connect with Location.reload()
iAdramelk b2d3136
Update PromoSection links
iAdramelk 5e98d1d
Refactor and simplify layout
iAdramelk 4c629ed
Remove unused components
iAdramelk 89b5ff5
Refactor SidebarMenu
iAdramelk 3c97ff0
Move ps and docsearch assets to _document
iAdramelk b307efa
Close menu on navigation on mobile
iAdramelk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Replace 404 on lost connect with Location.reload()
commit e43940d812a20b2c7094d10f5dc423e398fdf8e5
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't this go into an infinite loop? (Blocked by the browser probably.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If page loads again then yes, but this error usually means that the internet is down and we will just show browser error page there. Maybe there are cases then this error is thrown in other situations, but I don't know about them.