hyperledger-archives / sawtooth-docs-archive

Source files for the Hyperledger Sawtooth website
https://wiki.hyperledger.org/display/sawtooth
MIT License
4 stars 33 forks source link

Replace RocketChat with Discord #196

Closed tkuhrt closed 2 years ago

tkuhrt commented 2 years ago

Signed-off-by: Tracy Kuhrt tracy.a.kuhrt@accenture.com

vaporos commented 2 years ago

The build failed due to this lint:

lint-sawtooth-docs_1  | ./contact.md:32: MD013 Line length
tkuhrt commented 2 years ago

@vaporos : Any suggestions on how to make the line fit the MD013 requirement of 80 characters?

[#sawtooth](https://discord.com/channels/905194001349627914/905206249879113818){: .button}.

is 91 characters. The only alternative would be to make line 32:

and visit #sawtooth.

I see that line 18 is also beyond the 80 character limit so I was hoping that this would be acceptable as it is shorter than line 18. Looking for your recommendation on how you would like to see this fixed.

vaporos commented 2 years ago
diff --git a/contact.md b/contact.md
index c291adb..91e4a1f 100644
--- a/contact.md
+++ b/contact.md
@@ -29,4 +29,6 @@ Want to receive updates on Sawtooth? Add your email here:
 Want to ask questions and chat with other developers?

 [Join the Discord server](https://discord.gg/hyperledger){: .button}
-and visit [#sawtooth](https://discord.com/channels/905194001349627914/905206249879113818){: .button}.
+and visit
+[#sawtooth](https://discord.com/channels/905194001349627914/905206249879113818)
+{: .button}.

This seems to work. Line 18 doesn't trip the linting rule, so that one is fine.

FWIW - I'm using "just lint" and "just run" and pointing the browser at http://localhost:8080/ to test this locally, though it requires installing the "just" command and docker.