Skip to content

fix typo#4938

Merged
johnpryan merged 7 commits intoflutter:masterfrom
johnpryan:fix-typo
Oct 30, 2020
Merged

fix typo#4938
johnpryan merged 7 commits intoflutter:masterfrom
johnpryan:fix-typo

Conversation

@johnpryan
Copy link
Copy Markdown
Contributor

No description provided.

@johnpryan johnpryan requested a review from sfshaza2 October 30, 2020 18:14
@google-cla google-cla bot added the cla: yes Contributor has signed the Contributor License Agreement label Oct 30, 2020
Copy link
Copy Markdown
Contributor

@sfshaza2 sfshaza2 left a comment

Choose a reason for hiding this comment

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

A few minor comments but, otherwise, lgtm

Comment thread src/adoptawidget/index.md Outdated

Flutter is an open source project hosted [on
GitHub](https://github.com/flutter/flutter), and making the documentation better
helps everyone! So for the month of November, we’re extending a special
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

=> So, for

Comment thread src/adoptawidget/index.md Outdated

**Respond within three days after being assigned**

If we don't hear back from you, we might need to assign someone else.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

=> assign it to someone else.

Comment thread src/adoptawidget/index.md Outdated

**One issue at a time**

If you're already working on an issue, wait until it's closed before asking for
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

asking for => requesting

Comment thread src/adoptawidget/index.md Outdated
* The behavior of the widget in certain situations
* Other important information about the widget

See the [Documentation section](https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#documentation-dartdocs-javadocs-etc) of the Flutter Style Guide and [Effective Dart: Documentation](https://dart.dev/guides/language/effective-dart/documentation) for details on how to write great documentation.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you break this up? We use break at 80 chars or less.

Comment thread src/adoptawidget/index.md Outdated
To get started, fork the SDK and use Git to fetch a local copy:

1. Install dependencies listed in [Setting up the Framework development environment](https://github.com/flutter/flutter/wiki/Setting-up-the-Framework-development-environment)
2. Fork the flutter repo [https://github.com/flutter/flutter](https://github.com/flutter/flutter). For more information, see [GitHub's official instructions](https://docs.github.com/en/free-pro-team@latest/github/getting-started-with-github/fork-a-repo).
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Break this up, too.

Comment thread src/adoptawidget/index.md Outdated
3. Clone your fork: `git clone https://github.com/<your_name_here>/flutter.git`
4. Change directory: `cd flutter`
5. Add an upstream remote: `git remote add upstream git@github.com:flutter/flutter.git`
6. Run `flutter update-packages` to fetch all the Dart packages Flutter uses.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

=> packages that Flutter uses

Comment thread src/adoptawidget/index.md Outdated

### Analyzing and Generating API Docs

Running this command from the root directory will analyze and generate the
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

=> analyzes and generates (and delete "will")

Comment thread src/adoptawidget/index.md
git checkout -b update-builder-widget
git add -A
git commit -m "Update Builder API Docs"
git push origin update-builder-widget
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Wow, you do this very differently than I do. I use vim.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I use vim too, but the -m flag is simpler to create instructions for.

Copy link
Copy Markdown
Contributor

@sfshaza2 sfshaza2 left a comment

Choose a reason for hiding this comment

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

A couple minor HTML issues but LGTM otherwise.

Comment thread src/adoptawidget/index.md

3. Once you are assigned, set up your environment, make the change, and submit
the pull request. If you're not sure how to do this, see the
[Quickstart](#quickstart) below.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Notice how the generated list goes: 1, 2, 1.

This is because you inserted an image on item #2. To get around this, I drop into HTML. So, it would look like:

  1. Go to...
  2. Leave a comment...
  3. Once you are assigned...

Comment thread src/adoptawidget/index.md Outdated
the pull request. If you're not sure how to do this, see the
[Quickstart](#quickstart) below.

The [CONTRIBUTING](https://github.com/flutter/flutter/blob/master/CONTRIBUTING.md) doc has details on contributing to Flutter.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Break up this line, too. :)

Comment thread src/adoptawidget/index.md Outdated
**Note:** Flutter API docs cannot be generated on Windows. If you are using
*Windows, you may need to download the Linux version of the SDK and use the
*[Windows Subsystem for
*Linux](https://docs.microsoft.com/en-us/windows/wsl/about).
Copy link
Copy Markdown
Contributor

@sfshaza2 sfshaza2 Oct 30, 2020

Choose a reason for hiding this comment

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

This is rendering weirdly. It appears that you are trying to create a code-style note, but it doesn't work as you think it does in markdown.

Instead:

{{site.alert.note}}
  Flutter API docs cannot be generated on Windows. If you are using
  Windows, you may need to download the Linux version of the SDK and use the
  [Windows Subsystem for
  Linux](https://docs.microsoft.com/en-us/windows/wsl/about).
{{site.alert.end}}

You know, we don't actually do our links inline like this, but this is a temporary page, so I'm going to ignore that. :)

@johnpryan johnpryan merged commit 6649682 into flutter:master Oct 30, 2020
filiph pushed a commit to filiph/website that referenced this pull request Feb 22, 2021
* fix typo

* fix code review comments

* fix number formatting

* fix formatting issues

* use site.alert.note

* fix <aside> appearing in note

* update Discord link
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes Contributor has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants