Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

migrated website to docusaurus 2 #47

Closed
wants to merge 4 commits into from

Conversation

ozgunbal
Copy link
Contributor

@facebook-github-bot
Copy link
Contributor

Hi ozgunbal! 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!

@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

Copy link

@yangshun yangshun left a comment

Choose a reason for hiding this comment

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

This is so awesome, thank you! I'll get someone from Profilo to review.

"devDependencies": {
"docusaurus": "^1.0.9"
"dependencies": {
"@docusaurus/core": "^2.0.0-alpha.26",

Choose a reason for hiding this comment

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

We've just published .27, could you upgrade to that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

links: [
{ to: "docs/getting-started", label: "Docs", position: "left" },
{
href: "https://github.com/facebook/docusaurus",

Choose a reason for hiding this comment

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

This should be updated

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done. live version is updated, too.

{features.map(({ title, description }, idx) => (
<div
key={idx}
className={classnames("col col--6", styles.feature)}
Copy link

Choose a reason for hiding this comment

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

Class feature does not exist.

Suggested change
className={classnames("col col--6", styles.feature)}
className="col col--6"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

<Link
className={classnames(
"button button--secondary button--lg",
styles.getStarted
Copy link

Choose a reason for hiding this comment

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

Should be removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

<div className="container">
<h1 className="hero__title">{siteConfig.title}</h1>
<p className="hero__subtitle">{siteConfig.tagline}</p>
<p className="lead">
Copy link

Choose a reason for hiding this comment

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

Suggested change
<p className="lead">
<p>

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@ricardorey10
Copy link
Contributor

Hey, thanks so much for taking care of this migration.

One quick thing, though. Any chance we can make the font of all the code snippets a big bigger? It's kind of hard to read right now :(

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@ricardorey10 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@ricardorey10
Copy link
Contributor

@ozgunbal

I pulled the PR but just noticed that it explicitly says that it should not be landed. I'll wait for the final version.

@yangshun
Copy link

I agree regarding the font size. But maybe we could handle it at the Docusaurus level. This issue is not specific to Profilo. Thanks for reviewing @ricardorey10!

@ricardorey10
Copy link
Contributor

@yangshun @ozgunbal

Looks like I saw the diff while it was in some unfinished state, and I don't see anything about it not being ready to land yet, so I'll get that landed soon. Thanks for taking care of this!

@ricardorey10
Copy link
Contributor

Hey, @yangshun @ozgunbal it looks like there are some errors related to your commit. Would you mind taking a look at that?

@ozgunbal
Copy link
Contributor Author

hi, i assume font-size would be handled via docusaurus , right @yangshun ? @ricardorey10 other than that, I can't see details of failed Facebook Internal - Linter and Facebook Internal - Builds & Test. What should I update at current state of PR?

@facebook-github-bot
Copy link
Contributor

@BurntBrunch merged this pull request in 5d07114.

facebook-github-bot pushed a commit that referenced this pull request Feb 22, 2021
Summary:
Depends on facebookincubator/fbjni#43.
Removes all Bintray-specifics and replaces it with a Maven Central setup. Docs for this are coming next.

Pull Request resolved: facebookincubator/fbjni#47

Test Plan:
```
./gradlew uploadArchives
./gradlew -b host.gradle uploadArchives
```

Worked! Won't publish this, obviously.

![Screenshot 2021-02-19 at 16 15 22](https://user-images.githubusercontent.com/9906/108531010-1d93ff80-72ce-11eb-800f-b61035184ef0.png)

Reviewed By: priteshrnandgaonkar

Differential Revision: D26546096

Pulled By: passy

fbshipit-source-id: cb74a5cb3caed1cbf9d7bd07125fd2fcb28e3d85
EduardoCostaom pushed a commit to EduardoCostaom/profilo that referenced this pull request Nov 2, 2022
Summary:
- Live version: https://build.ozgunbal.now.sh/
- I only removed github star counts below `Get Started` button at v1:
![image](https://user-images.githubusercontent.com/16080180/66868638-60d9b200-efa6-11e9-9e58-a8638b93d04e.png)
It can be added if it's necessary but IMHO, doesn't look good with new theme.
- Hey, yangshun and endiliey . You can check it when you're available.
- This PR related to facebookarchive/profilo#46 and facebook/docusaurus#1834
Pull Request resolved: facebookarchive/profilo#47

Differential Revision: D18064160

Pulled By: BurntBrunch

fbshipit-source-id: 70b67a519455f3072246373661966e0bd6f84c36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants