redex icon indicating copy to clipboard operation
redex copied to clipboard

Migration docusaurus 2

Open ThakurKarthik opened this issue 6 years ago • 10 comments

Hello @yangshun , @endiliey review this pr when you got time.

I was working on migrating docusaurus of this repo to new V2 version

Deployed at https://thakurkarthik.github.io/redex/ for testing.

This pr on successful merge takes the docusaurus version to new v2 alpha for fbredex

This PR belongs to #426 and https://github.com/facebook/docusaurus/issues/1834

Here are some screenshots of the new site.

Landing Page

Screenshot (155)

Docs Page

Screenshot (156)

FAQ Page

Screenshot (157)

ThakurKarthik avatar Oct 16 '19 07:10 ThakurKarthik

@yangshun @endiliey i have pushed my code,can you make some time and review it Thanks !

ThakurKarthik avatar Oct 18 '19 16:10 ThakurKarthik

@ThakurKarthik I think there are conflicts now. Could you resolve them?

From Redex site could @int3 help? Or I can do the reviewing instead and preserve as much of v1 design and functionality as possible.

yangshun avatar Oct 28 '19 05:10 yangshun

@yangshun i haved merged with latest master now there should be no conflicts.

ThakurKarthik avatar Oct 28 '19 18:10 ThakurKarthik

I'm not too picky... would be nice to keep some of the old button/grey background styling, but I don't think it matters too much. I'm not a designer anyway :p

If you can fix the fonts I'm happy to merge this

int3 avatar Oct 30 '19 11:10 int3

Hey Jez, the font is not displaying correctly now because the font files weren't loaded.

As a side note, as part of our standardizing our open source documentation designs, we'd like to encourage projects to stick with the default theme font, which is this case is the system font.

Examples of Docusaurus 2 sites with a consistent font:

https://v2.docusaurus.io https://create-react-app.dev https://cli.dev https://hermesengine.dev

Are you agreeable with that? If so, we could remove the Lato font styles from the CSS.

On Wed, Oct 30, 2019, 7:30 PM Jez Ng [email protected] wrote:

I'm not too picky... would be nice to keep some of the old button/grey background styling, but I don't think it matters too much. I'm not a designer anyway :p

If you can fix the fonts I'm happy to merge this

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/facebook/redex/pull/429?email_source=notifications&email_token=AAKBCHMAC2TQDKTSKYBQSNDQRFV53A5CNFSM4JBHFTG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECT2IGQ#issuecomment-547857434, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKBCHMZHHGCO4NOROFBJR3QRFV53ANCNFSM4JBHFTGQ .

yangshun avatar Oct 30 '19 11:10 yangshun

Ah alright then. Standardizing the font makes sense. Thanks!

int3 avatar Oct 31 '19 11:10 int3

Ref: https://github.com/facebook/docusaurus/issues/1834

yangshun avatar Nov 03 '19 15:11 yangshun

@ThakurKarthik could you remove the font styling in the CSS file? Then I think it should be good.

yangshun avatar Nov 03 '19 15:11 yangshun

Is this pull request ready to merge now? Has all the feedback been incorporated? Are all the reviewers happy?

justinjhendrick avatar Feb 11 '20 01:02 justinjhendrick

Hey @justinjhendrick not sure if it the code is working anymore as docusaurus has gone through major changes i guess !

ThakurKarthik avatar Nov 07 '20 12:11 ThakurKarthik