From cb6c0afce5a504244e548c9812d38f2eed7bebe7 Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei.gherzan@huawei.com>
Date: Mon, 25 Jul 2022 15:55:09 +0200
Subject: [PATCH] Add debug mode to TOC

This is coming from the oniro repository but the TOC is redefined in
docs leaving that document dangling.

This also fixes a build warning treated as an error:

Warning, treated as error:
[...]/docs/oniro/debug-mode.rst:document isn't included in any toctree
make: *** [Makefile:16: build] Error

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 index.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/index.rst b/index.rst
index fd2b101..d848d0e 100644
--- a/index.rst
+++ b/index.rst
@@ -77,7 +77,8 @@ daily life.
    :caption: Troubleshoot
    :maxdepth: 2
 
-   oniro/fallback-devices-support 
+   oniro/fallback-devices-support
+   oniro/debug-mode
 
 .. toctree::
    :caption: Contribute
-- 
GitLab