-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
improve the docs for V5 launch #5820
Merged
Merged
Changes from 20 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
9d7c28d
MOVE guides to /guides/ && update them with more concise information
ndelangen 91be9e8
IMPROVE webpack docs
ndelangen 50a8670
IMPROVE default config docs
ndelangen d173ec5
IMPROVE cli docs
ndelangen 0dbf67c
IMPROVE theming docs
ndelangen 793c8ff
IMPROVE docs for standalone
ndelangen dc9d97a
IMMPROVE the writing stories docs
ndelangen ace908a
Merge branch 'next' into tech/improve-docs
ndelangen 2111fbe
SYNC header from new site
ndelangen ab8aaca
IMPROVE documentation on theming (REMOVE the advanced section) & ADD …
ndelangen 63aad4d
FIX linting
ndelangen 77f15f2
Merge branch 'next' into tech/improve-docs
ndelangen 5d85fd5
Merge branch 'next' into tech/improve-docs
ndelangen c603cfb
REMOVE unneeded dependencies
ndelangen 49915f3
FIX missing dependency
ndelangen f4b6417
ADD search to all pages
ndelangen ab55972
ADD back port to official example
ndelangen ee9b056
Merge branch 'next' into tech/improve-docs
ndelangen de6fffc
DELETE snyk, is just slowing down, and it's our docs site, not someth…
ndelangen a751468
FIX lockfile
ndelangen 3445549
Merge branch 'next' into tech/improve-docs
ndelangen bc5f355
FIX logo not navigating
ndelangen 7ea689c
FIX incoreect semicolumns
ndelangen 132daaf
Merge branch 'next' into tech/improve-docs
ndelangen a5ae822
Document redirects
shilman 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
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
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
import styled from 'styled-components'; | ||
import { color } from './shared/styles'; | ||
import icons from './shared/icons'; | ||
|
||
const Svg = styled.svg` | ||
display: inline-block; | ||
vertical-align: middle; | ||
`; | ||
|
||
const Path = styled.path` | ||
fill: ${color.darkest}; | ||
`; | ||
|
||
function Icon({ icon, ...props }) { | ||
return ( | ||
<Svg viewBox="0 0 1024 1024" width="20px" height="20px" {...props}> | ||
<Path d={icons[icon]} /> | ||
</Svg> | ||
); | ||
} | ||
|
||
Icon.propTypes = { | ||
icon: PropTypes.string.isRequired, | ||
}; | ||
|
||
export default Icon; |
Oops, something went wrong.
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.
@ndelangen why downgrade?
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.
I had some issues, I think the gatsby-plugin-sharp v2 is for gatsby v2