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

Don't hide install options behind link #1242

Merged
merged 1 commit into from
May 30, 2023
Merged

Conversation

oyamauchi
Copy link
Contributor

  • First, show only the instructions specific to the detected platform.

  • Then, always display the cargo, npm, and yarn install options below.

  • Add a note to the unix instructions to say you can use the alternative options if you don't like piping curl into sh.

Fixes #355

*nix:
Screenshot 2023-03-16 at 18 08 20

Unknown platform:
Screenshot 2023-03-16 at 18 08 30

Windows:
Screenshot 2023-03-16 at 18 10 58

  • You have the latest version of rustfmt installed
  • You ran cargo fmt on the code base before submitting
  • You reference which issue is being closed in the PR text

- First, show only the instructions specific to the detected platform.

- Then, always display the cargo, npm, and yarn install options below.

- Add a note to the unix instructions to say you can use the
  alternative options if you don't like piping `curl` into `sh`.

Fixes rustwasm#355
Copy link
Member

@drager drager 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!

@drager drager merged commit 011b36c into rustwasm:master May 30, 2023
@oyamauchi oyamauchi deleted the doc-install branch July 11, 2023 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

show all install options on load, show detected system recommendation first
2 participants