Browse Source

Update docs.md

pull/21593/head
liangshiwei 2 years ago
parent
commit
f068f35334
  1. 28
      docs/en/modules/docs.md

28
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: To reference the previous and next documents from a document, you should specify the documentation titles and their paths as follows:
``` ```json
//[doc-nav]
````json {
//[doc-nav] "Previous": {
{ "Name": "Overall",
"Previous": { "Path": "testing/overall"
"Name": "Overall", },
"Path": "testing/overall" "Next": {
}, "Name": "Integration tests",
"Next": { "Path": "testing/integration-tests"
"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: After you specify the next & previous documents, they will appear at the end of the current documentation like in the following figure:

Loading…
Cancel
Save