-
Notifications
You must be signed in to change notification settings - Fork 4.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
WIP: Migrate from docusaurus v1 to v2 #2139
Conversation
Oops, something went wrong with this deploy preview. @charpeni can you look at this? |
Hi @darshkpatel! Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks! |
Oops, something went wrong with this deploy preview. @charpeni can you look at this? |
4 similar comments
Oops, something went wrong with this deploy preview. @charpeni can you look at this? |
Oops, something went wrong with this deploy preview. @charpeni can you look at this? |
Oops, something went wrong with this deploy preview. @charpeni can you look at this? |
Oops, something went wrong with this deploy preview. @charpeni can you look at this? |
Oops, something went wrong with this deploy preview. @charpeni can you look at this? |
Oops, something went wrong with this deploy preview. @charpeni can you look at this? |
1 similar comment
Oops, something went wrong with this deploy preview. @charpeni can you look at this? |
.circleci/config.yml
Outdated
@@ -4,9 +4,9 @@ version: 2.1 | |||
# EXECUTORS | |||
# ------------------------- | |||
executors: | |||
node8: | |||
node10: |
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.
CI Node image has been updated to the LTS in #2140.
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.
Cool. Maybe it would solve the memory 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.
@slorber LTS bump fixed that OOM issue it seems 🙂
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.
Thank you for your help! 😄
Oops, something went wrong with this deploy preview. @charpeni can you look at this? |
2 similar comments
Oops, something went wrong with this deploy preview. @charpeni can you look at this? |
Oops, something went wrong with this deploy preview. @charpeni can you look at this? |
@Simek should i remove |
@darshkpatel I'm not familiar with this pipeline. You should ask @charpeni about that, he is responsible for the website previews. He also should be able to help you with fixing the preview deployment script. |
Removed the |
Oops, something went wrong with this deploy preview. @charpeni can you look at this? |
2 similar comments
Oops, something went wrong with this deploy preview. @charpeni can you look at this? |
Oops, something went wrong with this deploy preview. @charpeni can you look at this? |
netlify.toml
Outdated
@@ -1,4 +1,4 @@ | |||
[build] | |||
base = "v2-website" | |||
publish = "v2-website/build" | |||
command = "sed -i -e \"s|const baseUrl .*|const baseUrl = '/'|g\" docusaurus.config.js && yarn install && yarn sync-community-repos && yarn build" |
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.
yarn sync-community-repos
is needed to get the list of community repos, it's essential I believe.
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.
yup, I was trying to see which part was causing the problem. I think I got it
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.
guess not! 😅 I thought it was only because netlify was looking for v2-website/v2-website/build
, but I'm still missing something else. I'll try again tmr
Anyway, I deployed a test site using the same netlify.toml
(without the yarn sync-community-repos
) here:
repo: https://github.com/teikjun/react-native-deploy
test site (netlify): https://react-native-v2.netlify.app/docs/
test site (vercel): https://react-native-deploy.vercel.app/docs/ (same thing)
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.
Hey @teikjun, were you able to get the deploy preview working finally? Can I help?
Also, can you put the preview links at the top so that they are more easy to find ? :)
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 couldn't figure out what was causing the deploy preview to fail, so we're using our own previews for now.
@darshkpatel has just added the preview links to his PR description at the top! :)
Oops, something went wrong with this deploy preview. @charpeni can you look at this? |
3 similar comments
Oops, something went wrong with this deploy preview. @charpeni can you look at this? |
Oops, something went wrong with this deploy preview. @charpeni can you look at this? |
Oops, something went wrong with this deploy preview. @charpeni can you look at this? |
@Simek thank you for your feedback.
This is intended since Algolia search is typo tolerant. It will help your end users to find what they are looking for even if their query has a typo. For example, the query |
This reverts commit 6e2a698.
…ative-website into docs/v2-migration
472cc5b
to
4019d4a
Compare
I've force-pushed the changes from an alternate branch which preserves contributions for |
SnackPlayer also works now 🥳 |
Oops, something went wrong with this deploy preview. @charpeni can you look at this? |
Oops, something went wrong with this deploy preview. @charpeni can you look at this? |
2 similar comments
Oops, something went wrong with this deploy preview. @charpeni can you look at this? |
Oops, something went wrong with this deploy preview. @charpeni can you look at this? |
Hey! I've created this org and fork so that we can work on this migration in a more organized way: |
This doesn't close the modal when selecting the input text and finishing the selection outside of the modal. See facebook/react-native-website#2139 (comment)
@darshkpatel The homepage is empty right now - https://react-native-v2.netlify.app/.
@darshkpatel There are several changes that are still required:
|
Can be closed in favor in the new migration fork: react-native-website-migration#7 |
Ref: facebook/docusaurus#3195
The deploy preview is currently broken, so here's a copy of this branch deployed
https://deploy-preview-5--react-native-website-migration.netlify.app/
To do:
Documentation Bugs:
colours.md
not rendering example coloursLegend:
🔨 - in progress