From 7b4b98abef6a947ea6610d59902c3651fe72960e Mon Sep 17 00:00:00 2001
From: Luke Schoen <ltfschoen@users.noreply.github.com>
Date: Thu, 25 Oct 2018 18:35:42 +0200
Subject: [PATCH] docs: Move contribution links to Contribution section (#994)

---
 substrate/README.adoc | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/substrate/README.adoc b/substrate/README.adoc
index e38e73e41b6..11fdd616b23 100644
--- a/substrate/README.adoc
+++ b/substrate/README.adoc
@@ -221,10 +221,6 @@ cargo run
 
 include::doc/packages/packages.adoc[]
 
-include::CONTRIBUTING.adoc[leveloffset=+1]
-
-include::CODE_OF_CONDUCT.adoc[leveloffset=+1]
-
 == Documentation
 
 === Viewing documentation for Substrate packages
@@ -321,6 +317,16 @@ The code block annotations in the `# Example` section may be used as https://doc
 ** https://doc.rust-lang.org/1.9.0/book/documentation.html#documenting-macros[Documentating macros].
 ** Documentation as tests examples are included when running `cargo test`
 
+== Contributing
+
+=== Contributing Guidelines
+
+include::CONTRIBUTING.adoc[]
+
+=== Contributor Code of Conduct
+
+include::CODE_OF_CONDUCT.adoc[]
+
 == License
 
 https://github.com/paritytech/substrate/blob/master/LICENSE[LICENSE]
-- 
GitLab