From f068f35334ce1bcc7778f0647b77a0b5eb1cfaae Mon Sep 17 00:00:00 2001 From: liangshiwei Date: Wed, 11 Dec 2024 15:02:19 +0800 Subject: [PATCH] Update docs.md --- docs/en/modules/docs.md | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/docs/en/modules/docs.md b/docs/en/modules/docs.md index dc04339e78..597fccc714 100644 --- a/docs/en/modules/docs.md +++ b/docs/en/modules/docs.md @@ -672,22 +672,18 @@ The **Docs Module** supports referencing previous and next documents. It's usefu To reference the previous and next documents from a document, you should specify the documentation titles and their paths as follows: -``` - - ````json - //[doc-nav] - { - "Previous": { - "Name": "Overall", - "Path": "testing/overall" - }, - "Next": { - "Name": "Integration tests", - "Path": "testing/integration-tests" - } - } - ```` - +```json +//[doc-nav] +{ + "Previous": { + "Name": "Overall", + "Path": "testing/overall" + }, + "Next": { + "Name": "Integration tests", + "Path": "testing/integration-tests" + } +} ``` After you specify the next & previous documents, they will appear at the end of the current documentation like in the following figure: