- 
                Notifications
    You must be signed in to change notification settings 
- Fork 700
Upgrade docs site to react-static v7 #873
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
Conversation
6598327    to
    3751dde      
    Compare
  
    1c777ec    to
    b272c71      
    Compare
  
    628eb27    to
    6b6799c      
    Compare
  
    | - [Heroku](https://devcenter.heroku.com/articles/git#deploying-code) | ||
| - [Zeit](https://zeit.co/docs/v2/platform/deployments) | ||
| - [Surge](https://surge.sh/help/deploying-continuously-using-git-hooks) | ||
| 1. If you are integrating this lib yourself, take your build and follow the linked instructions from any of (but not limited to) the following providers: [Heroku](https://devcenter.heroku.com/articles/git#deploying-code), [Zeit](https://zeit.co/docs/v2/platform/deployments), or [Surge](https://surge.sh/help/deploying-continuously-using-git-hooks). | 
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.
The formatting for this list of links was weird, so I opted to keep the links inline instead.
| order: 1 | ||
| --- | ||
|  | ||
| <a name="basic-concepts"></a> | 
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.
We found these <a> tags were to blame for the persistent 404.
|  | ||
| ## Space | ||
|  | ||
| **Space** props used by [`Box`](/docs/api-reference#box), [`FlexBox`](/docs/api-reference#flex-box), [`Grid`](/docs/api-reference#grid), [`CodeSpan`](/docs/api-reference#code-span), [`Text`](/docs/api-reference#text), [`Link`](/docs/api-reference#link), [`Heading`](/docs/api-reference#heading), [`Quote`](/docs/api-reference#quote), [`Table`](/docs/api-reference#table), [`TableHeader`](/docs/api-reference#table-header), [`TableBody`](/docs/api-reference#table-body), [`TableRow`](/docs/api-reference#table-row), [`TableCell`](/docs/api-reference#table-cell), [`UnorderedList`](/docs/api-reference#unordered-list), [`OrderedList`](/docs/api-reference#ordered-list), and [`ListItem`](/docs/api-reference#list-item). | 
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.
These links are known not to work locally for the time being. See #877 for more thorough tracking of this issue.
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 have kicked the tires on this enough and I think it is in great shape! Any subsequent nits can be done in future PRs.
* Upgrade docs site to react-static v7 (#873) * update packages * consume global styles, add Loading state * import Link from react-router-dom instead of react-static * Improve hot reloading * Move colors into a theme, update global-style accordingly * Rename markdown.js * svg cleanup - delete unused, add new * Add 404 content * gut static-config helpers in favor of react-static-plugin-md-pages, update deps * add SidebarList (sub-navigation) to the Article view * Theme improvements * Remove anchor tags that were breaking the docs * Style improvements * Initalize docs/ route * Use formidable-oss-badges instead of local svgs * Downgrade react-static-plugin-md-pages for CI 🤞 * Add a blank index w/ content * Use local paths in docs content * Add Featured Badges * Add urql and runpkg * Use formidable-oss-badges instead of local svg * Make sure format script reaches markdown content * Get rid of word-break overflow * Improve doc table formatting * Use svg info from formidable-oss-landers * Move public + manifest data to top-level public dirs * Remove unused & hard to find assets, update preview pres data * Bug/broken links (#881) Co-authored-by: boygirl <lauren.eastridge@formidable.com>
Description
This PR updates react and react-static to the latest and greatest, which will both improve our dev experience and bring our docs into 2020.
Fixes #838
Remaining work to be done before this PR is g2g:
/docsso it initializes to/basic-conceptsinstead of 404-ing