-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Fix various typos in docs for readability #8881
Conversation
Important Review skippedAuto reviews are limited to specific labels. Labels to auto review (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the diff!
My main comment is about not changing the "an lnd
" and an "lncli"
lines since those are correct. See the rule about using "an" vs "a" for acronyms here)
docs/safety.md
Outdated
@@ -411,7 +410,7 @@ node and the new Tor node: | |||
|
|||
### Prevent data corruption | |||
|
|||
Many problems while running an `lnd` node can be prevented by avoiding data | |||
Many problems while running a `lnd` node can be prevented by avoiding data |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since "LND" starts with a vowel sound ("el"), an
is actually correct here. Same for the other spots and for the "lncli" spots
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does indeed. Fixed.
docs/safety.md
Outdated
@@ -275,7 +275,7 @@ Other ways of obtaining SCBs for a node's channels are | |||
|
|||
Because the backup file is encrypted with a key from the seed the node was | |||
created with, it can safely be stored on a cloud storage or any other storage | |||
medium. Many consumer focused wallet smartphone apps automatically store a | |||
medium. Many consumers focused wallet smartphone apps automatically store a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was correct as it was "consumer focused wallet smartphone apps"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. I corrected it.
docs/safety.md
Outdated
please see the [node migration section](#migrating-a-node-to-a-new-device). | ||
* For more technical information [see the aezeed README](../aezeed/README.md). | ||
|
||
### Wallet password | ||
|
||
The wallet password is one of the first things that has to be entered if a new | ||
wallet is created using `lnd`. It is completely independent from the `aezeed` | ||
wallet is created using `lnd`. It is completely independent of the `aezeed` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
imo it sounded ok before
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can see how that works. Fixed!
docs/code_formatting_rules.md
Outdated
@@ -180,8 +180,7 @@ like `require.NoErrorf()`. | |||
|
|||
### Wrapping long function definitions | |||
|
|||
If one is forced to wrap lines of function arguments that exceed the 80 | |||
character limit, then indentation must be kept on the following lines. Also, | |||
If one is forced to wrap lines of function arguments that exceed the 80-character limit, then indentation must be kept on the following lines. Also, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmmm unfortunately this change breaks the rule being noted 🤔 we want to keep the 80-char wrapping for now
docs/INSTALL.md
Outdated
@@ -308,8 +308,7 @@ time of writing of this document, there are three available chain backends: | |||
`btcd`, `neutrino`, `bitcoind`. All including neutrino can run on mainnet with | |||
an out of the box `lnd` instance. We don't require `--txindex` when running | |||
with `bitcoind` or `btcd` but activating the `txindex` will generally make | |||
`lnd` run faster. Note that since version 0.13 pruned nodes are supported | |||
although they cause performance penalty and higher network usage. | |||
`lnd` run faster. Note that since version 0.13 pruned nodes are supported, although they cause performance penalty and higher network usage. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrap at 80
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrapped in latest update.
docs/INSTALL.md
Outdated
@@ -205,7 +205,7 @@ make install | |||
|
|||
The command above will install the current _master_ branch of `lnd`. If you | |||
wish to install a tagged release of `lnd` (as the master branch can at times be | |||
unstable), then [visit then release page to locate the latest | |||
unstable), then [visit release page to locate the latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
visit the release page
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. Please check the contribution guidelines regarding Ideal Git Commit Structure.
e882b75
to
3b72b28
Compare
Would appreciate another look at this PR. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the case of changes that touch several packages, and can only compile with the change across several packages, a multi: prefix should be used.
Also could you remove the skip CI
flag? Thanks.
docs/INSTALL.md
Outdated
@@ -478,7 +478,7 @@ zmqpubrawtx=tcp://127.0.0.1:28333 | |||
|
|||
Once all of the above is complete, and you've confirmed `bitcoind` is fully | |||
updated with the latest blocks on testnet, run the command below to launch | |||
`lnd` with `bitcoind` as your backend (as with `bitcoind`, you can create an | |||
`lnd` with `bitcoind` as your backend (as with `bitcoind`, you can create a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I understand English correctly I believe this should be an an
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unaddressed
docs/INSTALL.md
Outdated
@@ -590,13 +590,13 @@ password stretching for the wallet encryption and therefore starts up faster | |||
than a production/mainnet/release build. The binary can be built by running | |||
`make build-itest`. | |||
|
|||
# Creating an lnd.conf (Optional) | |||
# Creating a lnd.conf (Optional) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here, and all the other places
docs/INSTALL.md
Outdated
@@ -136,7 +136,7 @@ the following commands for your OS: | |||
<details> | |||
<summary>macOS</summary> | |||
|
|||
First, install [Homebrew](https://brew.sh) if you don‘t already have it. | |||
First, install [Homebrew](https://brew.sh) if you don’t already have it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: just stumbled over this, in the other place you used don't
, here don’t
, where don't
is correct, I think
afaf279
to
a7ba6a9
Compare
@yyforyongyu @bitromortac Requesting another look since the most recent change. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still a couple of left over "an"-> "a" changes that should be un-done 🙏
6c94338
to
ae523f9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
almost there
docs/INSTALL.md
Outdated
@@ -478,7 +478,7 @@ zmqpubrawtx=tcp://127.0.0.1:28333 | |||
|
|||
Once all of the above is complete, and you've confirmed `bitcoind` is fully | |||
updated with the latest blocks on testnet, run the command below to launch | |||
`lnd` with `bitcoind` as your backend (as with `bitcoind`, you can create an | |||
`lnd` with `bitcoind` as your backend (as with `bitcoind`, you can create a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unaddressed
docs/code_formatting_rules.md
Outdated
@@ -145,7 +145,7 @@ value, err := bar( | |||
|
|||
**Note that the above guidelines don't apply to log or error messages.** For | |||
log and error messages, committers should attempt to minimize the number of | |||
lines utilized, while still adhering to the 80-character column limit. For | |||
lines utilized, while still adhering to the 80-character column limit For |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dont think this is correct. Either leave as is, or replace the . For
with , for
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be fixed up now!
ae523f9
to
a6db2ac
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. One more request, then we're good to go.
a6db2ac
to
e6dca0c
Compare
Change Description
A small set of trivial fixes for typos and readability in the docs.
Steps to Test
N/A
Pull Request Checklist
Testing
Code Style and Documentation
[skip ci]
in the commit message for small changes.📝 Please see our Contribution Guidelines for further guidance.