From 2bb6154732ec8576d4d9e5e9be100d8037e2be25 Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei.gherzan@huawei.com>
Date: Mon, 29 Mar 2021 21:12:09 +0100
Subject: [PATCH] Have both IP policy doc tress under the same section

The IP policy and implementation guidelines are moved from being
standalone root entries to being part of a new section entitled
"Intellectual Property Compliance Policy". This makes the root
documentation level a bit cleaner.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 index.rst                                     |  3 +--
 ip-policy/index.rst                           | 12 ++++++++++++
 ip-policy/ip-policy_implementation-guidelines |  1 +
 ip-policy/ip-policy_policy                    |  1 +
 ip-policy_implementation-guidelines           |  1 -
 ip-policy_policy                              |  1 -
 6 files changed, 15 insertions(+), 4 deletions(-)
 create mode 100644 ip-policy/index.rst
 create mode 120000 ip-policy/ip-policy_implementation-guidelines
 create mode 120000 ip-policy/ip-policy_policy
 delete mode 120000 ip-policy_implementation-guidelines
 delete mode 120000 ip-policy_policy

diff --git a/index.rst b/index.rst
index b1e3c5f..8800bf6 100644
--- a/index.rst
+++ b/index.rst
@@ -28,7 +28,6 @@ headphones, and AR/VR glasses.
    meta-ohos/index
    readme/README
    contributing/README
-   ip-policy_implementation-guidelines/index
-   ip-policy_policy/index
    ci/index
+   ip-policy/index
    code-of-conduct
diff --git a/ip-policy/index.rst b/ip-policy/index.rst
new file mode 100644
index 0000000..d2df1a5
--- /dev/null
+++ b/ip-policy/index.rst
@@ -0,0 +1,12 @@
+.. SPDX-FileCopyrightText: Huawei Inc.
+..
+.. SPDX-License-Identifier: CC-BY-4.0
+
+Intellectual Property Compliance Policy
+#######################################
+
+.. toctree::
+   :maxdepth: 1
+
+   ip-policy_policy/index
+   ip-policy_implementation-guidelines/index
diff --git a/ip-policy/ip-policy_implementation-guidelines b/ip-policy/ip-policy_implementation-guidelines
new file mode 120000
index 0000000..0df640d
--- /dev/null
+++ b/ip-policy/ip-policy_implementation-guidelines
@@ -0,0 +1 @@
+../../ip-policy/implementation_guidelines/source/
\ No newline at end of file
diff --git a/ip-policy/ip-policy_policy b/ip-policy/ip-policy_policy
new file mode 120000
index 0000000..5197958
--- /dev/null
+++ b/ip-policy/ip-policy_policy
@@ -0,0 +1 @@
+../../ip-policy/policy/source/
\ No newline at end of file
diff --git a/ip-policy_implementation-guidelines b/ip-policy_implementation-guidelines
deleted file mode 120000
index 4db1e1f..0000000
--- a/ip-policy_implementation-guidelines
+++ /dev/null
@@ -1 +0,0 @@
-../ip-policy/implementation_guidelines/source
\ No newline at end of file
diff --git a/ip-policy_policy b/ip-policy_policy
deleted file mode 120000
index 5797ec1..0000000
--- a/ip-policy_policy
+++ /dev/null
@@ -1 +0,0 @@
-../ip-policy/policy/source/
\ No newline at end of file
-- 
GitLab