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

Add Markdown util and convert all sections #74

Merged
merged 15 commits into from
Aug 28, 2017
Merged

Conversation

kitten
Copy link
Member

@kitten kitten commented Aug 24, 2017

I adapted react-markings for our components: https://github.com/Thinkmill/react-markings

It should actually work better for us than converting everything to Gatsby right now, and at the same time will make the task of translating everything a lot smoother probably. Not to mention the connected refactor and redesign.

It should be relatively straightforward, apart from the manual labour that's in translating everything to markdown :(

Edit: Not building with Uglify / build task right now due to an UglifyJS bug

@kitten kitten requested a review from mxstbr August 24, 2017 03:28
@kitten kitten changed the title Add Markdown util and convert all sections [WiP] Add Markdown util and convert all sections Aug 24, 2017
Copy link
Member

@mxstbr mxstbr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yess this is great! Is everything converted yet?

This is to trigger a stage.now.sh build and see if it works.
@mxstbr
Copy link
Member

mxstbr commented Aug 27, 2017

Here is a deploy of this branch: https://styled-components-docs-huxzgkpejt.now.sh

@kitten
Copy link
Member Author

kitten commented Aug 27, 2017

@mxstbr uglify is failing :) probably something minor. I’ll take a look later and fix it. Just got back from some short holidays today

@kitten
Copy link
Member Author

kitten commented Aug 27, 2017

@mxstbr Done and should be ready to merge 🚀

Edit: Seems that the replacement has caused some bugs somehow
Edit 2: Fixed 🎉 seems that Preact passes down children as non-arrays as an optimisation in more cases than React

@kitten kitten mentioned this pull request Aug 27, 2017
@kitten kitten changed the title [WiP] Add Markdown util and convert all sections Add Markdown util and convert all sections Aug 27, 2017
@mxstbr
Copy link
Member

mxstbr commented Aug 28, 2017

Let's ship this to avoid it getting hopelessly out of date?!

@mxstbr
Copy link
Member

mxstbr commented Aug 28, 2017

Let's ship this to avoid it getting hopelessly out of date?!

@mxstbr mxstbr mentioned this pull request Aug 28, 2017
6 tasks
@kitten kitten merged commit 180c82a into master Aug 28, 2017
@kitten
Copy link
Member Author

kitten commented Aug 28, 2017

@mxstbr Agreed, I'll rebase #76 and merge it as well

@mxstbr mxstbr deleted the refactor/markdown branch August 28, 2017 17:39
@mxstbr
Copy link
Member

mxstbr commented Aug 28, 2017

Awesomeeee!!!

@mxstbr mxstbr mentioned this pull request Aug 28, 2017
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

Successfully merging this pull request may close these issues.

2 participants