Browse Source

doc: Link STLYE.md from HACKING.md

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa-0.6.1
Rusty Russell 7 years ago
parent
commit
a935ae0711
  1. 7
      doc/HACKING.md
  2. 5
      doc/STYLE.md

7
doc/HACKING.md

@ -11,11 +11,8 @@ It is designed to implement the lightning protocol as specified in
Getting Started Getting Started
--------------- ---------------
It's in C, to encourage alternate implementations. It's in C, to encourage alternate implementations. Patches are welcome!
It uses the [Linux coding style][style]. You should read our [Style Guide](STYLE.md).
Patches are welcome!
[style]: https://www.kernel.org/doc/html/v4.10/process/coding-style.html
To read the code, you'll probably need to understand `ccan/tal`: it's a To read the code, you'll probably need to understand `ccan/tal`: it's a
hierarchical memory allocator, where each allocation has a parent, and hierarchical memory allocator, where each allocation has a parent, and

5
doc/STYLE.md

@ -1,7 +1,10 @@
# Care And Feeding of Your Fellow Coders # Care And Feeding of Your Fellow Coders
Style is an individualistic thing, but working on software is group Style is an individualistic thing, but working on software is group
activity, so consistency is important. activity, so consistency is important. Generally our coding style
is similar to the [Linux coding style][style].
[style]: https://www.kernel.org/doc/html/v4.10/process/coding-style.html
## Communication ## Communication

Loading…
Cancel
Save