From f068f35334ce1bcc7778f0647b77a0b5eb1cfaae Mon Sep 17 00:00:00 2001 From: liangshiwei Date: Wed, 11 Dec 2024 15:02:19 +0800 Subject: [PATCH 1/2] 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: From 944447cdd9f75216ebe046540cd56616652c0fce Mon Sep 17 00:00:00 2001 From: liangshiwei Date: Wed, 11 Dec 2024 15:22:16 +0800 Subject: [PATCH 2/2] Update docs.md --- docs/en/modules/docs.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/docs/en/modules/docs.md b/docs/en/modules/docs.md index 597fccc714..69de3362a6 100644 --- a/docs/en/modules/docs.md +++ b/docs/en/modules/docs.md @@ -490,9 +490,6 @@ Since not every single document in your projects may not have sections or may no For example [Getting-Started.md](https://github.com/abpio/abp-commercial-docs/blob/master/en/getting-started.md): -``` -..... - ​```json //[doc-params] { @@ -502,9 +499,6 @@ For example [Getting-Started.md](https://github.com/abpio/abp-commercial-docs/bl } ​``` -........ -``` - This section will be automatically deleted during render. And f course, those key values must match with the ones in **Parameter document**. ![Interface](../images/docs-section-ui.png) @@ -513,7 +507,7 @@ Now you can use **Scriban** syntax to create sections in your document. For example: -```` +````text {{ if UI == "NG" }} * `-u` argument specifies the UI framework, `angular` in this case.