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

Fix some formatting inconsistencies #5018

Merged
merged 2 commits into from
Feb 10, 2022

Conversation

AaronDewes
Copy link
Contributor

I've tried automatically parsing the docs (for a WIP TypeScript client libarary which is automatically generated from docs + schemas), and these inconsistencies made it harder to do that.

@AaronDewes AaronDewes changed the title Remove some formatting inconsistencies Fix some formatting inconsistencies Jan 23, 2022
Copy link
Contributor

@vincenzopalazzo vincenzopalazzo left a comment

Choose a reason for hiding this comment

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

ack c9f3fba

@rustyrussell
Copy link
Contributor

Actually, the \ seem unnecessary, can we just get rid of all of them?

@@ -4,7 +4,7 @@ lightning-connect -- Command for connecting to another lightning node
SYNOPSIS
--------

**connect** *id* \[*host* *port*\]
**connect** *id* \[*host*\] \[*port*\]
Copy link
Contributor

Choose a reason for hiding this comment

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

Actually, this should be '[host [port]]'

@cdecker
Copy link
Member

cdecker commented Jan 24, 2022

nack c9f3fba

@AaronDewes
Copy link
Contributor Author

Actually, the \ seem unnecessary, can we just get rid of all of them?

I think they make sense to prevent some markdown parsers from thinking this is a link, but I'll remove them, they can be readded if it causes any issues.

@rustyrussell
Copy link
Contributor

nack c9f3fba

Hmm, did you mistype, or did you have some feedback to share?

@rustyrussell
Copy link
Contributor

Minor regeneration fix...

@cdecker
Copy link
Member

cdecker commented Jan 27, 2022

Needs to be squashed, otherwise good to go 👍

Copy link
Contributor

@vincenzopalazzo vincenzopalazzo left a comment

Choose a reason for hiding this comment

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

ACK 96ddf9d

@cdecker cdecker force-pushed the fix-docs-formatting branch from 0709fe2 to 91bd19a Compare February 7, 2022 19:32
@cdecker
Copy link
Member

cdecker commented Feb 7, 2022

Rebased and squashed on top of current master

I've tried automatically parsing the docs, and these inconsistencies made it harder to do that.

(I tried to do that for a project which I can't share yet, I'm not sure if it'll even work).
@rustyrussell
Copy link
Contributor

Rebased again (should fix flakes!)

@rustyrussell
Copy link
Contributor

Ack f4d93e4

@rustyrussell rustyrussell merged commit 0924b47 into ElementsProject:master Feb 10, 2022
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.

4 participants