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

docs: improve README with links and updates #538

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

agilgur5
Copy link

@agilgur5 agilgur5 commented Feb 12, 2024

Motivation

The README is a bit dated -- particularly in its links to deps -- and could use some improvements

Modifications

  • Argo Rollouts also uses this repo

  • update Yarn link to Yarn v1 / Classic, as those docs are quite different from the current v4 docs

  • same for Storybook v6 vs current v7 / v8 beta

    • say "Storybook" with an in-line link, not just a link. it is referred to as "Storybook"
      • see also k8s style guide on links
  • simplify "Build & Run" section a bit
    • changing dirs to the repo you just cloned is implied. we don't say how to clone or fork, so leave this out too
    • also you don't have to name your local dir argo-ui
    • "yarn install to install dependencies" is redundant
    • a bit simpler and more direct, per k8s style guide
      • could make it even simpler, but left it close to the same style for now
  • fix some markdownlint etc issues in the "Local Development" section
    • specify syntax in code blocks
    • yalc should be in backticks as it's a command

Verification

Docs-only change, see rendered version in this PR

- Argo Rollouts also [uses this repo](https://github.com/argoproj/argo-rollouts/blob/db5e3b2a8ffd9aef8c1e2026985c906fc9eef068/ui/package.json#L11)

- update Yarn link to Yarn v1 / Classic, as those docs are quite different from the current v4 docs
- same for Storybook v6 vs current v7 / v8 beta
  - say "Storybook" with an in-line link, not just a link. it is referred to as "Storybook"
    - see also k8s style guide on [links](https://kubernetes.io/docs/contribute/style/style-guide/#links)

- simplify "Build & Run" section a bit
  - changing dirs to the repo you just cloned is implied. we don't say how to clone or fork, so leave this out too
  - also you don't have to name your local dir `argo-ui`
  - "`yarn install` to install dependencies" is redundant
  - a bit simpler and more direct, [per k8s style guide](https://kubernetes.io/docs/contribute/style/style-guide/#use-simple-and-direct-language)
    - could make it even simpler, but left it close to the same style for now

- fix some `markdownlint` etc issues in the "Local Development" section
  - specify syntax in code blocks
  - `yalc` should be in backticks as it's a command

Signed-off-by: Anton Gilgur <[email protected]>
Copy link
Member

@crenshaw-dev crenshaw-dev left a comment

Choose a reason for hiding this comment

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

Thanks!

@crenshaw-dev crenshaw-dev merged commit 3ac11b1 into argoproj:master Feb 13, 2024
5 checks passed
@agilgur5 agilgur5 deleted the docs-improve-readme branch February 13, 2024 15:22
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.

2 participants