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

Add Writing Style Guide #132

Merged
merged 7 commits into from
Dec 14, 2020
Merged

Add Writing Style Guide #132

merged 7 commits into from
Dec 14, 2020

Conversation

Faolain
Copy link
Contributor

@Faolain Faolain commented Dec 4, 2020

@Faolain
Copy link
Contributor Author

Faolain commented Dec 4, 2020

Not sure why the linter failed, ran npm run lint:fix & npm run lint:check and everything seemed to be fine
Screen Shot 2020-12-04 at 11 33 14 AM

@Faolain Faolain linked an issue Dec 4, 2020 that may be closed by this pull request
Copy link
Contributor

@lehnberg lehnberg left a comment

Choose a reason for hiding this comment

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

Good job, this is really great! See my nitpicky comments.

@@ -87,3 +87,4 @@
## Contributors

Copy link
Contributor

Choose a reason for hiding this comment

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

Consider also linking to this guide from contributors/README.md

Copy link
Contributor Author

@Faolain Faolain Dec 10, 2020

Choose a reason for hiding this comment

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

will submit to the main contributors README all the following links once done merging the others (writing style guide, getting started with gitbook & github etc) if that's ok?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, sure 👍

contributors/writing-style-guide.md Show resolved Hide resolved
contributors/writing-style-guide.md Outdated Show resolved Hide resolved
contributors/writing-style-guide.md Outdated Show resolved Hide resolved
contributors/writing-style-guide.md Outdated Show resolved Hide resolved
contributors/writing-style-guide.md Outdated Show resolved Hide resolved

---

**Use:**
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider using the level 4 header #### for these throughout the document instead of bold text.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hmm may push back on this one here haha since a header implies/indicates some distinct "Class"/Section which everything lives under that merits its own heading (especially if we autogenerate ToC). In this case, the bold just serves to stress I think which should suffice?

Copy link
Contributor

Choose a reason for hiding this comment

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

Sure, fair enough. Good push back! 👍

contributors/writing-style-guide.md Outdated Show resolved Hide resolved
contributors/writing-style-guide.md Outdated Show resolved Hide resolved
contributors/writing-style-guide.md Outdated Show resolved Hide resolved
Copy link
Contributor

@lehnberg lehnberg left a comment

Choose a reason for hiding this comment

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

@Faolain the CI reports back broken links:

ERROR: 5 dead links found!
349
[✖] developers/naming-convention.md → Status: 400
350
[✖] [https://docs.microsoft.com/en-us/contribute/how-to-write-links](https://docs.microsoft.com/en-us/contribute/how-to-write-links) → Status: 400
351
[✖] /en/contribute/content/ → Status: 400
352
[✖] https://www.powerthesaurus.org/ → Status: 403
353
[✖] contributors/contributor-tools.md → Status: 400
354

→ Can you update with these fixed pls? Sorry, didn't catch this until I was about to merge it. :/

@Faolain
Copy link
Contributor Author

Faolain commented Dec 11, 2020

@Faolain the CI reports back broken links:

ERROR: 5 dead links found!
349
[✖] developers/naming-convention.md → Status: 400
350
[✖] [https://docs.microsoft.com/en-us/contribute/how-to-write-links](https://docs.microsoft.com/en-us/contribute/how-to-write-links) → Status: 400
351
[✖] /en/contribute/content/ → Status: 400
352
[✖] https://www.powerthesaurus.org/ → Status: 403
353
[✖] contributors/contributor-tools.md → Status: 400
354

→ Can you update with these fixed pls? Sorry, didn't catch this until I was about to merge it. :/

No worries, hmm I'm not sure I know how to fix these?

  • For developers/naming-convention.md → Status: 400 I currently reference it as [Yearn Naming Conventions](developers/naming-convention.md). Should it instead be [Yearn Naming Conventions](../developers/naming-convention.md) to account for the folder structure? I'm not sure how one can reference another page using relative links, if it's relative to the current folder or if it uses the root of the gitbook project. I'm unable to build this locally to test so would love to know for future reference (maybe we can also include this information in the guide - very meta lol).

  • I was able to visit https://docs.microsoft.com/en-us/contribute/how-to-write-links so I'm not sure what this linter wants here?

  • /en/contribute/content/ I can just change to match the absolute link

  • https://www.powerthesaurus.org/ also seems to work not sure what it is failing?

  • Similar relative link question as Website Pathing Links to Deprecated Docs #1 and dependency to be merged in here (which thanks for reminding me to submit hah) Contributor's Guide: Contributor Tools  #101

Update: In trying to fix these links I think I made it worse since now the linter doesn't even progress to checking links and fails at the start. Unsure how to proceed here.

Copy link
Contributor

@lehnberg lehnberg left a comment

Choose a reason for hiding this comment

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

Approving, and merging. CI failed, due to it marking https://www.powerthesaurus.org as broken, but it's not so going ahead.

@lehnberg lehnberg merged commit fca87e3 into yearn:master Dec 14, 2020
sambacha pushed a commit to sambacha/docs that referenced this pull request Jan 4, 2021
* Add FAQ

* Add v1.23 (reviewed by @milkyklim)

* Add 1.24 (yearn#10)

updated the vault fee section!!!

Co-authored-by: HackMD <no-reply@hackmd.io>

* Fix formatting, typos and broken link

* Add prettier for linting (CI) (yearn#11)

* add prettier for linting and add a corresponding github action

* update license in package.json to GPL-3.0-only

* Add v2.0 (reviewed by @milkyklim) (yearn#13)

* Rename FAQ to faq (yearn#14)

* Fix broken links (yearn#16)

* Updated link which pointed to the original hackmd doc

* updated a few links which were ponting to hackmd

* Updated Discord link to active invite link (yearn#20)

* Improve StableCredit page  (yearn#23)

* Improve StableCredit page

* Clean up StableCredit part

Co-authored-by: LAPTOP-BMG44977\migue <miguel567@gmail.com>

* Fix grammar (yearn#21)

Add a few commas, join 2 words that should be one, fix single letter words

* Run linter and fix formatting (yearn#24)

* Add husky precommit hook for linting and fix linting flags in CI (yearn#25)

* Add new yUSD docs (yearn#29)

* Add yUSD doc

* Revise YFI and yTokens page since we have the new yUSD page

* Run linter and fix formatting

Co-authored-by: tracheopteryx <69904756+tracheopteryx@users.noreply.github.com>

* Hotfix huge logo

* Add how-to guides: buy yUSD and add yUSD to MetaMask (yearn#31)

* Add new how-to guides: buy yUSD and add yUSD to MetaMask

* Add a link to How to Buy yUSD in the yUSD page

* Run linter and fix formatting

Co-authored-by: tracheopteryx <69904756+tracheopteryx@users.noreply.github.com>

* Update linting in CI (yearn#32)

* Fix docs and add Bankless video (yearn#35)

* Add bankless video

* Fix typo

* Fix broken link

Co-authored-by: LAPTOP-BMG44977\migue <miguel567@gmail.com>

* Add Unchained podcast to FAQ (yearn#27)

* Add Unchained podcast

* Fix date

Co-authored-by: milkyklim <10698619+milkyklim@users.noreply.github.com>

* Add vault stats in Dune (yearn#36)

* Fix discord link to discord.yearn.finance (yearn#37)

* Fix stuck transaction guide link (yearn#38)

* Fix typos (yearn#40)

* typo: depost -> deposit

* typo: farimging -> farming

* Add API section to integration guide (yearn#41)

* Add API section to integration guide

* Format API additions with prettier

* Fix Discord links (yearn#42)

* Fix Discord links and a typo

* Fix https/http for discord

Co-authored-by: milkyklim <10698619+milkyklim@users.noreply.github.com>

* Add addyearn.finance and update names (yearn#45)

* Add new how to guides: how to buy yUSD and how to add yUSD to MetaMask

* Add a link to How to Buy yUSD in the yUSD page

* Fix filename

* Revert FAQ changes

Co-authored-by: milkyklim <10698619+milkyklim@users.noreply.github.com>

* Add dev docs v1  (yearn#46)

* Add new dev docs

* Fix table formatting

* Fix summary.md

* Add old dev resource links to summary.md

* Fix typos

* Update vault interfaces

* Lint docs

* Clean up code-repositories page

* Clean up deployed-contracts-registry page

* Clean up integration-guide page

Co-authored-by: milkyklim <10698619+milkyklim@users.noreply.github.com>

* Update decent chunk of docs (yearn#50)

* Update from gitbook

* Update vaults-overview.md

Filling vaults overview

* Update vault-interfaces.md

Vault Interfaces fill

* Update from gitbook

* Lint all files

* Revert defi-glossary headers

* Fix links view

* Fix typos in deployed-contracts-registry.md

* Update yusd page

* Fix how-to and r-and-d

* Fix add to metamask page

* Add minimal fixes

* Update vaults overview

* Update vault interfaces page

Co-authored-by: milkyklim <10698619+milkyklim@users.noreply.github.com>

* Update how-to-participate-in-a-yvault.md (yearn#49)

Co-authored-by: milkyklim <10698619+milkyklim@users.noreply.github.com>

* Update how-to-understand-yvault-roi.md (yearn#52)

* Update how-to-understand-yvault-roi.md

* Add small fixes

Co-authored-by: milkyklim <10698619+milkyklim@users.noreply.github.com>

* Update governance.md (yearn#57)

typo

* Update existing Delegated yVaults docs (yearn#59)

* Update graph link (yearn#60)

* Fix Clarify Strategy Management (yearn#62)

* Fix up grammatical/spelling errors (yearn#61)

* Fix up grammatical/spelling errors

* Add "in nature"

Co-authored-by: milkyklim <10698619+milkyklim@users.noreply.github.com>

* Update deployed contracts registry (yearn#65)

* Update registry

* Fix link and formatting

Co-authored-by: Ludmila <ludmila.omlopes@gmail.com>
Co-authored-by: milkyklim <10698619+milkyklim@users.noreply.github.com>

* Update "how to participate in a vault" (yearn#66)

* Update "how to participate in a vault"

* Fix formatting

Co-authored-by: Ludmila <ludmila.omlopes@gmail.com>
Co-authored-by: milkyklim <10698619+milkyklim@users.noreply.github.com>

* Refactor yusd page (yearn#67)

* Refactor yusd page

* Fix formatting

Co-authored-by: Ludmila <ludmila.omlopes@gmail.com>
Co-authored-by: milkyklim <10698619+milkyklim@users.noreply.github.com>

* Delete Schema Diagrams stub page (yearn#68)

* Remove Schema Diagrams from summary.md (yearn#69)

* Refresh Gov contract link (yearn#71)

Refresh governance contract link from v1 to v2

* Add yearn team page (yearn#72)

* Add team page

* Fix formatting on team page

* Add missing twitter handles and github links

Co-authored-by: milkyklim <10698619+milkyklim@users.noreply.github.com>

* Add missing team page link (yearn#74)

* Add CRV vote locking guide (yearn#51)

* Add CRV vote locking guide

HackMD: https://hackmd.io/@lehnberg/rkP-E3uSD/edit
Trello card: https://trello.com/c/pC1yx3Kw/64-curve-vote-locking-vecrv-boosties

* Update curve contracts

* Add 3pool to boosties how-to

Co-authored-by: milkyklim <10698619+milkyklim@users.noreply.github.com>

* Update yInsure to use cover terminology  (yearn#75)

* Update yinsure to use cover terminology

* Update yinsure descriptor

* Add how to understand crv vote locking to summary.md (yearn#80)

* Update earn.md (yearn#93)

Corrected a few minor typos.

* Update Vault Interfaces (yearn#89)

* Update vault-interfaces.md

* Remove skim() notice

Co-authored-by: milkyklim <10698619+milkyklim@users.noreply.github.com>

* Update README.md (yearn#91)

* Update README.md

* Run linter

Co-authored-by: milkyklim <10698619+milkyklim@users.noreply.github.com>

* Update README.md (yearn#95)

Correct typo (muliti-signature -> multi-signature)

* Update StableCredit page (yearn#94)

* Update stablecredit.md

* Replace html with md

Co-authored-by: milkyklim <10698619+milkyklim@users.noreply.github.com>

* Add codeowners (yearn#99)

* Add gusd vault to deployed contracts registry docs (yearn#100)

* FAQ - Update Community. Add core team, payments and grants info (yearn#96)

* FAQ - Community updated. Added info on core team, payments and grants
* Make additional wording and formatting fixes

Co-authored-by: Ludmila <ludmila.omlopes@gmail.com>
Co-authored-by: Daniel Lehnberg <daniel.lehnberg@protonmail.com>

* Add missing dev (yearn#105)

* Add some changes on yTokens explanation (yearn#107)

* Adding Naming Conventions. Tried to avoid 64 changed files (yearn#110)

* some changes on yTokens explanation (yearn#107)

* naming convention with correct format to avoid 64 pages

* trying to PR 1 file

* duh forgot to update the side bar

* Run linter

Co-authored-by: definn-farmer <70661659+definn-farmer@users.noreply.github.com>
Co-authored-by: Daniel Lehnberg <daniel.lehnberg@protonmail.com>

* Update audit link (yearn#112)

* Delete yvault no audit as risk

* Update audit link

Co-authored-by: milkyklim <10698619+milkyklim@users.noreply.github.com>

* Add Community Group and Corresponding Contribute Overview (yearn#111)

* Add Community Group and Corresponding Contribute Overview

* Fix change community to contributors

* Fix Replace Canny to Forum for Feedback

* Fix Replace Social Links with reference to existing links

* Fix Remove Reference to UIUX Kanban TODO

* Fix Remove reference to empty yDAI interactive schema link

- Will be re-added upon animation completion or updated for v2 vaults whichever comes first. (Currently only static image exists)

* Update community README

* Replace community with contributors

Co-authored-by: milkyklim <10698619+milkyklim@users.noreply.github.com>

* Contributors — Pass #2 (yearn#115)

* Update Contribution Guide

* Update

* Update

* fix: Correct typo

* Run linter

Co-authored-by: Daniel Lehnberg <daniel.lehnberg@protonmail.com>

* Fix dead links (yearn#121)

* Update strategies.md

* Update resources.md

* Update strategies.md

* Update delegated-funding-dao-vaults.md

* Update README.md

* Update aprmapwithpool.md

* Update ybtc.md

* Update curvefi.md

* Update deployed-contracts-registry.md

* Update SUMMARY.md

* Update faq.md

* Update how-to-understand-yvault-roi.md

* Update features.md

* Update resources.md

* Run linter

Co-authored-by: milkyklim <10698619+milkyklim@users.noreply.github.com>

* Add links checker (yearn#119)

* Run linter

* Add links checker

* Make CI less verbose

* Fix links

* Disable link checker for yliquidate.md

* Update README.md (yearn#123)

Clean up introduction paragraph to make it easier to read.

* Update governance.md (yearn#124)

Update Governance explainer to better reflect current state.

* Fix broken curve.fi link (yearn#128)

* Fix broken link

* Run linter

* Fix another link

* Update governance.md (yearn#129)

Wow, sorry I missed this super annoying typo...

* Add how to withdraw from yvaults guide (yearn#130)

* Add files via upload

* Add files via upload

* fix: Sort SUMMARY.md links alphabetically

* Add missing links to how-to-guides/README.md

* Edit guide for spelling, wording, and structure

Co-authored-by: Daniel Lehnberg <daniel.lehnberg@protonmail.com>

* Remove yCover from Naming Convention (yearn#133)

* Added section clarifying about yUSD nomenclature (yearn#173)

* Added section clarifying about yUSD nomenclature

Clarified in the naming conventions doc as to when we should use `yUSD` vs the formulaic `yvCurve-Y`. 

`yUSD` refers to the asset itself (what we use to make payments), whereas `yvCurve-Y` or `Curve Y Pool yVault` is referring to the actual vault product that generates yield.

* Ran prettier on previous commit

* Add Contributor Tools Page (yearn#174)

* Add Contributor Tools Page

* Fix Remove broken links

* Fix Remove Ignore Prettier Comment

* Add Jitsi link and fix broken link

Co-authored-by: Daniel Lehnberg <daniel.lehnberg@protonmail.com>

* Add Writing Style Guide (yearn#132)

* Add Writing Style Guide

* Fix Replace absolute url with relative

* Fix broken link

* fix styling issues

* Make further formatting fixes

* Run linter

* Fix: Repair broken links

Co-authored-by: Daniel Lehnberg <daniel.lehnberg@protonmail.com>

* feat(git): add kodiak

Co-authored-by: tracheopteryx <69904756+tracheopteryx@users.noreply.github.com>
Co-authored-by: milkyklim <10698619+milkyklim@users.noreply.github.com>
Co-authored-by: HackMD <no-reply@hackmd.io>
Co-authored-by: Sunil Srivatsa <sunilsrivatsa@gmail.com>
Co-authored-by: Miguel Cabeza <miguel567@gmail.com>
Co-authored-by: Adrian Scott <adrian@adrianscott.com>
Co-authored-by: Daniel Lehnberg <daniel.lehnberg@protonmail.com>
Co-authored-by: MathieuGorichon <mathieu.gorichon@gmail.com>
Co-authored-by: Graham Utton <grahamu@gmail.com>
Co-authored-by: emlazzarin <1141361+emlazzarin@users.noreply.github.com>
Co-authored-by: definn-farmer <70661659+definn-farmer@users.noreply.github.com>
Co-authored-by: Wot-Is-Goin-On <72106914+Wot-Is-Goin-On@users.noreply.github.com>
Co-authored-by: Ali Atiia <42751398+aliatiia@users.noreply.github.com>
Co-authored-by: transferAndCall <70107144+transferAndCall@users.noreply.github.com>
Co-authored-by: Faolain <Faolain@users.noreply.github.com>
Co-authored-by: Zubair Zia <zubairzia0@gmail.com>
Co-authored-by: Ludmila <ludmila.omlopes@gmail.com>
Co-authored-by: _g4brielShapir0 <gabriel.j.shapiro@gmail.com>
Co-authored-by: wirjo <daniel@wirjo.com>
Co-authored-by: franklin501 <68931303+franklin501@users.noreply.github.com>
Co-authored-by: stonemit <71476076+stonemit@users.noreply.github.com>
Co-authored-by: Lefteris Karapetsas <lefteris@refu.co>
Co-authored-by: surfer77 <surfcoderepeat@protonmail.com>
Co-authored-by: nomadyfi <71185416+nomadyfi@users.noreply.github.com>
Co-authored-by: Juan Manuel Franco Patiño <45358012+juafrapat@users.noreply.github.com>
Co-authored-by: dudesahn <dudesahn@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Contributor's Guide: Writing Style Guide
2 participants