doc: move sections from guides

Move remaining items from guides into the appropriate locations using
the new structure.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
diff --git a/doc/develop/index.rst b/doc/develop/index.rst
index a3b6720..31e6d21 100644
--- a/doc/develop/index.rst
+++ b/doc/develop/index.rst
@@ -10,6 +10,8 @@
    beyond-GSG.rst
    env_vars.rst
    application/index.rst
+   optimizations/index
    flash_debug/index
    modules.rst
    west/index
+   test/index
diff --git a/doc/guides/optimizations/footprint.rst b/doc/develop/optimizations/footprint.rst
similarity index 100%
rename from doc/guides/optimizations/footprint.rst
rename to doc/develop/optimizations/footprint.rst
diff --git a/doc/guides/optimizations/index.rst b/doc/develop/optimizations/index.rst
similarity index 100%
rename from doc/guides/optimizations/index.rst
rename to doc/develop/optimizations/index.rst
diff --git a/doc/guides/optimizations/tools.rst b/doc/develop/optimizations/tools.rst
similarity index 100%
rename from doc/guides/optimizations/tools.rst
rename to doc/develop/optimizations/tools.rst
diff --git a/doc/guides/test/coverage.rst b/doc/develop/test/coverage.rst
similarity index 100%
rename from doc/guides/test/coverage.rst
rename to doc/develop/test/coverage.rst
diff --git a/doc/guides/test/fixtures.svg b/doc/develop/test/fixtures.svg
similarity index 100%
rename from doc/guides/test/fixtures.svg
rename to doc/develop/test/fixtures.svg
diff --git a/doc/guides/test/index.rst b/doc/develop/test/index.rst
similarity index 100%
rename from doc/guides/test/index.rst
rename to doc/develop/test/index.rst
diff --git a/doc/guides/test/mocking.c b/doc/develop/test/mocking.c
similarity index 100%
rename from doc/guides/test/mocking.c
rename to doc/develop/test/mocking.c
diff --git a/doc/guides/test/twister.rst b/doc/develop/test/twister.rst
similarity index 100%
rename from doc/guides/test/twister.rst
rename to doc/develop/test/twister.rst
diff --git a/doc/guides/test/ztest.rst b/doc/develop/test/ztest.rst
similarity index 100%
rename from doc/guides/test/ztest.rst
rename to doc/develop/test/ztest.rst
diff --git a/doc/guides/index.rst b/doc/guides/index.rst
index dd3ec7b..9d3e9ed 100644
--- a/doc/guides/index.rst
+++ b/doc/guides/index.rst
@@ -7,10 +7,6 @@
    :maxdepth: 1
 
    coccinelle.rst
-   code-relocation.rst
    platformio/index.rst
    portability/index.rst
    porting/index
-   test/index
-   tfm/index
-   optimizations/index
diff --git a/doc/guides/code-relocation.rst b/doc/kernel/code-relocation.rst
similarity index 100%
rename from doc/guides/code-relocation.rst
rename to doc/kernel/code-relocation.rst
diff --git a/doc/kernel/index.rst b/doc/kernel/index.rst
index feec4b9..ecd43a1 100644
--- a/doc/kernel/index.rst
+++ b/doc/kernel/index.rst
@@ -16,3 +16,4 @@
    timeutil.rst
    util/index.rst
    iterable_sections/index.rst
+   code-relocation.rst
diff --git a/doc/services/index.rst b/doc/services/index.rst
index d2e1488..772ca65 100644
--- a/doc/services/index.rst
+++ b/doc/services/index.rst
@@ -22,3 +22,4 @@
    smf/index.rst
    storage/index.rst
    task_wdt/index.rst
+   tfm/index
diff --git a/doc/guides/tfm/build.rst b/doc/services/tfm/build.rst
similarity index 100%
rename from doc/guides/tfm/build.rst
rename to doc/services/tfm/build.rst
diff --git a/doc/guides/tfm/index.rst b/doc/services/tfm/index.rst
similarity index 100%
rename from doc/guides/tfm/index.rst
rename to doc/services/tfm/index.rst
diff --git a/doc/guides/tfm/integration.rst b/doc/services/tfm/integration.rst
similarity index 100%
rename from doc/guides/tfm/integration.rst
rename to doc/services/tfm/integration.rst
diff --git a/doc/guides/tfm/overview.rst b/doc/services/tfm/overview.rst
similarity index 100%
rename from doc/guides/tfm/overview.rst
rename to doc/services/tfm/overview.rst
diff --git a/doc/guides/tfm/requirements.rst b/doc/services/tfm/requirements.rst
similarity index 100%
rename from doc/guides/tfm/requirements.rst
rename to doc/services/tfm/requirements.rst
diff --git a/doc/guides/tfm/testsuites.rst b/doc/services/tfm/testsuites.rst
similarity index 100%
rename from doc/guides/tfm/testsuites.rst
rename to doc/services/tfm/testsuites.rst