From 4c5932c8423b4b77c1f565635382bce0cd7683b1 Mon Sep 17 00:00:00 2001 From: expwnent Date: Sat, 31 Jan 2015 23:04:35 -0500 Subject: [PATCH] Contributing tweaks. --- Contributing.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Contributing.rst b/Contributing.rst index ce35d2b4a..95ef21814 100644 --- a/Contributing.rst +++ b/Contributing.rst @@ -20,7 +20,8 @@ Code Format * For C++: * Opening and closing braces on their own lines or opening brace at the end of the previous line - * Braces placed at original indent level + * Braces placed at original indent level if on their own lines + * #includes should be sorted. C++ libraries first, then dfhack modules, then df structures, then local includes. Within each category they should be sorted alphabetically. This policy is currently broken by most scripts but try to follow it if you can. ------------------------------- How to get new code into DFHack