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

CU-fb6wcj Docs: Quickstart description changes #2309

Merged
merged 10 commits into from
Mar 29, 2021

Conversation

raulraja
Copy link
Member

@raulraja raulraja commented Mar 8, 2021

@MaureenElsberry @jkmcclellan tagging you in case one of you can help with a lang review in this doc. This is what will show up in the Arrow Readme and Quick Start links.

@raulraja raulraja requested a review from a team March 8, 2021 16:09
@franciscodr
Copy link
Collaborator

Copy link
Member

@nomisRev nomisRev left a comment

Choose a reason for hiding this comment

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

I really like the new quickstart 👍 Does this link to how you can setup these modules in your project?

arrow-site/docs/docs/quickstart/README.md Outdated Show resolved Hide resolved
arrow-site/docs/docs/quickstart/README.md Outdated Show resolved Hide resolved
raulraja and others added 3 commits March 8, 2021 17:20
@raulraja
Copy link
Member Author

raulraja commented Mar 8, 2021

@nomisRev added setup in line in the same doc

Copy link
Member

@nomisRev nomisRev left a comment

Choose a reason for hiding this comment

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

Great to have the setup included in this quickstart 👌

Comment on lines 67 to 97
##### Arrow Core

```groovy
apply plugin: 'kotlin-kapt'

def arrow_version = "0.13.0"
dependencies {
implementation "io.arrow-kt:arrow-core:$arrow_version"
}
```

##### Arrow Core + Arrow Optics

```groovy
apply plugin: 'kotlin-kapt'

def arrow_version = "0.13.0"
dependencies {
implementation "io.arrow-kt:arrow-optics:$arrow_version"
kapt "io.arrow-kt:arrow-meta:$arrow_version"
}
```

##### Arrow Core + Arrow Fx

```groovy
def arrow_version = "0.13.0"
dependencies {
implementation "io.arrow-kt:arrow-fx-coroutines:$arrow_version"
}
```
Copy link
Member

Choose a reason for hiding this comment

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

Can we combine this into a single block? I think it's as clear but only a third so long.

apply plugin: 'kotlin-kapt'
def arrow_version = "0.13.0"
dependencies {
     // Arrow Core
    implementation "io.arrow-kt:arrow-core:$arrow_version"
    
    // Arrow Fx
    implementation "io.arrow-kt:arrow-fx-coroutines:$arrow_version"
    
    // Arrow Optics
    implementation "io.arrow-kt:arrow-optics:$arrow_version"
    kapt    "io.arrow-kt:arrow-meta:$arrow_version"
}

Copy link
Member

Choose a reason for hiding this comment

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

In the past people would complain and ask in the channel, what to do if they solely need Core or Fx or Optics, that's why we split that.

Copy link
Member Author

Choose a reason for hiding this comment

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

The single block's concern is that most users seem to copy and paste everything they find on this page. I propose we do another pass to this page before 1.0 in a different PR to address the dependencies section and how they are presented.

@raulraja raulraja requested a review from a team March 8, 2021 16:38
Copy link
Member

@rachelcarmena rachelcarmena left a comment

Choose a reason for hiding this comment

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

Thank you so much!! 🎉

arrow-site/docs/docs/quickstart/README.md Outdated Show resolved Hide resolved
arrow-site/docs/docs/quickstart/README.md Outdated Show resolved Hide resolved
arrow-site/docs/docs/quickstart/README.md Outdated Show resolved Hide resolved
Minor language edits.
arrow-site/docs/docs/quickstart/README.md Outdated Show resolved Hide resolved

def arrow_version = "0.13.0"
dependencies {
implementation "io.arrow-kt:arrow-optics:$arrow_version"
Copy link
Member

Choose a reason for hiding this comment

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

Are we sure we don't need to include core? In such case we should move to api in the build.config

Copy link
Member Author

Choose a reason for hiding this comment

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

@aballano I'm not familiar with best gradle practices, but after reading the diff between API and impl makes sense. Probably we should make those changes in a different issue or PR since it involves build files and can potentially affect the way things are packaged for the release.

raulraja and others added 5 commits March 29, 2021 12:08
Co-authored-by: Rachel M. Carmena <rachelcarmena@users.noreply.github.com>
Co-authored-by: Rachel M. Carmena <rachelcarmena@users.noreply.github.com>
Co-authored-by: Rachel M. Carmena <rachelcarmena@users.noreply.github.com>
Co-authored-by: Alberto Ballano <aballano@users.noreply.github.com>
@raulraja raulraja merged commit e4f3356 into master Mar 29, 2021
@raulraja raulraja deleted the rr-docs-quickstart-readme branch March 29, 2021 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants