[Concept,14/16] doc: Move console docs to rST

Message ID 20250822142153.3404275-15-sjg@u-boot.org
State New
Headers
Series Introduce a pager for the console |

Commit Message

Simon Glass Aug. 22, 2025, 2:21 p.m. UTC
  From: Simon Glass <sjg@chromium.org>

Move the console readme into the main documentation, with as few changes
as possible.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 doc/{README.console => usage/console.rst} | 13 ++++++-------
 doc/usage/index.rst                       |  1 +
 2 files changed, 7 insertions(+), 7 deletions(-)
 rename doc/{README.console => usage/console.rst} (87%)
  

Patch

diff --git a/doc/README.console b/doc/usage/console.rst
similarity index 87%
rename from doc/README.console
rename to doc/usage/console.rst
index debef45760d..f624cc58038 100644
--- a/doc/README.console
+++ b/doc/usage/console.rst
@@ -1,11 +1,10 @@ 
-SPDX-License-Identifier: GPL-2.0+
-/*
- * (C) Copyright 2000
- * Paolo Scaffardi, AIRVENT SAM s.p.a - RIMINI(ITALY), arsenio@tin.it
- */
+.. SPDX-License-Identifier: GPL-2.0+
+.. sectionauthor:: Paolo Scaffardi, AIRVENT SAM s.p.a - RIMINI(ITALY), arsenio@tin.it
+..  (C) Copyright 2000
 
+=======================
 U-Boot console handling
-========================
+=======================
 
 HOW THE CONSOLE WORKS?
 ----------------------
@@ -57,4 +56,4 @@  You can use the following functions to access the console:
     fgetc	(like getc but redirected to a file)
 
 Remember that all FILE-related functions CANNOT be used before
-U-Boot relocation (done in 'board_init_r' in arch/*/lib/board.c).
+U-Boot relocation (done in 'board_init_r' in `arch/*/lib/board.c`).
diff --git a/doc/usage/index.rst b/doc/usage/index.rst
index 20465b8bff6..585aa3f9784 100644
--- a/doc/usage/index.rst
+++ b/doc/usage/index.rst
@@ -6,6 +6,7 @@  Use U-Boot
 
    spl_boot
    blkmap
+   console
    dfu
    environment
    fdt_overlays