You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by wu...@apache.org on 2022/12/30 03:21:47 UTC

[shardingsphere] branch master updated: feat: add distsql Railroad diagram (#23182)

This is an automated email from the ASF dual-hosted git repository.

wuweijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new e55c586d563 feat: add distsql Railroad diagram (#23182)
e55c586d563 is described below

commit e55c586d563caa5f9b1514b9df96b00c2416a013
Author: davidChan3000 <50...@users.noreply.github.com>
AuthorDate: Fri Dec 30 11:21:40 2022 +0800

    feat: add distsql Railroad diagram (#23182)
    
    * feat:add skins
    
    * feat:update-theme
    
    * modify
    
    * feat:upgrade theme && add distsql Railroad Diagram
    
    * feat:upgrade theme && add distsql Railroad Diagram
    
    * feat:add railroad diagram
    
    Co-authored-by: shardingsphere <de...@shardingsphere.apache.org>
---
 ...r-readwrite-splitting-rule-enable-disable.cn.md |    7 +
 ...r-readwrite-splitting-rule-enable-disable.en.md |    7 +
 .../enable-disable-compute-node.cn.md              |    7 +
 .../enable-disable-compute-node.en.md              |    7 +
 .../label-relabel-compute-node.cn.md               |    8 +
 .../label-relabel-compute-node.en.md               |    7 +
 .../ral/circuit-breaker/show-compute-nodes.cn.md   |    7 +
 .../ral/circuit-breaker/show-compute-nodes.en.md   |    7 +
 ...show-status-from-readwrite-splitting-rule.cn.md |    7 +
 ...show-status-from-readwrite-splitting-rule.en.md |    7 +
 .../ral/circuit-breaker/unlabel-compute-node.cn.md |    8 +
 .../ral/circuit-breaker/unlabel-compute-node.en.md |    7 +
 .../syntax/ral/export-database-configuration.cn.md |    7 +
 .../syntax/ral/export-database-configuration.en.md |    7 +
 .../ral/global-rule/alter-sql-parser-rule.cn.md    |    7 +
 .../ral/global-rule/alter-sql-parser-rule.en.md    |    7 +
 .../ral/global-rule/alter-traffic-rule.cn.md       |    7 +
 .../ral/global-rule/alter-traffic-rule.en.md       |    7 +
 .../ral/global-rule/alter-transaction-rule.cn.md   |    7 +
 .../ral/global-rule/alter-transaction-rule.en.md   |    7 +
 .../ral/global-rule/create-traffic-rule.cn.md      |    7 +
 .../ral/global-rule/create-traffic-rule.en.md      |    7 +
 .../syntax/ral/global-rule/drop-traffic-rule.cn.md |    7 +
 .../syntax/ral/global-rule/drop-traffic-rule.en.md |    7 +
 .../ral/global-rule/show-authority-rule.cn.md      |    7 +
 .../ral/global-rule/show-authority-rule.en.md      |    7 +
 .../ral/global-rule/show-sql-parser-rule.cn.md     |    7 +
 .../ral/global-rule/show-sql-parser-rule.en.md     |    7 +
 .../syntax/ral/global-rule/show-traffic-rule.cn.md |    8 +
 .../syntax/ral/global-rule/show-traffic-rule.en.md |    7 +
 .../ral/global-rule/show-transaction-rule.cn.md    |    7 +
 .../ral/global-rule/show-transaction-rule.en.md    |    7 +
 .../hint/add-sharding-hint-database-value.cn.md    |    7 +
 .../hint/add-sharding-hint-database-value.en.md    |    7 +
 .../ral/hint/add-sharding-hint-table-value.cn.md   |    7 +
 .../ral/hint/add-sharding-hint-table-value.en.md   |    7 +
 .../distsql/syntax/ral/hint/clear-hint.cn.md       |    7 +
 .../distsql/syntax/ral/hint/clear-hint.en.md       |    7 +
 .../hint/set-readwrite-spitting-hint-source.cn.md  |    7 +
 .../hint/set-readwrite-spitting-hint-source.en.md  |    7 +
 .../hint/set-sharding-hint-database-value.cn.md    |    7 +
 .../hint/set-sharding-hint-database-value.en.md    |    7 +
 .../distsql/syntax/ral/hint/show-hint-status.cn.md |    7 +
 .../distsql/syntax/ral/hint/show-hint-status.en.md |    7 +
 .../syntax/ral/import-database-configuration.cn.md |    7 +
 .../syntax/ral/import-database-configuration.en.md |    7 +
 .../ral/migration/alter-migration-rule.cn.md       |    7 +
 .../ral/migration/alter-migration-rule.en.md       |    7 +
 .../syntax/ral/migration/check-migration.cn.md     |    7 +
 .../syntax/ral/migration/check-migration.en.md     |    7 +
 .../syntax/ral/migration/commit-migration.cn.md    |    7 +
 .../syntax/ral/migration/commit-migration.en.md    |    7 +
 .../syntax/ral/migration/migrate-table-into.cn.md  |    7 +
 .../syntax/ral/migration/migrate-table-into.en.md  |    7 +
 .../register-migration-source-storage-unit.cn.md   |    7 +
 .../register-migration-source-storage-unit.en.md   |    7 +
 .../syntax/ral/migration/rollback-migration.cn.md  |    7 +
 .../syntax/ral/migration/rollback-migration.en.md  |    8 +
 .../migration/show-migration-check-algorithm.cn.md |    8 +
 .../migration/show-migration-check-algorithm.en.md |    7 +
 .../migration/show-migration-check-status.cn.md    |    7 +
 .../migration/show-migration-check-status.en.md    |    7 +
 .../syntax/ral/migration/show-migration-list.cn.md |    7 +
 .../syntax/ral/migration/show-migration-list.en.md |    7 +
 .../syntax/ral/migration/show-migration-rule.cn.md |    7 +
 .../syntax/ral/migration/show-migration-rule.en.md |    7 +
 .../show-migration-source-storage-units.cn.md      |    7 +
 .../show-migration-source-storage-units.en.md      |    7 +
 .../ral/migration/show-migration-status.cn.md      |    7 +
 .../ral/migration/show-migration-status.en.md      |    7 +
 .../ral/migration/start-migration-check.cn.md      |    7 +
 .../ral/migration/start-migration-check.en.md      |    7 +
 .../syntax/ral/migration/start-migration.cn.md     |    7 +
 .../syntax/ral/migration/start-migration.en.md     |    7 +
 .../ral/migration/stop-migration-check.cn.md       |    7 +
 .../ral/migration/stop-migration-check.en.md       |    7 +
 .../syntax/ral/migration/stop-migration.cn.md      |    7 +
 .../syntax/ral/migration/stop-migration.en.md      |    7 +
 .../ral/migration/unregister-storage-unit.cn.md    |    7 +
 .../ral/migration/unregister-storage-unit.en.md    |    7 +
 .../refresh-table-metadata-from-storage-unit.cn.md |    8 +
 .../refresh-table-metadata-from-storage-unit.en.md |    7 +
 .../syntax/ral/refresh-table-metadata.cn.md        |    7 +
 .../syntax/ral/refresh-table-metadata.en.md        |    7 +
 .../distsql/syntax/ral/set-dist-vairable.cn.md     |    7 +
 .../distsql/syntax/ral/set-dist-vairable.en.md     |    7 +
 .../syntax/ral/show-compute-node-info.cn.md        |    7 +
 .../syntax/ral/show-compute-node-info.en.md        |    7 +
 .../syntax/ral/show-compute-node-mode.cn.md        |    7 +
 .../syntax/ral/show-compute-node-mode.en.md        |    7 +
 .../distsql/syntax/ral/show-dist-variable.cn.md    |    7 +
 .../distsql/syntax/ral/show-dist-variable.en.md    |    7 +
 .../syntax/ral/show-rules-used-storage-unit.cn.md  |    7 +
 .../syntax/ral/show-rules-used-storage-unit.en.md  |    7 +
 .../distsql/syntax/ral/show-table-metadata.cn.md   |    7 +
 .../distsql/syntax/ral/show-table-metadata.en.md   |    7 +
 .../db-discovery/alter-db-discovery-rule.cn.md     |    7 +
 .../db-discovery/alter-db-discovery-rule.en.md     |    7 +
 .../db-discovery/create-db-discovery-rule.cn.md    |    7 +
 .../db-discovery/create-db-discovery-rule.en.md    |    7 +
 .../db-discovery/drop-db-discovery-heartbeat.cn.md |    7 +
 .../db-discovery/drop-db-discovery-heartbeat.en.md |    7 +
 .../db-discovery/drop-db-discovery-rule.cn.md      |    8 +
 .../db-discovery/drop-db-discovery-rule.en.md      |    7 +
 .../db-discovery/drop-db-discovery-type.cn.md      |    7 +
 .../db-discovery/drop-db-discovery-type.en.md      |    7 +
 .../encrypt/alter-encrypt-rule.cn.md               |    7 +
 .../encrypt/alter-encrypt-rule.en.md               |    7 +
 .../encrypt/create-encrypt-rule.cn.md              |    7 +
 .../encrypt/create-encrypt-rule.en.md              |    7 +
 .../encrypt/drop-encrypt-rule.cn.md                |    7 +
 .../encrypt/drop-encrypt-rule.en.md                |    7 +
 .../alter-readwrite-splitting-rule.cn.md           |    7 +
 .../alter-readwrite-splitting-rule.en.md           |    7 +
 .../create-readwrite-splitting-rule.cn.md          |    7 +
 .../create-readwrite-splitting-rule.en.md          |    7 +
 .../drop-readwrite-splitting-rule.cn.md            |    7 +
 .../drop-readwrite-splitting-rule.en.md            |    7 +
 .../shadow/alter-default-shadow-algorithm.cn.md    |    7 +
 .../shadow/alter-default-shadow-algorithm.en.md    |    7 +
 .../rule-definition/shadow/alter-shadow-rule.cn.md |    7 +
 .../rule-definition/shadow/alter-shadow-rule.en.md |    7 +
 .../shadow/create-default-shadow-algorithm.cn.md   |    7 +
 .../shadow/create-default-shadow-algorithm.en.md   |    7 +
 .../shadow/create-shadow-rule.cn.md                |    7 +
 .../shadow/create-shadow-rule.en.md                |    7 +
 .../shadow/drop-default-shadow-algorithm.cn.md     |    7 +
 .../shadow/drop-default-shadow-algorithm.en.md     |    7 +
 .../shadow/drop-shadow-algorithm.cn.md             |    7 +
 .../shadow/drop-shadow-algorithm.en.md             |    7 +
 .../rule-definition/shadow/drop-shadow-rule.cn.md  |    7 +
 .../rule-definition/shadow/drop-shadow-rule.en.md  |    7 +
 .../sharding/alter-default-sharding-strategy.cn.md |    7 +
 .../sharding/alter-default-sharding-strategy.en.md |    7 +
 .../alter-sharding-table-reference-rule.cn.md      |    7 +
 .../alter-sharding-table-reference-rule.en.md      |    7 +
 .../sharding/alter-sharding-table-rule.cn.md       |    7 +
 .../sharding/alter-sharding-table-rule.en.md       |    7 +
 .../sharding/create-broadcast-table-rule.cn.md     |    7 +
 .../sharding/create-broadcast-table-rule.en.md     |    7 +
 .../create-default-sharding-strategy.cn.md         |    7 +
 .../create-default-sharding-strategy.en.md         |    7 +
 .../create-sharding-table-reference-rule.cn.md     |    7 +
 .../create-sharding-table-reference-rule.en.md     |    7 +
 .../sharding/create-sharding-table-rule.cn.md      |    7 +
 .../sharding/create-sharding-table-rule.en.md      |    7 +
 .../sharding/drop-broadcast-table-rule.cn.md       |    7 +
 .../sharding/drop-broadcast-table-rule.en.md       |    7 +
 .../sharding/drop-default-sharding-strategy.cn.md  |    7 +
 .../sharding/drop-default-sharding-strategy.en.md  |    7 +
 .../sharding/drop-sharding-algorithm.cn.md         |    7 +
 .../sharding/drop-sharding-algorithm.en.md         |    7 +
 .../sharding/drop-sharding-key-generator.cn.md     |    7 +
 .../sharding/drop-sharding-key-generator.en.md     |    7 +
 .../drop-sharding-table-reference-rule.cn.md       |    7 +
 .../drop-sharding-table-reference-rule.en.md       |    7 +
 .../sharding/drop-sharding-table-rule.cn.md        |    7 +
 .../sharding/drop-sharding-table-rule.en.md        |    7 +
 .../set-default-single-table-storage-unit.cn.md    |    8 +
 .../set-default-single-table-storage-unit.en.md    |    7 +
 .../alter-storage-unit.cn.md                       |    7 +
 .../alter-storage-unit.en.md                       |    7 +
 .../register-storage-unit.cn.md                    |    7 +
 .../register-storage-unit.en.md                    |    7 +
 .../unregister-storage-unit.cn.md                  |    7 +
 .../unregister-storage-unit.en.md                  |    7 +
 .../db-discovery/count-db-discovery-rule.cn.md     |    7 +
 .../db-discovery/count-db-discovery-rule.en.md     |    7 +
 .../db-discovery/show-db-discovery-heartbeat.cn.md |   10 +-
 .../db-discovery/show-db-discovery-heartbeat.en.md |    7 +
 .../db-discovery/show-db-discovery-rule.cn.md      |    7 +
 .../db-discovery/show-db-discovery-rule.en.md      |    7 +
 .../db-discovery/show-db-discovery-type.cn.md      |    7 +
 .../db-discovery/show-db-discovery-type.en.md      |    7 +
 .../rule-query/encrypt/count-encrypt-rule.cn.md    |    7 +
 .../rule-query/encrypt/count-encrypt-rule.en.md    |    7 +
 .../rql/rule-query/encrypt/show-encrypt-rule.cn.md |    7 +
 .../rql/rule-query/encrypt/show-encrypt-rule.en.md |    7 +
 .../encrypt/show-encrypt-table-rule.cn.md          |    7 +
 .../encrypt/show-encrypt-table-rule.en.md          |    7 +
 .../count-readwrite-splitting-rule.cn.md           |    8 +
 .../count-readwrite-splitting-rule.en.md           |    7 +
 .../show-readwrite-splitting-rule.cn.md            |    7 +
 .../show-readwrite-splitting-rule.en.md            |    7 +
 .../rql/rule-query/shadow/count-shadow-rule.cn.md  |    7 +
 .../rql/rule-query/shadow/count-shadow-rule.en.md  |    7 +
 .../rule-query/shadow/show-shadow-algorithm.cn.md  |    7 +
 .../rule-query/shadow/show-shadow-algorithm.en.md  |    7 +
 .../rql/rule-query/shadow/show-shadow-rule.cn.md   |    7 +
 .../rql/rule-query/shadow/show-shadow-rule.en.md   |    7 +
 .../rule-query/shadow/show-shadow-table-rule.cn.md |    7 +
 .../rule-query/shadow/show-shadow-table-rule.en.md |    7 +
 .../rule-query/sharding/count-sharding-rule.cn.md  |    7 +
 .../rule-query/sharding/count-sharding-rule.en.md  |    7 +
 .../sharding/show-broadcast-table-rule.cn.md       |    7 +
 .../sharding/show-broadcast-table-rule.en.md       |    7 +
 .../sharding/show-default-sharding-strategy.cn.md  |    7 +
 .../sharding/show-default-sharding-strategy.en.md  |    7 +
 .../sharding/show-sharding-algorithms.cn.md        |    7 +
 .../sharding/show-sharding-algorithms.en.md        |    7 +
 .../sharding/show-sharding-auditors.cn.md          |    7 +
 .../sharding/show-sharding-auditors.en.md          |    7 +
 .../sharding/show-sharding-key-generator.cn.md     |    7 +
 .../sharding/show-sharding-key-generator.en.md     |    7 +
 .../sharding/show-sharding-table-nodes.cn.md       |    7 +
 .../sharding/show-sharding-table-nodes.en.md       |    7 +
 .../show-sharding-table-reference-rules.cn.md      |    7 +
 .../show-sharding-table-reference-rules.en.md      |    7 +
 .../sharding/show-sharding-table-rule.cn.md        |   11 +
 .../sharding/show-sharding-table-rule.en.md        |    7 +
 .../show-sharding-table-rules-used algorithm.cn.md |    8 +
 .../show-sharding-table-rules-used algorithm.en.md |    8 +
 .../show-sharding-table-rules-used-auditor.cn.md   |    7 +
 .../show-sharding-table-rules-used-auditor.en.md   |    7 +
 ...w-sharding-table-rules-used-key-generator.cn.md |    7 +
 ...w-sharding-table-rules-used-key-generator.en.md |    7 +
 .../sharding/show-unused-sharding-algorithms.cn.md |    7 +
 .../sharding/show-unused-sharding-algorithms.en.md |    7 +
 .../sharding/show-unused-sharding-auditors.cn.md   |    8 +
 .../sharding/show-unused-sharding-auditors.en.md   |    8 +
 .../show-unused-sharding-key-generators.cn.md      |    7 +
 .../show-unused-sharding-key-generators.en.md      |    7 +
 .../single-table/count-single-table-rule.cn.md     |    8 +
 .../single-table/count-single-table-rule.en.md     |    7 +
 .../show-deafult-single-table-storage-unit.cn.md   |    7 +
 .../show-deafult-single-table-storage-unit.en.md   |    7 +
 .../single-table/show-single-table.cn.md           |    7 +
 .../single-table/show-single-table.en.md           |    7 +
 .../storage-unit-query/show-storage-units.cn.md    |    7 +
 .../storage-unit-query/show-storage-units.en.md    |    7 +
 .../reference/distsql/syntax/rul/format-sql.cn.md  |    7 +
 .../reference/distsql/syntax/rul/format-sql.en.md  |    7 +
 .../reference/distsql/syntax/rul/parse-sql.cn.md   |    7 +
 .../reference/distsql/syntax/rul/parse-sql.en.md   |    7 +
 .../reference/distsql/syntax/rul/preview-sql.cn.md |    7 +
 .../reference/distsql/syntax/rul/preview-sql.en.md |    7 +
 docs/document/static/css/theme-white.css           |   33 +
 docs/document/themes/hugo-theme-learn/CHANGELOG.md |  226 ++
 docs/document/themes/hugo-theme-learn/README.md    |   54 +-
 .../themes/hugo-theme-learn/archetypes/chapter.md  |    2 +-
 .../themes/hugo-theme-learn/archetypes/default.md  |    2 +-
 .../hugo-theme-learn/exampleSite/config.toml       |  112 +
 .../exampleSite/content/basics/_index.en.md        |   12 +
 .../exampleSite/content/basics/_index.fr.md        |   12 +
 .../exampleSite/content/basics/_index.zh.md        |   12 +
 .../content/basics/configuration/_index.en.md      |  112 +
 .../content/basics/configuration/_index.fr.md      |  110 +
 .../configuration/images/home_button_defaults.jpg  |  Bin 0 -> 9320 bytes
 .../content/basics/installation/_index.en.md       |  102 +
 .../content/basics/installation/_index.fr.md       |  100 +
 .../content/basics/installation/images/chapter.png |  Bin 0 -> 47775 bytes
 .../content/basics/requirements/_index.en.md       |   11 +
 .../content/basics/requirements/_index.fr.md       |   11 +
 .../basics/style-customization/_index.en.md        |  194 ++
 .../basics/style-customization/_index.fr.md        |  194 ++
 .../style-customization/images/blue-variant.png    |  Bin 0 -> 244663 bytes
 .../style-customization/images/green-variant.png   |  Bin 0 -> 245961 bytes
 .../style-customization/images/red-variant.png     |  Bin 0 -> 245140 bytes
 .../exampleSite/content/cont/_index.en.md          |   12 +
 .../exampleSite/content/cont/_index.fr.md          |   12 +
 .../exampleSite/content/cont/archetypes.en.md      |   57 +
 .../exampleSite/content/cont/archetypes.fr.md      |   57 +
 .../exampleSite/content/cont/i18n/_index.en.md     |   78 +
 .../exampleSite/content/cont/i18n/_index.fr.md     |   78 +
 .../exampleSite/content/cont/icons.en.md           |   41 +
 .../exampleSite/content/cont/markdown.en.md        |  692 +++++
 .../exampleSite/content/cont/markdown.fr.md        |  666 +++++
 .../exampleSite/content/cont/menushortcuts.en.md   |  109 +
 .../exampleSite/content/cont/menushortcuts.fr.md   |  109 +
 .../exampleSite/content/cont/pages/_index.en.md    |  166 ++
 .../exampleSite/content/cont/pages/_index.fr.md    |  146 ++
 .../content/cont/pages/images/pages-chapter.png    |  Bin 0 -> 156077 bytes
 .../content/cont/pages/images/pages-default.png    |  Bin 0 -> 201190 bytes
 .../exampleSite/content/cont/syntaxhighlight.en.md |   89 +
 .../exampleSite/content/cont/tags.en.md            |   39 +
 .../exampleSite/content/cont/tags.fr.md            |   40 +
 .../exampleSite/content/credits.en.md              |   28 +
 .../exampleSite/content/credits.fr.md              |   28 +
 .../Carroll_AliceAuPaysDesMerveilles.pdf           |  Bin 0 -> 179268 bytes
 .../adivorciarsetoca00cape.pdf                     |  Bin 0 -> 370165 bytes
 .../movieselectricsheep-flock-244-32500-2.mp4      |  Bin 0 -> 348397 bytes
 .../shortcodes/attachments.en.files/small_file.txt |    1 +
 .../content/shortcodes/attachments.en.md           |   85 +
 .../Carroll_AliceAuPaysDesMerveilles.pdf           |  Bin 0 -> 179268 bytes
 .../adivorciarsetoca00cape.pdf                     |  Bin 0 -> 370165 bytes
 .../shortcodes/attachments.fr.files/small_file.txt |    1 +
 .../content/shortcodes/attachments.fr.md           |   85 +
 .../exampleSite/content/shortcodes/button.en.md    |   16 +
 .../exampleSite/content/shortcodes/button.fr.md    |   16 +
 .../content/shortcodes/children/_index.en.md       |   45 +
 .../exampleSite/content/shortcodes/mermaid.en.md   |  210 ++
 .../exampleSite/content/shortcodes/mermaid.fr.md   |  205 ++
 .../exampleSite/content/shortcodes/notice.en.md    |   62 +
 .../exampleSite/content/shortcodes/tabs.en.md      |  119 +
 .../exampleSite/content/showcase.en.md             |   13 +
 .../exampleSite/content/showcase.fr.md             |   14 +
 .../layouts/partials/custom-footer.html            |   10 +
 .../exampleSite/layouts/partials/logo.html         |   39 +
 .../exampleSite/layouts/partials/menu-footer.html  |   14 +
 .../layouts/shortcodes/ghcontributors.html         |   31 +
 .../static/fonts/monogramos-webfont.eot            |  Bin 0 -> 28653 bytes
 .../static/fonts/monogramos-webfont.svg            |    1 +
 .../static/fonts/monogramos-webfont.ttf            |  Bin 0 -> 136745 bytes
 .../static/fonts/monogramos-webfont.woff           |  Bin 0 -> 34275 bytes
 .../static/fonts/monogramos-webfont.woff2          |  Bin 0 -> 26436 bytes
 .../static/images/showcase/inteliver_docs.png      |  Bin 0 -> 80752 bytes
 .../exampleSite/static/images/showcase/tat.png     |  Bin 0 -> 309953 bytes
 .../static/images/showcase/tshark_dev.png          |  Bin 0 -> 46081 bytes
 docs/document/themes/hugo-theme-learn/i18n/ar.toml |   35 +
 docs/document/themes/hugo-theme-learn/i18n/de.toml |   35 +
 docs/document/themes/hugo-theme-learn/i18n/en.toml |   11 +-
 docs/document/themes/hugo-theme-learn/i18n/es.toml |    9 +
 docs/document/themes/hugo-theme-learn/i18n/fr.toml |   11 +-
 docs/document/themes/hugo-theme-learn/i18n/hi.toml |   35 +
 docs/document/themes/hugo-theme-learn/i18n/id.toml |   35 +
 docs/document/themes/hugo-theme-learn/i18n/ja.toml |   35 +
 docs/document/themes/hugo-theme-learn/i18n/nl.toml |   35 +
 docs/document/themes/hugo-theme-learn/i18n/pt.toml |    9 +
 docs/document/themes/hugo-theme-learn/i18n/ru.toml |   35 +
 docs/document/themes/hugo-theme-learn/i18n/tr.toml |   35 +
 docs/document/themes/hugo-theme-learn/i18n/vn.toml |   50 +
 .../themes/hugo-theme-learn/i18n/zh-cn.toml        |   35 +
 .../document/themes/hugo-theme-learn/images/tn.png |  Bin 144767 -> 143335 bytes
 .../themes/hugo-theme-learn/layouts/404.html       |   11 +-
 .../hugo-theme-learn/layouts/_default/list.html    |   16 +-
 .../hugo-theme-learn/layouts/_default/single.html  |    5 +-
 .../themes/hugo-theme-learn/layouts/index.html     |    2 +-
 .../layouts/partials/custom-header.html            |    2 +-
 .../hugo-theme-learn/layouts/partials/favicon.html |    3 +-
 .../hugo-theme-learn/layouts/partials/footer.html  |   51 +-
 .../hugo-theme-learn/layouts/partials/header.html  |   83 +-
 .../hugo-theme-learn/layouts/partials/logo.html    |   99 +-
 .../layouts/partials/menu-footer.html              |    2 +-
 .../hugo-theme-learn/layouts/partials/menu.html    |  259 +-
 .../hugo-theme-learn/layouts/partials/meta.html    |    1 -
 .../hugo-theme-learn/layouts/partials/search.html  |   10 +-
 .../hugo-theme-learn/layouts/partials/tags.html    |    7 +
 .../layouts/shortcodes/attachments.html            |   65 +-
 .../layouts/shortcodes/button.html                 |    1 +
 .../layouts/shortcodes/children.html               |  105 +-
 .../layouts/shortcodes/expand.html                 |    7 +-
 .../layouts/shortcodes/mermaid.html                |    1 +
 .../layouts/shortcodes/notice.html                 |    1 +
 .../hugo-theme-learn/layouts/shortcodes/ref.html   |    4 +-
 .../layouts/shortcodes/relref.html                 |    4 +-
 .../layouts/shortcodes/siteparam.html              |    2 +-
 .../hugo-theme-learn/layouts/shortcodes/tab.html   |   12 +
 .../hugo-theme-learn/layouts/shortcodes/tabs.html  |   21 +
 docs/document/themes/hugo-theme-learn/netlify.toml |   23 +
 .../static/css/atom-one-dark-reasonable.css        |   77 +
 .../static/css/featherlight.min.css                |    6 +-
 .../static/css/font-awesome.min.css                |    4 -
 .../static/css/fontawesome-all.min.css             |    1 +
 .../hugo-theme-learn/static/css/hugo-theme.css     |   47 +-
 .../themes/hugo-theme-learn/static/css/hybrid.css  |    2 +-
 .../themes/hugo-theme-learn/static/css/nucleus.css |   11 +-
 .../themes/hugo-theme-learn/static/css/tabs.css    |   43 +
 .../themes/hugo-theme-learn/static/css/tags.css    |   49 +
 .../hugo-theme-learn/static/css/theme-blue.css     |   30 +-
 .../hugo-theme-learn/static/css/theme-green.css    |   32 +-
 .../hugo-theme-learn/static/css/theme-red.css      |   32 +-
 .../themes/hugo-theme-learn/static/css/theme.css   |   30 +-
 .../hugo-theme-learn/static/fonts/Inconsolata.svg  |  360 +--
 .../fonts/Novecentosanswide-Normal-webfont.svg     | 1020 +-------
 .../fonts/Novecentosanswide-UltraLight-webfont.svg |  919 +------
 .../static/fonts/Work_Sans_200.svg                 |  333 +--
 .../static/fonts/Work_Sans_300.svg                 |  332 +--
 .../static/fonts/Work_Sans_500.svg                 |  334 +--
 .../static/fonts/fontawesome-webfont.svg           | 2668 --------------------
 .../hugo-theme-learn/static/images/clippy.svg      |    4 +-
 .../hugo-theme-learn/static/images/favicon.png     |  Bin 1253 -> 608 bytes
 .../hugo-theme-learn/static/images/gopher-404.jpg  |  Bin 220526 -> 206249 bytes
 .../hugo-theme-learn/static/js/auto-complete.js    |  226 +-
 .../hugo-theme-learn/static/js/clipboard.min.js    |    6 +-
 .../hugo-theme-learn/static/js/featherlight.min.js |    7 +-
 .../hugo-theme-learn/static/js/highlight.pack.js   |    8 +-
 .../static/js/html5shiv-printshiv.min.js           |    4 -
 .../hugo-theme-learn/static/js/hugo-learn.js       |   28 +-
 .../hugo-theme-learn/static/js/jquery-2.x.min.js   |    4 -
 .../hugo-theme-learn/static/js/jquery-3.3.1.min.js |    2 +
 .../hugo-theme-learn/static/js/jquery.sticky.js    |    2 +-
 .../themes/hugo-theme-learn/static/js/learn.js     |  180 +-
 .../themes/hugo-theme-learn/static/js/lunr.min.js  |    6 +-
 .../static/js/modernizr.custom-3.6.0.js            |    3 +
 .../static/js/modernizr.custom.71422.js            |    4 -
 .../themes/hugo-theme-learn/static/js/search.js    |   66 +-
 .../hugo-theme-learn/static/mermaid/mermaid.js     |   32 +
 .../static/webfonts/fa-brands-400.eot              |  Bin 0 -> 134333 bytes
 .../static/webfonts/fa-brands-400.svg              |    1 +
 .../static/webfonts/fa-brands-400.ttf              |  Bin 0 -> 134097 bytes
 .../static/webfonts/fa-brands-400.woff             |  Bin 0 -> 87047 bytes
 .../static/webfonts/fa-brands-400.woff2            |  Bin 0 -> 74286 bytes
 .../static/webfonts/fa-regular-400.eot             |  Bin 0 -> 40304 bytes
 .../static/webfonts/fa-regular-400.svg             |    1 +
 .../static/webfonts/fa-regular-400.ttf             |  Bin 0 -> 40076 bytes
 .../static/webfonts/fa-regular-400.woff            |  Bin 0 -> 18164 bytes
 .../static/webfonts/fa-regular-400.woff2           |  Bin 0 -> 14872 bytes
 .../static/webfonts/fa-solid-900.eot               |  Bin 0 -> 208961 bytes
 .../static/webfonts/fa-solid-900.svg               |    1 +
 .../static/webfonts/fa-solid-900.ttf               |  Bin 0 -> 208741 bytes
 .../static/webfonts/fa-solid-900.woff              |  Bin 0 -> 102224 bytes
 .../static/webfonts/fa-solid-900.woff2             |  Bin 0 -> 79097 bytes
 docs/document/themes/hugo-theme-learn/theme.toml   |    5 +-
 docs/document/themes/hugo-theme-learn/wercker.yml  |   10 +-
 404 files changed, 7839 insertions(+), 6679 deletions(-)

diff --git a/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/alter-readwrite-splitting-rule-enable-disable.cn.md b/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/alter-readwrite-splitting-rule-enable-disable.cn.md
index 360ac7be2aa..d4f9635abbb 100644
--- a/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/alter-readwrite-splitting-rule-enable-disable.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/alter-readwrite-splitting-rule-enable-disable.cn.md
@@ -9,6 +9,8 @@ weight = 2
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 AlterReadwriteSplittingRule ::=
   'ALTER' 'READWRITE_SPLITTING' 'RULE' groupName ('ENABLE' | 'DISABLE') storageUnitName 'FROM' databaseName
@@ -22,6 +24,11 @@ storageUnitName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/alter-readwrite-splitting-rule-enable-disable.en.md b/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/alter-readwrite-splitting-rule-enable-disable.en.md
index e5a2f9a2bd1..74a565c10bd 100644
--- a/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/alter-readwrite-splitting-rule-enable-disable.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/alter-readwrite-splitting-rule-enable-disable.en.md
@@ -9,6 +9,8 @@ The `ALTER READWRITE_SPLITTING RULE ENABLE/DISABLE` syntax is used enable/disabl
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 AlterReadwriteSplittingRule ::=
   'ALTER' 'READWRITE_SPLITTING' 'RULE' groupName ('ENABLE' | 'DISABLE') storageUnitName 'FROM' databaseName
@@ -22,6 +24,11 @@ storageUnitName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/enable-disable-compute-node.cn.md b/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/enable-disable-compute-node.cn.md
index 53cda3dc038..88a88445d23 100644
--- a/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/enable-disable-compute-node.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/enable-disable-compute-node.cn.md
@@ -9,6 +9,8 @@ weight = 4
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 EnableDisableComputeNode ::=
   ('ENABLE' | 'DISABLE') 'COMPUTE' 'NODE' instanceId
@@ -16,6 +18,11 @@ EnableDisableComputeNode ::=
 instanceId ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/enable-disable-compute-node.en.md b/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/enable-disable-compute-node.en.md
index de3d494c44c..39b53bd1893 100644
--- a/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/enable-disable-compute-node.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/enable-disable-compute-node.en.md
@@ -9,6 +9,8 @@ The `ENABLE/DISABLE COMPUTE NODE` syntax is used enable/disable a specified prox
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 EnableDisableComputeNode ::=
   ('ENABLE' | 'DISABLE') 'COMPUTE' 'NODE' instanceId
@@ -16,6 +18,11 @@ EnableDisableComputeNode ::=
 instanceId ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/label-relabel-compute-node.cn.md b/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/label-relabel-compute-node.cn.md
index e84adfd19fc..caafe08cff7 100644
--- a/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/label-relabel-compute-node.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/label-relabel-compute-node.cn.md
@@ -9,6 +9,8 @@ weight = 6
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 LableRelabelComputeNodes ::=
   ('LABEL' | 'RELABEL') 'COMPUTE' 'NODE' instance_id 'WITH' labelName
@@ -19,6 +21,12 @@ instance_id ::=
 labelName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
+
 ### 补充说明
 
 - `instance_id` 需要通过 [SHOW COMPUTE NODES](/cn/reference/distsql/syntax/ral/circuit-breaker/show-compute-nodes/) 语法查询获得
diff --git a/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/label-relabel-compute-node.en.md b/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/label-relabel-compute-node.en.md
index 366aa9a208b..c7aa21a307a 100644
--- a/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/label-relabel-compute-node.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/label-relabel-compute-node.en.md
@@ -9,6 +9,8 @@ The `LABEL|RELABEL COMPUTE NODES` syntax is used to label `PROXY` instance.
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 LableRelabelComputeNodes ::=
   ('LABEL' | 'RELABEL') 'COMPUTE' 'NODE' instance_id 'WITH' labelName
@@ -19,6 +21,11 @@ instance_id ::=
 labelName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/show-compute-nodes.cn.md b/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/show-compute-nodes.cn.md
index 647f15af916..46b69329d83 100644
--- a/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/show-compute-nodes.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/show-compute-nodes.cn.md
@@ -9,10 +9,17 @@ weight = 3
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowComputeNodes ::=
   'SHOW' 'COMPUTE' 'NODES'
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 返回值说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/show-compute-nodes.en.md b/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/show-compute-nodes.en.md
index 0e84df74db5..fb30b44432d 100644
--- a/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/show-compute-nodes.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/show-compute-nodes.en.md
@@ -8,10 +8,17 @@ weight = 3
 The `SHOW COMPUTE NODES` syntax is used to query proxy instance information.
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowComputeNodes ::=
   'SHOW' 'COMPUTE' 'NODES'
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Return Value Description
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/show-status-from-readwrite-splitting-rule.cn.md b/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/show-status-from-readwrite-splitting-rule.cn.md
index bc10053823b..8ad783f95cc 100644
--- a/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/show-status-from-readwrite-splitting-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/show-status-from-readwrite-splitting-rule.cn.md
@@ -9,6 +9,8 @@ weight = 3
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowStatusFromReadwriteSplittingRule ::=
   'SHOW' 'STATUS' 'FROM' 'READWRITE_SPLITTING' ('RULES' | 'RULE' groupName) ('FROM' databaseName)?
@@ -19,6 +21,11 @@ groupName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/show-status-from-readwrite-splitting-rule.en.md b/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/show-status-from-readwrite-splitting-rule.en.md
index c78ff256932..514c185fcd1 100644
--- a/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/show-status-from-readwrite-splitting-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/show-status-from-readwrite-splitting-rule.en.md
@@ -9,6 +9,8 @@ The `SHOW STATUS FROM READWRITE_SPLITTING RULE` syntax is used to query readwrit
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowStatusFromReadwriteSplittingRule ::=
   'SHOW' 'STATUS' 'FROM' 'READWRITE_SPLITTING' ('RULES' | 'RULE' groupName) ('FROM' databaseName)?
@@ -19,6 +21,11 @@ groupName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/unlabel-compute-node.cn.md b/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/unlabel-compute-node.cn.md
index 5d05abcebfa..def9df4ded5 100644
--- a/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/unlabel-compute-node.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/unlabel-compute-node.cn.md
@@ -9,6 +9,8 @@ weight = 7
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 UnlabelComputeNode ::=
   'UNLABEL' 'COMPUTE' 'NODE' instance_id 'WITH' labelName
@@ -19,6 +21,12 @@ instance_id ::=
 labelName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
+
 ### 补充说明
 
 - `instance_id` 需要通过 [SHOW COMPUTE NODES](/cn/reference/distsql/syntax/ral/circuit-breaker/show-compute-nodes/) 语法查询获得
diff --git a/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/unlabel-compute-node.en.md b/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/unlabel-compute-node.en.md
index 6144ed087dd..59e57d073d5 100644
--- a/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/unlabel-compute-node.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/circuit-breaker/unlabel-compute-node.en.md
@@ -9,6 +9,8 @@ The `UNLABEL COMPUTE NODES` syntax is used to remove specified label from `PROXY
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 UnlabelComputeNode ::=
   'UNLABEL' 'COMPUTE' 'NODE' instance_id 'WITH' labelName
@@ -19,6 +21,11 @@ instance_id ::=
 labelName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/export-database-configuration.cn.md b/docs/document/content/reference/distsql/syntax/ral/export-database-configuration.cn.md
index 0fd8aa17bbc..1df7c5595fd 100644
--- a/docs/document/content/reference/distsql/syntax/ral/export-database-configuration.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/export-database-configuration.cn.md
@@ -9,6 +9,8 @@ weight = 9
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ExportDatabaseConfiguration ::=
   'EXPORT' 'DATABASE' 'CONFIGURATION' ('FROM' databaseName)? ('TO' 'FILE' filePath)?
@@ -19,6 +21,11 @@ databaseName ::=
 filePath ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/export-database-configuration.en.md b/docs/document/content/reference/distsql/syntax/ral/export-database-configuration.en.md
index 23bab999f36..2dbdbb8552c 100644
--- a/docs/document/content/reference/distsql/syntax/ral/export-database-configuration.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/export-database-configuration.en.md
@@ -9,6 +9,8 @@ The `EXPORT DATABASE CONFIGURATION` syntax is used to export storage units and r
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ExportDatabaseConfiguration ::=
   'EXPORT' 'DATABASE' 'CONFIGURATION' ('FROM' databaseName)? ('TO' 'FILE' filePath)?
@@ -19,6 +21,11 @@ databaseName ::=
 filePath ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/global-rule/alter-sql-parser-rule.cn.md b/docs/document/content/reference/distsql/syntax/ral/global-rule/alter-sql-parser-rule.cn.md
index dd673b665b9..46770ca6b85 100644
--- a/docs/document/content/reference/distsql/syntax/ral/global-rule/alter-sql-parser-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/global-rule/alter-sql-parser-rule.cn.md
@@ -9,6 +9,8 @@ weight = 6
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 AlterSqlParserRule ::=
   'ALTER' 'SQL_PARSER' 'RULE' 'SQL_COMMENT_PARSE_ENABLE' '=' sqlCommentParseEnable ',' 'PARSE_TREE_CACHE' parseTreeCacheDefinition ',' 'SQL_STATEMENT_CACHE' sqlStatementCacheDefinition
@@ -31,6 +33,11 @@ maximumSize ::=
 concurrencyLevel ::=
   int
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/global-rule/alter-sql-parser-rule.en.md b/docs/document/content/reference/distsql/syntax/ral/global-rule/alter-sql-parser-rule.en.md
index fc391fe6c2a..061bd876e04 100644
--- a/docs/document/content/reference/distsql/syntax/ral/global-rule/alter-sql-parser-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/global-rule/alter-sql-parser-rule.en.md
@@ -9,6 +9,8 @@ The `ALTER SQL_PARSER RULE` syntax is used to alter sql parser rule configuratio
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 AlterSqlParserRule ::=
   'ALTER' 'SQL_PARSER' 'RULE' 'SQL_COMMENT_PARSE_ENABLE' '=' sqlCommentParseEnable ',' 'PARSE_TREE_CACHE' parseTreeCacheDefinition ',' 'SQL_STATEMENT_CACHE' sqlStatementCacheDefinition
@@ -31,6 +33,11 @@ maximumSize ::=
 concurrencyLevel ::=
   int
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/global-rule/alter-traffic-rule.cn.md b/docs/document/content/reference/distsql/syntax/ral/global-rule/alter-traffic-rule.cn.md
index a1a48ead013..77295acc811 100644
--- a/docs/document/content/reference/distsql/syntax/ral/global-rule/alter-traffic-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/global-rule/alter-traffic-rule.cn.md
@@ -9,6 +9,8 @@ weight = 8
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 AlterTrafficRule ::=
   'ALTER' 'TRAFFIC' 'RULE'  '(' 'LABELS' '(' lableName ')' ',' trafficAlgorithmDefinition ',' loadBalancerDefinition ')'
@@ -37,6 +39,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/global-rule/alter-traffic-rule.en.md b/docs/document/content/reference/distsql/syntax/ral/global-rule/alter-traffic-rule.en.md
index a1a7ac9c38f..5165ccd17af 100644
--- a/docs/document/content/reference/distsql/syntax/ral/global-rule/alter-traffic-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/global-rule/alter-traffic-rule.en.md
@@ -9,6 +9,8 @@ The `ALTER TRAFFIC RULE` syntax is used to alter dual routing rule.
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 AlterTrafficRule ::=
   'ALTER' 'TRAFFIC' 'RULE'  '(' 'LABELS' '(' lableName ')' ',' trafficAlgorithmDefinition ',' loadBalancerDefinition ')'
@@ -37,6 +39,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/global-rule/alter-transaction-rule.cn.md b/docs/document/content/reference/distsql/syntax/ral/global-rule/alter-transaction-rule.cn.md
index ce18f005245..efccf2f38ca 100644
--- a/docs/document/content/reference/distsql/syntax/ral/global-rule/alter-transaction-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/global-rule/alter-transaction-rule.cn.md
@@ -9,6 +9,8 @@ weight = 5
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 AlterTransactionRule ::=
   'ALTER' 'TRANSACTION' 'RULE' '(' 'DEFAULT' '=' defaultTransactionType ',' 'TYPE' '(' 'NAME' '=' transactionManager ',' propertiesDefinition ')' ')'
@@ -28,6 +30,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/global-rule/alter-transaction-rule.en.md b/docs/document/content/reference/distsql/syntax/ral/global-rule/alter-transaction-rule.en.md
index 37970256fd4..6bea1f0a250 100644
--- a/docs/document/content/reference/distsql/syntax/ral/global-rule/alter-transaction-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/global-rule/alter-transaction-rule.en.md
@@ -9,6 +9,8 @@ The `ALTER TRANSACTION RULE` syntax is used to alter transaction rule configurat
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 AlterTransactionRule ::=
   'ALTER' 'TRANSACTION' 'RULE' '(' 'DEFAULT' '=' defaultTransactionType ',' 'TYPE' '(' 'NAME' '=' transactionManager ',' propertiesDefinition ')' ')'
@@ -28,6 +30,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/global-rule/create-traffic-rule.cn.md b/docs/document/content/reference/distsql/syntax/ral/global-rule/create-traffic-rule.cn.md
index 09b251318cb..e440da7642d 100644
--- a/docs/document/content/reference/distsql/syntax/ral/global-rule/create-traffic-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/global-rule/create-traffic-rule.cn.md
@@ -9,6 +9,8 @@ weight = 7
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 CreateTrafficRule ::=
   'CREATE' 'TRAFFIC' 'RULE'  '(' 'LABELS' '(' lableName ')' ',' trafficAlgorithmDefinition ',' loadBalancerDefinition ')'
@@ -37,6 +39,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/global-rule/create-traffic-rule.en.md b/docs/document/content/reference/distsql/syntax/ral/global-rule/create-traffic-rule.en.md
index 52731f0cf11..dda6ed51a4b 100644
--- a/docs/document/content/reference/distsql/syntax/ral/global-rule/create-traffic-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/global-rule/create-traffic-rule.en.md
@@ -9,6 +9,8 @@ The `CREATE TRAFFIC RULE` syntax is used to create dual routing rule.
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 CreateTrafficRule ::=
   'CREATE' 'TRAFFIC' 'RULE'  '(' 'LABELS' '(' lableName ')' ',' trafficAlgorithmDefinition ',' loadBalancerDefinition ')'
@@ -37,6 +39,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/global-rule/drop-traffic-rule.cn.md b/docs/document/content/reference/distsql/syntax/ral/global-rule/drop-traffic-rule.cn.md
index 8b5b4c5ee5e..9773f5e857f 100644
--- a/docs/document/content/reference/distsql/syntax/ral/global-rule/drop-traffic-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/global-rule/drop-traffic-rule.cn.md
@@ -8,6 +8,8 @@ weight = 10
 `DROP TRAFFIC RULE` 语法用于删除指定的双路由规则
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 DropTrafficRule ::=
   'DROP' 'TRAFFIC' 'RULE' ruleName (',' ruleName)?
@@ -15,6 +17,11 @@ DropTrafficRule ::=
 ruleName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 示例
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/global-rule/drop-traffic-rule.en.md b/docs/document/content/reference/distsql/syntax/ral/global-rule/drop-traffic-rule.en.md
index 40bf1708d5c..765f149cbd1 100644
--- a/docs/document/content/reference/distsql/syntax/ral/global-rule/drop-traffic-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/global-rule/drop-traffic-rule.en.md
@@ -9,6 +9,8 @@ The `DROP TRAFFIC RULE` syntax is used to drop specified dual routing rule.
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 DropTrafficRule ::=
   'DROP' 'TRAFFIC' 'RULE' ruleName (',' ruleName)?
@@ -16,6 +18,11 @@ DropTrafficRule ::=
 ruleName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Example
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/global-rule/show-authority-rule.cn.md b/docs/document/content/reference/distsql/syntax/ral/global-rule/show-authority-rule.cn.md
index bcb204f3934..6847e64d100 100644
--- a/docs/document/content/reference/distsql/syntax/ral/global-rule/show-authority-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/global-rule/show-authority-rule.cn.md
@@ -8,10 +8,17 @@ weight = 2
 `SHOW AUTHORITY RULE` 语法用于查询权限规则配置
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowAuthorityRule ::=
   'SHOW' 'AUTHORITY' 'RULE'
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 返回值说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/global-rule/show-authority-rule.en.md b/docs/document/content/reference/distsql/syntax/ral/global-rule/show-authority-rule.en.md
index a42f95b0a3e..8789c0e96ee 100644
--- a/docs/document/content/reference/distsql/syntax/ral/global-rule/show-authority-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/global-rule/show-authority-rule.en.md
@@ -9,10 +9,17 @@ The `SHOW AUTHORITY RULE` syntax is used to query authority rule configuration.
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowAuthorityRule ::=
   'SHOW' 'AUTHORITY' 'RULE'
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Return Value Description
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/global-rule/show-sql-parser-rule.cn.md b/docs/document/content/reference/distsql/syntax/ral/global-rule/show-sql-parser-rule.cn.md
index 6d2d5b6181b..632a460bf61 100644
--- a/docs/document/content/reference/distsql/syntax/ral/global-rule/show-sql-parser-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/global-rule/show-sql-parser-rule.cn.md
@@ -9,10 +9,17 @@ weight = 4
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowSqlParserRule ::=
   'SHOW' 'SQL_PARSER' 'RULE'
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 返回值说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/global-rule/show-sql-parser-rule.en.md b/docs/document/content/reference/distsql/syntax/ral/global-rule/show-sql-parser-rule.en.md
index 9ed48faf27b..ec75de15f45 100644
--- a/docs/document/content/reference/distsql/syntax/ral/global-rule/show-sql-parser-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/global-rule/show-sql-parser-rule.en.md
@@ -9,10 +9,17 @@ The `SHOW SQL_PARSER RULE` syntax is used to query sql parser rule configuration
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowSqlParserRule ::=
   'SHOW' 'SQL_PARSER' 'RULE'
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Return Value Description
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/global-rule/show-traffic-rule.cn.md b/docs/document/content/reference/distsql/syntax/ral/global-rule/show-traffic-rule.cn.md
index e09b24321b3..f0c2c34f458 100644
--- a/docs/document/content/reference/distsql/syntax/ral/global-rule/show-traffic-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/global-rule/show-traffic-rule.cn.md
@@ -8,6 +8,8 @@ weight = 9
 `SHOW TRAFFIC RULE` 语法用于查询指定的双路由规则
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowTrafficRule ::=
   'SHOW' 'TRAFFIC' ('RULES' | 'RULE' ruleName)?
@@ -15,6 +17,12 @@ ShowTrafficRule ::=
 ruleName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
+
 ### 补充说明
 
 - 未指定 `ruleName` 时,默认查询所有双路由规则
diff --git a/docs/document/content/reference/distsql/syntax/ral/global-rule/show-traffic-rule.en.md b/docs/document/content/reference/distsql/syntax/ral/global-rule/show-traffic-rule.en.md
index eef87d0b725..059e4c15ab9 100644
--- a/docs/document/content/reference/distsql/syntax/ral/global-rule/show-traffic-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/global-rule/show-traffic-rule.en.md
@@ -9,6 +9,8 @@ The `SHOW TRAFFIC RULE` syntax is used to query specified dual routing rule.
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowTrafficRule ::=
   'SHOW' 'TRAFFIC' ('RULES' | 'RULE' ruleName)?
@@ -16,6 +18,11 @@ ShowTrafficRule ::=
 ruleName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/global-rule/show-transaction-rule.cn.md b/docs/document/content/reference/distsql/syntax/ral/global-rule/show-transaction-rule.cn.md
index 6d8d49fe5f7..5fb878be3ce 100644
--- a/docs/document/content/reference/distsql/syntax/ral/global-rule/show-transaction-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/global-rule/show-transaction-rule.cn.md
@@ -8,10 +8,17 @@ weight = 3
 `SHOW TRANSACTION RULE` 语法用于查询事务规则配置
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowTransactionRule ::=
   'SHOW' 'TRANSACTION' 'RULE'
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 返回值说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/global-rule/show-transaction-rule.en.md b/docs/document/content/reference/distsql/syntax/ral/global-rule/show-transaction-rule.en.md
index ab5ac10e3c2..d09d470c9d8 100644
--- a/docs/document/content/reference/distsql/syntax/ral/global-rule/show-transaction-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/global-rule/show-transaction-rule.en.md
@@ -9,10 +9,17 @@ The `SHOW TRANSACTION RULE` syntax is used to query transaction rule configurati
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowTransactionRule ::=
   'SHOW' 'TRANSACTION' 'RULE'
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Return Value Description
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/hint/add-sharding-hint-database-value.cn.md b/docs/document/content/reference/distsql/syntax/ral/hint/add-sharding-hint-database-value.cn.md
index 8bdccfb9c49..e86290940c6 100644
--- a/docs/document/content/reference/distsql/syntax/ral/hint/add-sharding-hint-database-value.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/hint/add-sharding-hint-database-value.cn.md
@@ -8,6 +8,8 @@ weight = 4
 `ADD SHARDING HINT DATABASE_VALUE` 语法用于针对当前连接,为指定表添加数据库分片值
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 AddShardingHintDatabaseValue ::=
   'ADD' 'SHARDING' 'HINT' 'DATABASE_VALUE' shardingHintDatabaseValueDefinition
@@ -21,6 +23,11 @@ AddShardingHintDatabaseValue ::=
   databaseShardingValue ::=
     int
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 示例
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/hint/add-sharding-hint-database-value.en.md b/docs/document/content/reference/distsql/syntax/ral/hint/add-sharding-hint-database-value.en.md
index 04dc1b58894..8eb8ff99f07 100644
--- a/docs/document/content/reference/distsql/syntax/ral/hint/add-sharding-hint-database-value.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/hint/add-sharding-hint-database-value.en.md
@@ -9,6 +9,8 @@ The `ADD SHARDING HINT DATABASE_VALUE` syntax is used to add sharding database v
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 AddShardingHintDatabaseValue ::=
   'ADD' 'SHARDING' 'HINT' 'DATABASE_VALUE' shardingHintDatabaseValueDefinition
@@ -22,6 +24,11 @@ AddShardingHintDatabaseValue ::=
   databaseShardingValue ::=
     int
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Example
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/hint/add-sharding-hint-table-value.cn.md b/docs/document/content/reference/distsql/syntax/ral/hint/add-sharding-hint-table-value.cn.md
index c30dca63dd7..a342eb11452 100644
--- a/docs/document/content/reference/distsql/syntax/ral/hint/add-sharding-hint-table-value.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/hint/add-sharding-hint-table-value.cn.md
@@ -8,6 +8,8 @@ weight = 5
 `ADD SHARDING HINT TABLE_VALUE` 语法用于针对当前连接,为指定表添加表分片值
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 AddShardingHintDatabaseValue ::=
   'ADD' 'SHARDING' 'HINT' 'TABLE_VALUE' shardingHintTableValueDefinition
@@ -21,6 +23,11 @@ AddShardingHintDatabaseValue ::=
   tableShardingValue ::=
     int
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 示例
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/hint/add-sharding-hint-table-value.en.md b/docs/document/content/reference/distsql/syntax/ral/hint/add-sharding-hint-table-value.en.md
index bdb3eb491f2..160560edafd 100644
--- a/docs/document/content/reference/distsql/syntax/ral/hint/add-sharding-hint-table-value.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/hint/add-sharding-hint-table-value.en.md
@@ -9,6 +9,8 @@ The `ADD SHARDING HINT TABLE_VALUE` syntax is used to add table sharding value t
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 AddShardingHintDatabaseValue ::=
   'ADD' 'SHARDING' 'HINT' 'TABLE_VALUE' shardingHintTableValueDefinition
@@ -22,6 +24,11 @@ AddShardingHintDatabaseValue ::=
   tableShardingValue ::=
     int
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Example
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/hint/clear-hint.cn.md b/docs/document/content/reference/distsql/syntax/ral/hint/clear-hint.cn.md
index 23492afe9c3..ead9986ea5b 100644
--- a/docs/document/content/reference/distsql/syntax/ral/hint/clear-hint.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/hint/clear-hint.cn.md
@@ -9,10 +9,17 @@ weight = 6
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ClearHint ::=
   'CLEAR' ('SHARDING' | 'READWRITE_SPLITTING')? 'HINT' 
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/hint/clear-hint.en.md b/docs/document/content/reference/distsql/syntax/ral/hint/clear-hint.en.md
index 2aa8937781d..73eca2692d2 100644
--- a/docs/document/content/reference/distsql/syntax/ral/hint/clear-hint.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/hint/clear-hint.en.md
@@ -9,10 +9,17 @@ The `CLEAR HINT` syntax is used to clear hint settings for current connection.
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ClearHint ::=
   'CLEAR' ('SHARDING' | 'READWRITE_SPLITTING')? 'HINT' 
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/hint/set-readwrite-spitting-hint-source.cn.md b/docs/document/content/reference/distsql/syntax/ral/hint/set-readwrite-spitting-hint-source.cn.md
index 5eb771d24e6..19b16bc27b2 100644
--- a/docs/document/content/reference/distsql/syntax/ral/hint/set-readwrite-spitting-hint-source.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/hint/set-readwrite-spitting-hint-source.cn.md
@@ -8,10 +8,17 @@ weight = 2
 `SET READWRITE_SPLITTING HINT SOURCE` 语法用于针对当前连接,设置读写分离的路由策略(自动路由或强制到写库)
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 SetReadwriteSplittingHintSource ::=
   'SET' 'READWRITE_SPLITTING' 'HINT' 'SOURCE' '='('auto' | 'write')
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 示例
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/hint/set-readwrite-spitting-hint-source.en.md b/docs/document/content/reference/distsql/syntax/ral/hint/set-readwrite-spitting-hint-source.en.md
index 467ebc212e1..f00e955195c 100644
--- a/docs/document/content/reference/distsql/syntax/ral/hint/set-readwrite-spitting-hint-source.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/hint/set-readwrite-spitting-hint-source.en.md
@@ -9,10 +9,17 @@ The `SET READWRITE_SPLITTING HINT SOURCE` syntax is used to set readwrite splitt
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 SetReadwriteSplittingHintSource ::=
   'SET' 'READWRITE_SPLITTING' 'HINT' 'SOURCE' '='('auto' | 'write')
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Example
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/hint/set-sharding-hint-database-value.cn.md b/docs/document/content/reference/distsql/syntax/ral/hint/set-sharding-hint-database-value.cn.md
index 34b62c718cd..f3e028bd073 100644
--- a/docs/document/content/reference/distsql/syntax/ral/hint/set-sharding-hint-database-value.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/hint/set-sharding-hint-database-value.cn.md
@@ -8,6 +8,8 @@ weight = 3
 `SET SHARDING HINT DATABASE_VALUE` 语法用于针对当前连接,设置 hint 仅对数据库分片有效,并添加分片值
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 SetShardingHintDatabaseValue ::=
   'SET' 'SHARDING' 'HINT' 'DATABASE_VALUE' '=' databaseShardingValue
@@ -15,6 +17,11 @@ SetShardingHintDatabaseValue ::=
   databaseShardingValue ::=
     int
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 示例
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/hint/set-sharding-hint-database-value.en.md b/docs/document/content/reference/distsql/syntax/ral/hint/set-sharding-hint-database-value.en.md
index a5f6d87e7a4..9919769944d 100644
--- a/docs/document/content/reference/distsql/syntax/ral/hint/set-sharding-hint-database-value.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/hint/set-sharding-hint-database-value.en.md
@@ -9,6 +9,8 @@ The `SET SHARDING HINT DATABASE_VALUE` syntax is used to set sharding value for
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 SetShardingHintDatabaseValue ::=
   'SET' 'SHARDING' 'HINT' 'DATABASE_VALUE' '=' databaseShardingValue
@@ -16,6 +18,11 @@ SetShardingHintDatabaseValue ::=
   databaseShardingValue ::=
     int
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Example
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/hint/show-hint-status.cn.md b/docs/document/content/reference/distsql/syntax/ral/hint/show-hint-status.cn.md
index f932f4458d1..620f512ba3b 100644
--- a/docs/document/content/reference/distsql/syntax/ral/hint/show-hint-status.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/hint/show-hint-status.cn.md
@@ -10,10 +10,17 @@ weight = 7
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowHintStatus ::=
   'SHOW' ('SHARDING' | 'READWRITE_SPLITTING') 'HINT' 'STATUS'
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 示例
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/hint/show-hint-status.en.md b/docs/document/content/reference/distsql/syntax/ral/hint/show-hint-status.en.md
index 6a0187a6c4c..f17619812af 100644
--- a/docs/document/content/reference/distsql/syntax/ral/hint/show-hint-status.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/hint/show-hint-status.en.md
@@ -9,10 +9,17 @@ The `SHOW HINT STATUS` syntax is used to query hint settings for current connect
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowHintStatus ::=
   'SHOW' ('SHARDING' | 'READWRITE_SPLITTING') 'HINT' 'STATUS'
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/import-database-configuration.cn.md b/docs/document/content/reference/distsql/syntax/ral/import-database-configuration.cn.md
index da378e14f8f..becd0f77707 100644
--- a/docs/document/content/reference/distsql/syntax/ral/import-database-configuration.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/import-database-configuration.cn.md
@@ -9,6 +9,8 @@ weight = 10
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ExportDatabaseConfiguration ::=
   'IMPORT' 'DATABASE' 'CONFIGURATION' 'FROM' 'FILE' filePath ('TO' databaseName)?
@@ -19,6 +21,11 @@ databaseName ::=
 filePath ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/import-database-configuration.en.md b/docs/document/content/reference/distsql/syntax/ral/import-database-configuration.en.md
index fb13d1003dc..5f3841d6e48 100644
--- a/docs/document/content/reference/distsql/syntax/ral/import-database-configuration.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/import-database-configuration.en.md
@@ -9,6 +9,8 @@ The `IMPORT DATABASE CONFIGURATION` syntax is used to import `YAML` configuratio
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ExportDatabaseConfiguration ::=
   'IMPORT' 'DATABASE' 'CONFIGURATION' 'FROM' 'FILE' filePath ('TO' databaseName)?
@@ -19,6 +21,11 @@ databaseName ::=
 filePath ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/alter-migration-rule.cn.md b/docs/document/content/reference/distsql/syntax/ral/migration/alter-migration-rule.cn.md
index ec20cc2c2cf..4407ca4fabd 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/alter-migration-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/alter-migration-rule.cn.md
@@ -9,6 +9,8 @@ weight = 3
 `ALTER MIGRATION RULE` 语法用于修改数据迁移规则
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 AlterMigrationRule ::=
   'ALTER' 'MIGRATION' 'RULE' ('(' (readConfiguration ',')?  (writeConfiguration  ',')? (dataChannel)? ')')?
@@ -46,6 +48,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/alter-migration-rule.en.md b/docs/document/content/reference/distsql/syntax/ral/migration/alter-migration-rule.en.md
index efd88bebdd2..332b9da3a13 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/alter-migration-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/alter-migration-rule.en.md
@@ -9,6 +9,8 @@ The `ALTER MIGRATION RULE` syntax is used to alter migration rule.
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 AlterMigrationRule ::=
   'ALTER' 'MIGRATION' 'RULE' ('(' (readConfiguration ',')?  (writeConfiguration  ',')? (dataChannel)? ')')?
@@ -46,6 +48,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/check-migration.cn.md b/docs/document/content/reference/distsql/syntax/ral/migration/check-migration.cn.md
index 24da4eb4f48..8e3a07ba304 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/check-migration.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/check-migration.cn.md
@@ -10,6 +10,8 @@ weight = 11
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowMigrationList ::=
   'CHECK' 'MIGRATION' migrationJobId 'BY' 'TYPE' '(' 'NAME' '=' migrationCheckAlgorithmType ')'
@@ -20,6 +22,11 @@ migrationJobId ::=
 migrationCheckAlgorithmType ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/check-migration.en.md b/docs/document/content/reference/distsql/syntax/ral/migration/check-migration.en.md
index 0830ebe5e17..31d4c01fd98 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/check-migration.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/check-migration.en.md
@@ -9,6 +9,8 @@ The `CHECK MIGRATION LIST` syntax is used to check data consistancy in migration
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowMigrationList ::=
   'CHECK' 'MIGRATION' migrationJobId 'BY' 'TYPE' '(' 'NAME' '=' migrationCheckAlgorithmType ')'
@@ -19,6 +21,11 @@ migrationJobId ::=
 migrationCheckAlgorithmType ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/commit-migration.cn.md b/docs/document/content/reference/distsql/syntax/ral/migration/commit-migration.cn.md
index 3fa2c7d65e2..408deec3df2 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/commit-migration.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/commit-migration.cn.md
@@ -9,6 +9,8 @@ weight = 18
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 CommitMigration ::=
   'COMMIT' 'MIGRATION'  migrationJobId 
@@ -16,6 +18,11 @@ CommitMigration ::=
 migrationJobId ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/commit-migration.en.md b/docs/document/content/reference/distsql/syntax/ral/migration/commit-migration.en.md
index fa7108a1463..6e17c206ba9 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/commit-migration.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/commit-migration.en.md
@@ -9,6 +9,8 @@ The `COMMIT MIGRATION` syntax is used to commit migration process.
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 CommitMigration ::=
   'COMMIT' 'MIGRATION'  migrationJobId 
@@ -16,6 +18,11 @@ CommitMigration ::=
 migrationJobId ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/migrate-table-into.cn.md b/docs/document/content/reference/distsql/syntax/ral/migration/migrate-table-into.cn.md
index 91d1fb17ed7..848fdbff7b9 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/migrate-table-into.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/migrate-table-into.cn.md
@@ -9,6 +9,8 @@ weight = 7
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 MigrateTableInto ::=
   'MIGRATE' 'TABLE' migrationSource '.' tableName 'INTO' (databaseName '.')? tableName
@@ -22,6 +24,11 @@ databaseName ::=
 tableName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/migrate-table-into.en.md b/docs/document/content/reference/distsql/syntax/ral/migration/migrate-table-into.en.md
index 59144667860..2eacaecfa78 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/migrate-table-into.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/migrate-table-into.en.md
@@ -9,6 +9,8 @@ weight = 7
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 MigrateTableInto ::=
   'MIGRATE' 'TABLE' migrationSource '.' tableName 'INTO' (databaseName '.')? tableName
@@ -22,6 +24,11 @@ databaseName ::=
 tableName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/register-migration-source-storage-unit.cn.md b/docs/document/content/reference/distsql/syntax/ral/migration/register-migration-source-storage-unit.cn.md
index cf630a7b2a5..237ba3855c4 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/register-migration-source-storage-unit.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/register-migration-source-storage-unit.cn.md
@@ -9,6 +9,8 @@ weight = 4
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 RegisterStorageUnit ::=
   'REGISTER' 'MIGRATION' 'SOURCE' 'STORAGE' 'UNIT' storageUnitDefinition (',' storageUnitDefinition)*
@@ -37,6 +39,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 特别说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/register-migration-source-storage-unit.en.md b/docs/document/content/reference/distsql/syntax/ral/migration/register-migration-source-storage-unit.en.md
index ed7f182e977..84287b31e57 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/register-migration-source-storage-unit.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/register-migration-source-storage-unit.en.md
@@ -9,6 +9,8 @@ The `REGISTER MIGRATION SOURCE STORAGE UNIT` syntax is used to register migratio
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 RegisterStorageUnit ::=
   'REGISTER' 'MIGRATION' 'SOURCE' 'STORAGE' 'UNIT' storageUnitDefinition (',' storageUnitDefinition)*
@@ -37,6 +39,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/rollback-migration.cn.md b/docs/document/content/reference/distsql/syntax/ral/migration/rollback-migration.cn.md
index 73d5c9855bd..7955e74bae1 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/rollback-migration.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/rollback-migration.cn.md
@@ -9,6 +9,8 @@ weight = 17
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 RollbackMigration ::=
   'ROLLBACK' 'MIGRATION'  migrationJobId 
@@ -16,6 +18,11 @@ RollbackMigration ::=
 migrationJobId ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/rollback-migration.en.md b/docs/document/content/reference/distsql/syntax/ral/migration/rollback-migration.en.md
index 1d00f5dd3a2..c67c4450213 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/rollback-migration.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/rollback-migration.en.md
@@ -9,6 +9,8 @@ The `ROLLBACK MIGRATION` syntax is used to rollback migration process.
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 RollbackMigration ::=
   'ROLLBACK' 'MIGRATION'  migrationJobId 
@@ -16,6 +18,12 @@ RollbackMigration ::=
 migrationJobId ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
+
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-check-algorithm.cn.md b/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-check-algorithm.cn.md
index 2608c3cbdf9..9a5958b5599 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-check-algorithm.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-check-algorithm.cn.md
@@ -8,10 +8,18 @@ weight = 10
 `SHOW MIGRATION CHECK ALGORITHM` 语法用于查询数据迁移一致性校验算法
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowMigrationCheckAlgorithm ::=
   'SHOW' 'MIGRATION' 'CHECK' 'ALGORITHMS'
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
+
 
 ### 返回值说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-check-algorithm.en.md b/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-check-algorithm.en.md
index 43441e5adf0..ce394c84d41 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-check-algorithm.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-check-algorithm.en.md
@@ -9,10 +9,17 @@ The `SHOW MIGRATION RULE` syntax is used to query migration check algorithm.
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowMigrationCheckAlgorithm ::=
   'SHOW' 'MIGRATION' 'CHECK' 'ALGORITHMS'
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Return Value Description
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-check-status.cn.md b/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-check-status.cn.md
index a468bbd3f3f..d0b51a42650 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-check-status.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-check-status.cn.md
@@ -9,6 +9,8 @@ weight = 12
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowMigrationCheckStatus ::=
   'SHOW' 'MIGRATION' 'CHECK' 'STATUS' migrationJobId 
@@ -16,6 +18,11 @@ ShowMigrationCheckStatus ::=
 migrationJobId ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-check-status.en.md b/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-check-status.en.md
index ef9dd803330..985fe0f7c75 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-check-status.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-check-status.en.md
@@ -9,6 +9,8 @@ The `SHOW MIGRATION CHECK STATUS` syntax is used to query migration check status
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowMigrationCheckStatus ::=
   'SHOW' 'MIGRATION' 'CHECK' 'STATUS' migrationJobId 
@@ -16,6 +18,11 @@ ShowMigrationCheckStatus ::=
 migrationJobId ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-list.cn.md b/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-list.cn.md
index a8884ceee79..774c74e5ba1 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-list.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-list.cn.md
@@ -10,10 +10,17 @@ weight = 8
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowMigrationList ::=
   'SHOW' 'MIGRATION' 'LIST'
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 返回值说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-list.en.md b/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-list.en.md
index 61e58b0c2b9..b725c314c85 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-list.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-list.en.md
@@ -9,10 +9,17 @@ The `SHOW MIGRATION LIST` syntax is used to query migration job list.
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowMigrationList ::=
   'SHOW' 'MIGRATION' 'LIST'
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Return Values Description
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-rule.cn.md b/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-rule.cn.md
index 03fbef99936..4f551a9bcaa 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-rule.cn.md
@@ -9,10 +9,17 @@ weight = 2
 `SHOW MIGRATION RULE` 语法用于查询数据迁移规则
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowMigrationRule ::=
   'SHOW' 'MIGRATION' 'RULE'
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 返回值说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-rule.en.md b/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-rule.en.md
index f38367dcf21..cf80a553bcc 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-rule.en.md
@@ -9,10 +9,17 @@ The `SHOW MIGRATION RULE` syntax is used to query migration rule.
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowMigrationRule ::=
   'SHOW' 'MIGRATION' 'RULE'
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Return Value Description
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-source-storage-units.cn.md b/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-source-storage-units.cn.md
index e95a00304b1..84fa5b13970 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-source-storage-units.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-source-storage-units.cn.md
@@ -9,10 +9,17 @@ weight = 6
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowStorageUnit ::=
   'SHOW' 'MIGRATION' 'SOURCE' 'STORAGE' 'UNITS'
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 返回值说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-source-storage-units.en.md b/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-source-storage-units.en.md
index 8e6829c6cee..750f08a9c07 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-source-storage-units.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-source-storage-units.en.md
@@ -9,10 +9,17 @@ The `SHOW MIGRATION SOURCE STORAGE UNITS` syntax is used to query the registered
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowStorageUnit ::=
   'SHOW' 'MIGRATION' 'SOURCE' 'STORAGE' 'UNITS'
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Return Value Description
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-status.cn.md b/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-status.cn.md
index 6f36c63d6fe..005a6825d89 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-status.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-status.cn.md
@@ -9,6 +9,8 @@ weight = 9
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowMigrationStatus ::=
   'SHOW' 'MIGRATION' 'STATUS' migrationJobId 
@@ -16,6 +18,11 @@ ShowMigrationStatus ::=
 migrationJobId ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-status.en.md b/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-status.en.md
index 353ff459d12..d161a375379 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-status.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/show-migration-status.en.md
@@ -9,6 +9,8 @@ The `SHOW MIGRATION STATUS` syntax is used to query migration job status for spe
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowMigrationStatus ::=
   'SHOW' 'MIGRATION' 'STATUS' migrationJobId 
@@ -16,6 +18,11 @@ ShowMigrationStatus ::=
 migrationJobId ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/start-migration-check.cn.md b/docs/document/content/reference/distsql/syntax/ral/migration/start-migration-check.cn.md
index b885d09e9f8..1e68bd80cf0 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/start-migration-check.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/start-migration-check.cn.md
@@ -9,6 +9,8 @@ weight = 14
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 StartMigrationCheck ::=
   'START' 'MIGRATION' 'CHECK' migrationJobId 
@@ -16,6 +18,11 @@ StartMigrationCheck ::=
 migrationJobId ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/start-migration-check.en.md b/docs/document/content/reference/distsql/syntax/ral/migration/start-migration-check.en.md
index a5feeb24c29..464989b0f7f 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/start-migration-check.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/start-migration-check.en.md
@@ -9,6 +9,8 @@ The `START MIGRATION CHECK` syntax is used to stop migration check process.
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 StartMigrationCheck ::=
   'START' 'MIGRATION' 'CHECK' migrationJobId 
@@ -16,6 +18,11 @@ StartMigrationCheck ::=
 migrationJobId ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/start-migration.cn.md b/docs/document/content/reference/distsql/syntax/ral/migration/start-migration.cn.md
index e2637d8831d..a2d450ebdc8 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/start-migration.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/start-migration.cn.md
@@ -9,6 +9,8 @@ weight = 16
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 StartMigration ::=
   'START' 'MIGRATION'  migrationJobId 
@@ -16,6 +18,11 @@ StartMigration ::=
 migrationJobId ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/start-migration.en.md b/docs/document/content/reference/distsql/syntax/ral/migration/start-migration.en.md
index d35e6b94bb4..b08019bf180 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/start-migration.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/start-migration.en.md
@@ -9,6 +9,8 @@ The `START MIGRATION` syntax is used to start migration process.
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 StartMigration ::=
   'START' 'MIGRATION'  migrationJobId 
@@ -16,6 +18,11 @@ StartMigration ::=
 migrationJobId ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/stop-migration-check.cn.md b/docs/document/content/reference/distsql/syntax/ral/migration/stop-migration-check.cn.md
index 8b9b7c7635b..49f5192cd83 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/stop-migration-check.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/stop-migration-check.cn.md
@@ -9,6 +9,8 @@ weight = 13
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 StopMigrationCheck ::=
   'STOP' 'MIGRATION' 'CHECK' migrationJobId 
@@ -16,6 +18,11 @@ StopMigrationCheck ::=
 migrationJobId ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/stop-migration-check.en.md b/docs/document/content/reference/distsql/syntax/ral/migration/stop-migration-check.en.md
index d9385142907..bbfafac5fbc 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/stop-migration-check.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/stop-migration-check.en.md
@@ -9,6 +9,8 @@ The `STOP MIGRATION CHECK` syntax is used to stop migration check process.
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 StopMigrationCheck ::=
   'STOP' 'MIGRATION' 'CHECK' migrationJobId 
@@ -16,6 +18,11 @@ StopMigrationCheck ::=
 migrationJobId ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/stop-migration.cn.md b/docs/document/content/reference/distsql/syntax/ral/migration/stop-migration.cn.md
index 6054164e979..0e6306e6de5 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/stop-migration.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/stop-migration.cn.md
@@ -9,6 +9,8 @@ weight = 15
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 StopMigration ::=
   'STOP' 'MIGRATION'  migrationJobId 
@@ -16,6 +18,11 @@ StopMigration ::=
 migrationJobId ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/stop-migration.en.md b/docs/document/content/reference/distsql/syntax/ral/migration/stop-migration.en.md
index c03c74c2065..176053e92df 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/stop-migration.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/stop-migration.en.md
@@ -9,6 +9,8 @@ The `STOP MIGRATION` syntax is used to stop migration process.
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 StopMigration ::=
   'STOP' 'MIGRATION' migrationJobId 
@@ -16,6 +18,11 @@ StopMigration ::=
 migrationJobId ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/unregister-storage-unit.cn.md b/docs/document/content/reference/distsql/syntax/ral/migration/unregister-storage-unit.cn.md
index dc6c3b3c889..37c0e5224ec 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/unregister-storage-unit.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/unregister-storage-unit.cn.md
@@ -9,6 +9,8 @@ weight = 5
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 UnregisterMigrationSourceStorageUnit ::=
   'UNREGISTER' 'MIGRATION' 'SOURCE' 'STORAGE' 'UNIT' storageUnitName  (',' storageUnitName)* 
@@ -16,6 +18,11 @@ UnregisterMigrationSourceStorageUnit ::=
 storageUnitName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/migration/unregister-storage-unit.en.md b/docs/document/content/reference/distsql/syntax/ral/migration/unregister-storage-unit.en.md
index adef8f0fb84..44f5d547ec1 100644
--- a/docs/document/content/reference/distsql/syntax/ral/migration/unregister-storage-unit.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/migration/unregister-storage-unit.en.md
@@ -9,6 +9,8 @@ The `UNREGISTER MIGRATION SOURCE STORAGE UNIT` syntax is used to unregister migr
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 UnregisterMigrationSourceStorageUnit ::=
   'UNREGISTER' 'MIGRATION' 'SOURCE' 'STORAGE' 'UNIT' storageUnitName  (',' storageUnitName)* 
@@ -16,6 +18,11 @@ UnregisterMigrationSourceStorageUnit ::=
 storageUnitName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/refresh-table-metadata-from-storage-unit.cn.md b/docs/document/content/reference/distsql/syntax/ral/refresh-table-metadata-from-storage-unit.cn.md
index 891ec95115a..7c77e9ed4b6 100644
--- a/docs/document/content/reference/distsql/syntax/ral/refresh-table-metadata-from-storage-unit.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/refresh-table-metadata-from-storage-unit.cn.md
@@ -9,6 +9,8 @@ weight = 7
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 RefreshTableMetadataFromStorageUnit ::=
   'REFRESH' 'TABLE' 'METADATA' 'FROM' 'STORAGE' 'UNIT' storageUnitName 'SCHEMA' schemaName
@@ -19,6 +21,12 @@ storageUnitName ::=
 schemaName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
+
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/refresh-table-metadata-from-storage-unit.en.md b/docs/document/content/reference/distsql/syntax/ral/refresh-table-metadata-from-storage-unit.en.md
index 293d7e584e9..7aa119d2a4a 100644
--- a/docs/document/content/reference/distsql/syntax/ral/refresh-table-metadata-from-storage-unit.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/refresh-table-metadata-from-storage-unit.en.md
@@ -9,6 +9,8 @@ The `REFRESH TABLE METADATA FROM STORAGE UNIT` syntax is used to Refresh the tab
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 RefreshTableMetadataFromStorageUnit ::=
   'REFRESH' 'TABLE' 'METADATA' 'FROM' 'STORAGE' 'UNIT' storageUnitName 'SCHEMA' schemaName
@@ -19,6 +21,11 @@ storageUnitName ::=
 schemaName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/refresh-table-metadata.cn.md b/docs/document/content/reference/distsql/syntax/ral/refresh-table-metadata.cn.md
index 273daddbddb..3847aa8a9a8 100644
--- a/docs/document/content/reference/distsql/syntax/ral/refresh-table-metadata.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/refresh-table-metadata.cn.md
@@ -9,6 +9,8 @@ weight = 6
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 RefreshTableMetadata ::=
   'REFRESH' 'TABLE' 'METADATA' ((tableName)? | tableName 'FROM' 'STORAGE' 'UNIT' storageUnitName)?
@@ -19,6 +21,11 @@ tableName ::=
 storageUnitName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/refresh-table-metadata.en.md b/docs/document/content/reference/distsql/syntax/ral/refresh-table-metadata.en.md
index 6f3448ce4c7..dee570de655 100644
--- a/docs/document/content/reference/distsql/syntax/ral/refresh-table-metadata.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/refresh-table-metadata.en.md
@@ -9,6 +9,8 @@ The `REFRESH TABLE METADATA` syntax is used to refresh table metadata.
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 RefreshTableMetadata ::=
   'REFRESH' 'TABLE' 'METADATA' ((tableName)? | tableName 'FROM' 'STORAGE' 'UNIT' storageUnitName)?
@@ -19,6 +21,11 @@ tableName ::=
 storageUnitName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/set-dist-vairable.cn.md b/docs/document/content/reference/distsql/syntax/ral/set-dist-vairable.cn.md
index 13a52b97565..d3c976cb1c6 100644
--- a/docs/document/content/reference/distsql/syntax/ral/set-dist-vairable.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/set-dist-vairable.cn.md
@@ -9,6 +9,8 @@ weight = 4
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 SetDistVariable ::=
   'SET' 'DIST' 'VARIABLE' (proxyPropertyName '=' proxyPropertyValue | 'transaction_type' '=' transactionType | 'agent_plugins_enable' '=' agentPluginsEnable)
@@ -25,6 +27,11 @@ transactionType ::=
 agentPluginsEnable ::=
   boolean
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/set-dist-vairable.en.md b/docs/document/content/reference/distsql/syntax/ral/set-dist-vairable.en.md
index 95a0fcbaffb..67bff3ac633 100644
--- a/docs/document/content/reference/distsql/syntax/ral/set-dist-vairable.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/set-dist-vairable.en.md
@@ -8,6 +8,8 @@ weight = 4
 The `SET DIST VARIABLE` syntax is used to set system variables.
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 SetDistVariable ::=
   'SET' 'DIST' 'VARIABLE' (proxyPropertyName '=' proxyPropertyValue | 'transaction_type' '=' transactionType | 'agent_plugins_enable' '=' agentPluginsEnable)
@@ -24,6 +26,11 @@ transactionType ::=
 agentPluginsEnable ::=
   boolean
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/show-compute-node-info.cn.md b/docs/document/content/reference/distsql/syntax/ral/show-compute-node-info.cn.md
index b8fccef44d4..acedcc02a71 100644
--- a/docs/document/content/reference/distsql/syntax/ral/show-compute-node-info.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/show-compute-node-info.cn.md
@@ -9,10 +9,17 @@ weight = 2
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowComputeNodeInfo ::=
   'SHOW' 'COMPUTE' 'NODE' 'INFO'
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 返回值说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/show-compute-node-info.en.md b/docs/document/content/reference/distsql/syntax/ral/show-compute-node-info.en.md
index feeaceb790d..62d89657b7a 100644
--- a/docs/document/content/reference/distsql/syntax/ral/show-compute-node-info.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/show-compute-node-info.en.md
@@ -8,10 +8,17 @@ weight = 2
 The `SHOW COMPUTE NODE INFO` syntax is used to query current proxy instance information.
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowComputeNodeInfo ::=
   'SHOW' 'COMPUTE' 'NODE' 'INFO'
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Return Value Description
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/show-compute-node-mode.cn.md b/docs/document/content/reference/distsql/syntax/ral/show-compute-node-mode.cn.md
index 8f4f79e9e72..0c0134c5e5c 100644
--- a/docs/document/content/reference/distsql/syntax/ral/show-compute-node-mode.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/show-compute-node-mode.cn.md
@@ -9,10 +9,17 @@ weight = 3
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowComputeNodeMode ::=
   'SHOW' 'COMPUTE' 'NODE' 'MODE'
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 返回值说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/show-compute-node-mode.en.md b/docs/document/content/reference/distsql/syntax/ral/show-compute-node-mode.en.md
index b52175daaf1..1406c172b31 100644
--- a/docs/document/content/reference/distsql/syntax/ral/show-compute-node-mode.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/show-compute-node-mode.en.md
@@ -8,10 +8,17 @@ weight = 3
 The `SHOW COMPUTE NODE MODE` syntax is used to query current proxy instance mode configuration information.
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowComputeNodeInfo ::=
   'SHOW' 'COMPUTE' 'NODE' 'MODE'
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Return Value Description
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/show-dist-variable.cn.md b/docs/document/content/reference/distsql/syntax/ral/show-dist-variable.cn.md
index 809b2e599f5..1e7afd44e55 100644
--- a/docs/document/content/reference/distsql/syntax/ral/show-dist-variable.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/show-dist-variable.cn.md
@@ -9,6 +9,8 @@ weight = 5
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowDistVariable ::=
   'SHOW' ('VARIABLES' | 'VARIABLE' 'NAME' '=' variableName)
@@ -16,6 +18,11 @@ ShowDistVariable ::=
 variableName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 返回值说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/show-dist-variable.en.md b/docs/document/content/reference/distsql/syntax/ral/show-dist-variable.en.md
index 79145f8d0e0..76688e49c48 100644
--- a/docs/document/content/reference/distsql/syntax/ral/show-dist-variable.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/show-dist-variable.en.md
@@ -9,6 +9,8 @@ The `SHOW DIST VARIABLE` syntax is used to query `PROXY` system variables config
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowDistVariable ::=
   'SHOW' ('VARIABLES' | 'VARIABLE' 'WHERE' 'NAME' '=' variableName)
@@ -16,6 +18,11 @@ ShowDistVariable ::=
 variableName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Return Value Description
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/show-rules-used-storage-unit.cn.md b/docs/document/content/reference/distsql/syntax/ral/show-rules-used-storage-unit.cn.md
index d04853bd704..ea25ab6d00d 100644
--- a/docs/document/content/reference/distsql/syntax/ral/show-rules-used-storage-unit.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/show-rules-used-storage-unit.cn.md
@@ -9,6 +9,8 @@ weight = 11
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowRulesUsedStorageUnit ::=
   'SHOW' 'RULES' 'USED' 'STORAGE' 'UNIT' storageUnitName ('FROM' databaseName)?
@@ -19,6 +21,11 @@ storageUnitName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 返回值说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/show-rules-used-storage-unit.en.md b/docs/document/content/reference/distsql/syntax/ral/show-rules-used-storage-unit.en.md
index 70448d47c65..04c747a676e 100644
--- a/docs/document/content/reference/distsql/syntax/ral/show-rules-used-storage-unit.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/show-rules-used-storage-unit.en.md
@@ -9,6 +9,8 @@ The `SHOW RULES USED STORAGE UNIT` syntax is used to query the rules for using t
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowRulesUsedStorageUnit ::=
   'SHOW' 'RULES' 'USED' 'STORAGE' 'UNIT' storageUnitName ('FROM' databaseName)?
@@ -19,6 +21,11 @@ storageUnitName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Return Value Description
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/show-table-metadata.cn.md b/docs/document/content/reference/distsql/syntax/ral/show-table-metadata.cn.md
index 88157cf1c51..1ec36c4bd09 100644
--- a/docs/document/content/reference/distsql/syntax/ral/show-table-metadata.cn.md
+++ b/docs/document/content/reference/distsql/syntax/ral/show-table-metadata.cn.md
@@ -9,6 +9,8 @@ weight = 8
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowTableMetadata ::=
   'SHOW' 'TABLE' 'METADATA' tableName (',' tableName)* ('FROM' databaseName)?
@@ -19,6 +21,11 @@ tableName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 返回值说明
 
diff --git a/docs/document/content/reference/distsql/syntax/ral/show-table-metadata.en.md b/docs/document/content/reference/distsql/syntax/ral/show-table-metadata.en.md
index b189966dc11..22500bd02d3 100644
--- a/docs/document/content/reference/distsql/syntax/ral/show-table-metadata.en.md
+++ b/docs/document/content/reference/distsql/syntax/ral/show-table-metadata.en.md
@@ -9,6 +9,8 @@ The `SHOW TABLE METADATA` syntax is used to query tabe metadata.
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowTableMetadata ::=
   'SHOW' 'TABLE' 'METADATA' tableName (',' tableName)* ('FROM' databaseName)?
@@ -19,6 +21,11 @@ tableName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Return Value Description
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/alter-db-discovery-rule.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/alter-db-discovery-rule.cn.md
index 74fa82712b5..a21ce46a345 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/alter-db-discovery-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/alter-db-discovery-rule.cn.md
@@ -9,6 +9,8 @@ weight = 3
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 AlterDatabaseDiscoveryRule ::=
   'ALTER' 'DB_DISCOVERY' 'RULE' databaseDiscoveryDefinition (',' databaseDiscoveryDefinition)*
@@ -37,6 +39,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/alter-db-discovery-rule.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/alter-db-discovery-rule.en.md
index 43dbcf8cd01..98ebc9baadb 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/alter-db-discovery-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/alter-db-discovery-rule.en.md
@@ -9,6 +9,8 @@ The `ALTER DB_DISCOVERY RULE` syntax is used to alter a database discovery rule.
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 AlterDatabaseDiscoveryRule ::=
   'ALTER' 'DB_DISCOVERY' 'RULE' databaseDiscoveryDefinition (',' databaseDiscoveryDefinition)*
@@ -37,6 +39,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/create-db-discovery-rule.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/create-db-discovery-rule.cn.md
index aeee7a8b001..e33b244f2fa 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/create-db-discovery-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/create-db-discovery-rule.cn.md
@@ -9,6 +9,8 @@ weight = 2
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 CreateDatabaseDiscoveryRule ::=
   'CREATE' 'DB_DISCOVERY' 'RULE' ifNotExists? databaseDiscoveryDefinition (',' databaseDiscoveryDefinition)*
@@ -40,6 +42,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/create-db-discovery-rule.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/create-db-discovery-rule.en.md
index 3388dee1536..28b2907f4e4 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/create-db-discovery-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/create-db-discovery-rule.en.md
@@ -9,6 +9,8 @@ The `CREATE DB_DISCOVERY RULE` syntax is used to create a database discovery rul
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 CreateDatabaseDiscoveryRule ::=
   'CREATE' 'DB_DISCOVERY' 'RULE' ifNotExists? databaseDiscoveryDefinition (',' databaseDiscoveryDefinition)*
@@ -40,6 +42,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/drop-db-discovery-heartbeat.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/drop-db-discovery-heartbeat.cn.md
index 1c54a017beb..e3d75d4d491 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/drop-db-discovery-heartbeat.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/drop-db-discovery-heartbeat.cn.md
@@ -9,6 +9,8 @@ weight = 5
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 DropDatabaseDiscoveryHeartbeat ::=
   'DROP' 'DB_DISCOVERY' 'HEARTBEAT'  dbDiscoveryHeartbeatName (',' dbDiscoveryHeartbeatName)*  ('FROM' databaseName)?
@@ -19,6 +21,11 @@ dbDiscoveryHeartbeatName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/drop-db-discovery-heartbeat.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/drop-db-discovery-heartbeat.en.md
index 93b8dd56c6e..2528eb211c1 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/drop-db-discovery-heartbeat.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/drop-db-discovery-heartbeat.en.md
@@ -9,6 +9,8 @@ The `DROP DB_DISCOVERY HEARTBEAT` syntax is used to drop database discovery hear
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 DropDatabaseDiscoveryHeartbeat ::=
   'DROP' 'DB_DISCOVERY' 'HEARTBEAT'  dbDiscoveryHeartbeatName (',' dbDiscoveryHeartbeatName)*  ('FROM' databaseName)?
@@ -19,6 +21,11 @@ dbDiscoveryHeartbeatName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/drop-db-discovery-rule.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/drop-db-discovery-rule.cn.md
index 77bc9adacbb..be3cc9d4784 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/drop-db-discovery-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/drop-db-discovery-rule.cn.md
@@ -9,6 +9,8 @@ weight = 4
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 DropDatabaseDiscoveryRule ::=
   'DROP' 'DB_DISCOVERY' 'RULE'  dbDiscoveryRuleName (',' dbDiscoveryRuleName)* ('FROM' databaseName)?
@@ -19,6 +21,12 @@ dbDiscoveryRuleName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
+
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/drop-db-discovery-rule.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/drop-db-discovery-rule.en.md
index fe838542104..07fca526987 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/drop-db-discovery-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/drop-db-discovery-rule.en.md
@@ -9,6 +9,8 @@ The `DROP DB_DISCOVERY RULE` syntax is used to drop database discovery rule for
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 DropDatabaseDiscoveryRule ::=
   'DROP' 'DB_DISCOVERY' 'RULE'  dbDiscoveryRuleName (',' dbDiscoveryRuleName)* ('FROM' databaseName)?
@@ -19,6 +21,11 @@ dbDiscoveryRuleName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/drop-db-discovery-type.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/drop-db-discovery-type.cn.md
index de03560c455..69e1c89ca82 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/drop-db-discovery-type.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/drop-db-discovery-type.cn.md
@@ -9,6 +9,8 @@ weight = 6
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 DropDatabaseDiscoveryType ::=
   'DROP' 'DB_DISCOVERY' 'TYPE'  dbDiscoveryTypeName (',' dbDiscoveryTypeName)* ('FROM' databaseName)?
@@ -19,6 +21,11 @@ dbDiscoveryTypeName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/drop-db-discovery-type.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/drop-db-discovery-type.en.md
index 27de5600538..26e838fa2d5 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/drop-db-discovery-type.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/db-discovery/drop-db-discovery-type.en.md
@@ -9,6 +9,8 @@ The `DROP DB_DISCOVERY TYPE` syntax is used to drop database discovery type for
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 DropDatabaseDiscoveryType ::=
   'DROP' 'DB_DISCOVERY' 'TYPE'  dbDiscoveryTypeName (',' dbDiscoveryTypeName)* ('FROM' databaseName)?
@@ -19,6 +21,11 @@ dbDiscoveryTypeName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/encrypt/alter-encrypt-rule.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/encrypt/alter-encrypt-rule.cn.md
index aa9f947674f..88c63cbce58 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/encrypt/alter-encrypt-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/encrypt/alter-encrypt-rule.cn.md
@@ -9,6 +9,8 @@ weight = 3
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 AlterEncryptRule ::=
   'ALTER' 'ENCRYPT' 'RULE' encryptDefinition (',' encryptDefinition)*
@@ -58,6 +60,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/encrypt/alter-encrypt-rule.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/encrypt/alter-encrypt-rule.en.md
index e0bb5dc6f82..7ffdb29ba71 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/encrypt/alter-encrypt-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/encrypt/alter-encrypt-rule.en.md
@@ -9,6 +9,8 @@ The `ALTER ENCRYPT RULE` syntax is used to alter an encryption rule.
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 AlterEncryptRule ::=
   'ALTER' 'ENCRYPT' 'RULE' encryptDefinition (',' encryptDefinition)*
@@ -58,6 +60,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/encrypt/create-encrypt-rule.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/encrypt/create-encrypt-rule.cn.md
index b7c41019b92..4f78def63aa 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/encrypt/create-encrypt-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/encrypt/create-encrypt-rule.cn.md
@@ -9,6 +9,8 @@ weight = 2
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 CreateEncryptRule ::=
   'CREATE' 'ENCRYPT' 'RULE' ifNotExists? encryptDefinition (',' encryptDefinition)*
@@ -61,6 +63,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/encrypt/create-encrypt-rule.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/encrypt/create-encrypt-rule.en.md
index 054e602b810..b687732e47d 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/encrypt/create-encrypt-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/encrypt/create-encrypt-rule.en.md
@@ -9,6 +9,8 @@ The `CREATE READWRITE_SPLITTING RULE` syntax is used to create a readwrite split
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 CreateEncryptRule ::=
   'CREATE' 'ENCRYPT' 'RULE' ifNotExists? encryptDefinition (',' encryptDefinition)*
@@ -61,6 +63,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/encrypt/drop-encrypt-rule.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/encrypt/drop-encrypt-rule.cn.md
index 7d772f0f60d..b329fe5ec7f 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/encrypt/drop-encrypt-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/encrypt/drop-encrypt-rule.cn.md
@@ -9,6 +9,8 @@ weight = 4
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 DropEncryptRule ::=
   'DROP' 'ENCRYPT' 'RULE' tableName (',' tableName)*
@@ -16,6 +18,11 @@ DropEncryptRule ::=
 tableName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 示例
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/encrypt/drop-encrypt-rule.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/encrypt/drop-encrypt-rule.en.md
index 4027b2b3a13..93f16e61f2a 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/encrypt/drop-encrypt-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/encrypt/drop-encrypt-rule.en.md
@@ -9,6 +9,8 @@ The `DROP ENCRYPT RULE` syntax is used to drop an existing encryption rule.
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 DropEncryptRule ::=
   'DROP' 'ENCRYPT' 'RULE' tableName (',' tableName)*
@@ -16,6 +18,11 @@ DropEncryptRule ::=
 tableName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Example
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/readwrite-splitting/alter-readwrite-splitting-rule.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/readwrite-splitting/alter-readwrite-splitting-rule.cn.md
index 8e4f9581f8e..45f704f3335 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/readwrite-splitting/alter-readwrite-splitting-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/readwrite-splitting/alter-readwrite-splitting-rule.cn.md
@@ -9,6 +9,8 @@ weight = 3
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 AlterReadwriteSplittingRule ::=
   'ALTER' 'READWRITE_SPLITTING' 'RULE' readwriteSplittingDefinition (',' readwriteSplittingDefinition)*
@@ -49,6 +51,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/readwrite-splitting/alter-readwrite-splitting-rule.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/readwrite-splitting/alter-readwrite-splitting-rule.en.md
index 7d083817959..71bfc6c63ee 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/readwrite-splitting/alter-readwrite-splitting-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/readwrite-splitting/alter-readwrite-splitting-rule.en.md
@@ -9,6 +9,8 @@ The `ALTER READWRITE_SPLITTING RULE` syntax is used to alter a readwrite splitti
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 AlterReadwriteSplittingRule ::=
   'ALTER' 'READWRITE_SPLITTING' 'RULE' readwriteSplittingDefinition (',' readwriteSplittingDefinition)*
@@ -49,6 +51,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/readwrite-splitting/create-readwrite-splitting-rule.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/readwrite-splitting/create-readwrite-splitting-rule.cn.md
index 53eb14061ed..1fff6f33edc 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/readwrite-splitting/create-readwrite-splitting-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/readwrite-splitting/create-readwrite-splitting-rule.cn.md
@@ -9,6 +9,8 @@ weight = 2
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 CreateReadwriteSplittingRule ::=
   'CREATE' 'READWRITE_SPLITTING' 'RULE' ifNotExists? readwriteSplittingDefinition (',' readwriteSplittingDefinition)*
@@ -52,6 +54,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/readwrite-splitting/create-readwrite-splitting-rule.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/readwrite-splitting/create-readwrite-splitting-rule.en.md
index b1454695a72..68393062d68 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/readwrite-splitting/create-readwrite-splitting-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/readwrite-splitting/create-readwrite-splitting-rule.en.md
@@ -9,6 +9,8 @@ The `CREATE READWRITE_SPLITTING RULE` syntax is used to create a readwrite split
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 CreateReadwriteSplittingRule ::=
   'CREATE' 'READWRITE_SPLITTING' 'RULE' ifNotExists? readwriteSplittingDefinition (',' readwriteSplittingDefinition)*
@@ -52,6 +54,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/readwrite-splitting/drop-readwrite-splitting-rule.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/readwrite-splitting/drop-readwrite-splitting-rule.cn.md
index 361ee465d88..7d859b6b551 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/readwrite-splitting/drop-readwrite-splitting-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/readwrite-splitting/drop-readwrite-splitting-rule.cn.md
@@ -9,6 +9,8 @@ weight = 4
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 DropReadwriteSplittingRule ::=
   'DROP' 'READWRITE_SPLITTING' 'RULE' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ DropReadwriteSplittingRule ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/readwrite-splitting/drop-readwrite-splitting-rule.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/readwrite-splitting/drop-readwrite-splitting-rule.en.md
index 228ceb8c40d..ee14b484483 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/readwrite-splitting/drop-readwrite-splitting-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/readwrite-splitting/drop-readwrite-splitting-rule.en.md
@@ -9,6 +9,8 @@ The `DROP READWRITE_SPLITTING RULE` syntax is used to drop readwrite splitting r
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 DropReadwriteSplittingRule ::=
   'DROP' 'READWRITE_SPLITTING' 'RULE' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ DropReadwriteSplittingRule ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/alter-default-shadow-algorithm.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/alter-default-shadow-algorithm.cn.md
index 122c819bdd0..2d4f7443686 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/alter-default-shadow-algorithm.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/alter-default-shadow-algorithm.cn.md
@@ -9,6 +9,8 @@ weight = 6
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 AlterDefaultShadowAlgorithm ::=
   'ALTER' 'DEFAULT' 'SHADOW' 'ALGORITHM' shadowAlgorithm 
@@ -28,6 +30,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/alter-default-shadow-algorithm.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/alter-default-shadow-algorithm.en.md
index a0b3058e7fe..74a53318632 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/alter-default-shadow-algorithm.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/alter-default-shadow-algorithm.en.md
@@ -9,6 +9,8 @@ The `ALTER DEFAULT SHADOW ALGORITHM` syntax is used to alter a default shadow al
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 AlterDefaultShadowAlgorithm ::=
   'ALTER' 'DEFAULT' 'SHADOW' 'ALGORITHM' shadowAlgorithm 
@@ -28,6 +30,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/alter-shadow-rule.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/alter-shadow-rule.cn.md
index a3a646384e6..9d0b2ba0d75 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/alter-shadow-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/alter-shadow-rule.cn.md
@@ -9,6 +9,8 @@ weight = 3
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 AlterShadowRule ::=
   'ALTER' 'SHADOW' 'RULE' shadowRuleDefinition (',' shadowRuleDefinition)*
@@ -49,6 +51,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/alter-shadow-rule.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/alter-shadow-rule.en.md
index 083e4edfbc0..a625cc115f9 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/alter-shadow-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/alter-shadow-rule.en.md
@@ -9,6 +9,8 @@ The `ALTER SHADOW RULE` syntax is used to alter shadow rule.
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 AlterShadowRule ::=
   'ALTER' 'SHADOW' 'RULE' shadowRuleDefinition (',' shadowRuleDefinition)*
@@ -49,6 +51,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/create-default-shadow-algorithm.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/create-default-shadow-algorithm.cn.md
index dbca638ae5a..7216afa255c 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/create-default-shadow-algorithm.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/create-default-shadow-algorithm.cn.md
@@ -9,6 +9,8 @@ weight = 5
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 CreateDefaultShadowAlgorithm ::=
   'CREATE' 'DEFAULT' 'SHADOW' 'ALGORITHM' ifNotExists? shadowAlgorithm 
@@ -31,6 +33,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/create-default-shadow-algorithm.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/create-default-shadow-algorithm.en.md
index 2a863a26a88..a4a1fc32169 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/create-default-shadow-algorithm.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/create-default-shadow-algorithm.en.md
@@ -9,6 +9,8 @@ The `CREATE DEFAULT SHADOW ALGORITHM` syntax is used to create a default shadow
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 CreateDefaultShadowAlgorithm ::=
   'CREATE' 'DEFAULT' 'SHADOW' 'ALGORITHM' ifNotExists? shadowAlgorithm 
@@ -31,6 +33,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/create-shadow-rule.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/create-shadow-rule.cn.md
index 90100087790..c31e5dcad8a 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/create-shadow-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/create-shadow-rule.cn.md
@@ -9,6 +9,8 @@ weight = 2
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 CreateShadowRule ::=
   'CREATE' 'SHADOW' 'RULE' ifNotExists? shadowRuleDefinition (',' shadowRuleDefinition)*
@@ -52,6 +54,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/create-shadow-rule.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/create-shadow-rule.en.md
index 963e7c6e3f4..06fd78a1805 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/create-shadow-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/create-shadow-rule.en.md
@@ -9,6 +9,8 @@ The `CREATE SHADOW RULE` syntax is used to create a shadow rule.
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 CreateShadowRule ::=
   'CREATE' 'SHADOW' 'RULE' ifNotExists? shadowRuleDefinition (',' shadowRuleDefinition)*
@@ -52,6 +54,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/drop-default-shadow-algorithm.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/drop-default-shadow-algorithm.cn.md
index 1d5bbfe974f..7dfc0197aab 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/drop-default-shadow-algorithm.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/drop-default-shadow-algorithm.cn.md
@@ -9,6 +9,8 @@ weight = 7
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 DropDefaultShadowAlgorithm ::=
   'DROP' 'DEFAULT' 'SHADOW' 'ALGORITHM' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ DropDefaultShadowAlgorithm ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/drop-default-shadow-algorithm.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/drop-default-shadow-algorithm.en.md
index 37ef53cab5b..ed87d6cdf76 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/drop-default-shadow-algorithm.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/drop-default-shadow-algorithm.en.md
@@ -9,6 +9,8 @@ The `DROP DEFAULT SHADOW ALGORITHM` syntax is used to drop default shadow algori
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 DropDefaultShadowAlgorithm ::=
   'DROP' 'DEFAULT' 'SHADOW' 'ALGORITHM' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ DropDefaultShadowAlgorithm ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/drop-shadow-algorithm.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/drop-shadow-algorithm.cn.md
index f7fd3fd22a0..f4d67aa88b2 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/drop-shadow-algorithm.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/drop-shadow-algorithm.cn.md
@@ -9,6 +9,8 @@ weight = 8
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 DropShadowAlgorithm ::=
   'DROP' 'SHADOW' 'ALGORITHM' shadowAlgorithmName (',' shadowAlgorithmName)* ('FROM' databaseName)?
@@ -19,6 +21,11 @@ shadowAlgorithmName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/drop-shadow-algorithm.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/drop-shadow-algorithm.en.md
index b9d070f3716..74272a64d9b 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/drop-shadow-algorithm.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/drop-shadow-algorithm.en.md
@@ -9,6 +9,8 @@ The `DROP SHADOW ALGORITHM` syntax is used to drop shadow algorithm for specifie
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 DropShadowAlgorithm ::=
   'DROP' 'SHADOW' 'ALGORITHM' shadowAlgorithmName (',' shadowAlgorithmName)* ('FROM' databaseName)?
@@ -19,6 +21,11 @@ shadowAlgorithmName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/drop-shadow-rule.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/drop-shadow-rule.cn.md
index 200c07fc4ad..00119bcca83 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/drop-shadow-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/drop-shadow-rule.cn.md
@@ -9,6 +9,8 @@ weight = 4
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 DropShadowRule ::=
   'DROP' 'SHADOW' 'TABLE' 'RULE' shadowRuleName ('FROM' databaseName)?
@@ -19,6 +21,11 @@ shadowRuleName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/drop-shadow-rule.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/drop-shadow-rule.en.md
index aec53841d96..d9e2eb8be67 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/drop-shadow-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/shadow/drop-shadow-rule.en.md
@@ -9,6 +9,8 @@ The `DROP SHADOW RULE` syntax is used to drop shadow rule for specified database
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 DropShadowRule ::=
   'DROP' 'SHADOW' 'TABLE' 'RULE' shadowRuleName ('FROM' databaseName)?
@@ -19,6 +21,11 @@ shadowRuleName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/alter-default-sharding-strategy.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/alter-default-sharding-strategy.cn.md
index fbb8bf7a13d..8b221dfc547 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/alter-default-sharding-strategy.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/alter-default-sharding-strategy.cn.md
@@ -9,6 +9,8 @@ weight = 6
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 AlterDefaultShardingStrategy ::=
   'ALTER' 'DEFAULT' 'SHARDING' ('DATABASE' | 'TABLE') 'STRATEGY' '(' shardingStrategy ')'
@@ -40,6 +42,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/alter-default-sharding-strategy.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/alter-default-sharding-strategy.en.md
index 4ad84fb1236..b9f289c7b13 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/alter-default-sharding-strategy.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/alter-default-sharding-strategy.en.md
@@ -9,6 +9,8 @@ The `ALTER DEFAULT SHARDING STRATEGY` syntax is used to alter a default sharding
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 AlterDefaultShardingStrategy ::=
   'ALTER' 'DEFAULT' 'SHARDING' ('DATABASE' | 'TABLE') 'STRATEGY' '(' shardingStrategy ')'
@@ -40,6 +42,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/alter-sharding-table-reference-rule.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/alter-sharding-table-reference-rule.cn.md
index 381c7db948c..f617ca0184b 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/alter-sharding-table-reference-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/alter-sharding-table-reference-rule.cn.md
@@ -9,6 +9,8 @@ weight = 14
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 AlterShardingTableReferenceRule ::=
   'ALTER' 'SHARDING' 'TABLE' 'REFERENCE' 'RULE'  referenceRelationshipDefinition  (',' referenceRelationshipDefinition)*
@@ -19,6 +21,11 @@ referenceRelationshipDefinition ::=
 tableName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/alter-sharding-table-reference-rule.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/alter-sharding-table-reference-rule.en.md
index efa227b8e79..460670f8541 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/alter-sharding-table-reference-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/alter-sharding-table-reference-rule.en.md
@@ -9,6 +9,8 @@ The `ALTER SHARDING TABLE REFERENCE RULE` syntax is used to alter sharding table
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 AlterShardingTableReferenceRule ::=
   'ALTER' 'SHARDING' 'TABLE' 'REFERENCE' 'RULE'  referenceRelationshipDefinition  (',' referenceRelationshipDefinition)*
@@ -19,6 +21,11 @@ referenceRelationshipDefinition ::=
 tableName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/alter-sharding-table-rule.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/alter-sharding-table-rule.cn.md
index 2504b1b87ce..2803eb21a74 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/alter-sharding-table-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/alter-sharding-table-rule.cn.md
@@ -9,6 +9,8 @@ weight = 3
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 AlterShardingTableRule ::=
   'ALTER' 'SHARDING' 'TABLE' 'RULE' (tableDefinition | autoTableDefinition) (',' (tableDefinition | autoTableDefinition))*
@@ -58,6 +60,11 @@ algorithmType ::=
 strategyType ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/alter-sharding-table-rule.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/alter-sharding-table-rule.en.md
index 59797e0a17b..15a29c8c616 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/alter-sharding-table-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/alter-sharding-table-rule.en.md
@@ -9,6 +9,8 @@ The `ALTER SHARDING TABLE RULE` syntax is used to alter sharding table rule for
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 AlterShardingTableRule ::=
   'ALTER' 'SHARDING' 'TABLE' 'RULE' (tableDefinition | autoTableDefinition) (',' (tableDefinition | autoTableDefinition))*
@@ -58,6 +60,11 @@ algorithmType ::=
 strategyType ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-broadcast-table-rule.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-broadcast-table-rule.cn.md
index 1cd430acf58..0939e45536a 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-broadcast-table-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-broadcast-table-rule.cn.md
@@ -9,6 +9,8 @@ weight = 16
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 CreateBroadcastTableRule ::=
   'CREATE' 'BROADCAST' 'TABLE' 'RULE' ifNotExists? tableName (',' tableName)* 
@@ -19,6 +21,11 @@ ifNotExists ::=
 tableName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-broadcast-table-rule.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-broadcast-table-rule.en.md
index 6268aa2a7ce..3edfae92745 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-broadcast-table-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-broadcast-table-rule.en.md
@@ -10,6 +10,8 @@ broadcast (broadcast tables)
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 CreateBroadcastTableRule ::=
   'CREATE' 'BROADCAST' 'TABLE' 'RULE' ifNotExists? tableName (',' tableName)* 
@@ -20,6 +22,11 @@ ifNotExists ::=
 tableName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-default-sharding-strategy.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-default-sharding-strategy.cn.md
index fab830c408c..f430ec5bfb9 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-default-sharding-strategy.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-default-sharding-strategy.cn.md
@@ -9,6 +9,8 @@ weight = 5
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 CreateDefaultShardingStrategy ::=
   'CREATE' 'DEFAULT' 'SHARDING' ('DATABASE' | 'TABLE') 'STRATEGY' ifNotExists? '(' shardingStrategy ')'
@@ -43,6 +45,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-default-sharding-strategy.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-default-sharding-strategy.en.md
index c04484944ce..a32e7d9bc5a 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-default-sharding-strategy.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-default-sharding-strategy.en.md
@@ -9,6 +9,8 @@ The `CREATE DEFAULT SHARDING STRATEGY` syntax is used to create a default shardi
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 CreateDefaultShardingStrategy ::=
   'CREATE' 'DEFAULT' 'SHARDING' ('DATABASE' | 'TABLE') 'STRATEGY' ifNotExists? '(' shardingStrategy ')'
@@ -43,6 +45,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-sharding-table-reference-rule.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-sharding-table-reference-rule.cn.md
index bcde7ae859d..30bb62ac14b 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-sharding-table-reference-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-sharding-table-reference-rule.cn.md
@@ -9,6 +9,8 @@ weight = 13
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 CreateShardingTableReferenceRule ::=
   'CREATE' 'SHARDING' 'TABLE' 'REFERENCE' 'RULE' ifNotExists? referenceRelationshipDefinition  (',' referenceRelationshipDefinition)*
@@ -22,6 +24,11 @@ referenceRelationshipDefinition ::=
 tableName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-sharding-table-reference-rule.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-sharding-table-reference-rule.en.md
index 20cb901d805..5d9600f98f5 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-sharding-table-reference-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-sharding-table-reference-rule.en.md
@@ -9,6 +9,8 @@ The `CREATE SHARDING TABLE REFERENCE RULE` syntax is used to create reference ru
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 CreateShardingTableReferenceRule ::=
   'CREATE' 'SHARDING' 'TABLE' 'REFERENCE' 'RULE' ifNotExists? referenceRelationshipDefinition  (',' referenceRelationshipDefinition)*
@@ -22,6 +24,11 @@ referenceRelationshipDefinition ::=
 tableName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-sharding-table-rule.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-sharding-table-rule.cn.md
index dcd6ae72452..b289542416e 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-sharding-table-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-sharding-table-rule.cn.md
@@ -9,6 +9,8 @@ weight = 2
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 CreateShardingTableRule ::=
   'CREATE' 'SHARDING' 'TABLE' 'RULE' ifNotExists? (tableDefinition | autoTableDefinition) (',' (tableDefinition | autoTableDefinition))*
@@ -61,6 +63,11 @@ algorithmType ::=
 strategyType ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-sharding-table-rule.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-sharding-table-rule.en.md
index c00b900d3d9..ce8b860aa78 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-sharding-table-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-sharding-table-rule.en.md
@@ -9,6 +9,8 @@ The `CREATE SHARDING TABLE RULE` syntax is used to add sharding table rule for t
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 CreateShardingTableRule ::=
   'CREATE' 'SHARDING' 'TABLE' 'RULE' ifNotExists? (tableDefinition | autoTableDefinition) (',' (tableDefinition | autoTableDefinition))*
@@ -61,6 +63,11 @@ algorithmType ::=
 strategyType ::=
   string
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-broadcast-table-rule.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-broadcast-table-rule.cn.md
index bbd8ed5011d..aa23d646ea8 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-broadcast-table-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-broadcast-table-rule.cn.md
@@ -9,6 +9,8 @@ weight = 17
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 DropBroadcastTableRule ::=
   'DROP' 'BROADCAST' 'TABLE' 'RULE'  tableName (',' tableName)* 
@@ -16,6 +18,11 @@ DropBroadcastTableRule ::=
 tableName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-broadcast-table-rule.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-broadcast-table-rule.en.md
index 1e6a9405cf1..5e39d481189 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-broadcast-table-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-broadcast-table-rule.en.md
@@ -9,6 +9,8 @@ The `DROP BROADCAST TABLE RULE` syntax is used to drop broadcast table rule for
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 DropBroadcastTableRule ::=
   'DROP' 'BROADCAST' 'TABLE' 'RULE'  tableName (',' tableName)* 
@@ -16,6 +18,11 @@ DropBroadcastTableRule ::=
 tableName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-default-sharding-strategy.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-default-sharding-strategy.cn.md
index 6e4cdb6b2f7..a228f94e7b2 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-default-sharding-strategy.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-default-sharding-strategy.cn.md
@@ -9,6 +9,8 @@ weight = 7
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 DropDefaultShardingStrategy ::=
   'DROP' 'DEFAULT' 'SHARDING' ('TABLE' | 'DATABASE') 'STRATEGY' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ DropDefaultShardingStrategy ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-default-sharding-strategy.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-default-sharding-strategy.en.md
index b9fc2ef47cb..87b350c5a86 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-default-sharding-strategy.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-default-sharding-strategy.en.md
@@ -9,6 +9,8 @@ The `DROP DEFAULT SHARDING STRATEGY` syntax is used to drop default sharding str
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 DropDefaultShardingStrategy ::=
   'DROP' 'DEFAULT' 'SHARDING' ('TABLE' | 'DATABASE') 'STRATEGY' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ DropDefaultShardingStrategy ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-algorithm.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-algorithm.cn.md
index 4b0a70e851b..6fff551c522 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-algorithm.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-algorithm.cn.md
@@ -9,6 +9,8 @@ weight = 12
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 DropShardingAlgorithm ::=
   'DROP' 'SHARDING' 'ALGORITHM' shardingAlgorithmName ('FROM' databaseName)?
@@ -19,6 +21,11 @@ shardingAlgorithmName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-algorithm.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-algorithm.en.md
index 7cfc545f8a8..7e4049b03b3 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-algorithm.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-algorithm.en.md
@@ -9,6 +9,8 @@ The `DROP SHARDING ALGORITHM` syntax is used to drop sharding algorithm for spec
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 DropShardingAlgorithm ::=
   'DROP' 'SHARDING' 'ALGORITHM' shardingAlgorithmName ('FROM' databaseName)?
@@ -19,6 +21,11 @@ shardingAlgorithmName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-key-generator.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-key-generator.cn.md
index cb334e755d6..0b1a39e3091 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-key-generator.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-key-generator.cn.md
@@ -9,6 +9,8 @@ weight = 11
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 DropShardingKeyGenerator ::=
   'DROP' 'SHARDING' 'KEY' 'GENERATOR' keyGeneratorName ('FROM' databaseName)?
@@ -19,6 +21,11 @@ keyGeneratorName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-key-generator.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-key-generator.en.md
index d1533b382b9..6251b6081e4 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-key-generator.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-key-generator.en.md
@@ -9,6 +9,8 @@ The `DROP SHARDING KEY GENERATOR` syntax is used to drop sharding key generator
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 DropShardingKeyGenerator ::=
   'DROP' 'SHARDING' 'KEY' 'GENERATOR' keyGeneratorName ('FROM' databaseName)?
@@ -19,6 +21,11 @@ keyGeneratorName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-table-reference-rule.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-table-reference-rule.cn.md
index 675a339f842..ad6ed7d5dac 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-table-reference-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-table-reference-rule.cn.md
@@ -9,6 +9,8 @@ weight = 15
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 DropShardingTableReferenceRule ::=
   'DROP' 'SHARDING' 'TABLE' 'REFERENCE' 'RULE'  ruleName (',' ruleName)*
@@ -16,6 +18,11 @@ DropShardingTableReferenceRule ::=
 ruleName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 示例
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-table-reference-rule.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-table-reference-rule.en.md
index acc4c1d6be3..63898610e81 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-table-reference-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-table-reference-rule.en.md
@@ -9,6 +9,8 @@ The `DROP SHARDING TABLE REFERENCE RULE` syntax is used to drop specified shardi
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 DropShardingTableReferenceRule ::=
   'DROP' 'SHARDING' 'TABLE' 'REFERENCE' 'RULE'  ruleName (',' ruleName)*
@@ -16,6 +18,11 @@ DropShardingTableReferenceRule ::=
 ruleName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Example
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-table-rule.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-table-rule.cn.md
index 7262e3206ff..bb1fe8fef8d 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-table-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-table-rule.cn.md
@@ -9,6 +9,8 @@ weight = 4
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 DropShardingTableRule ::=
   'DROP' 'SHARDING' 'TABLE' 'RULE'  shardingRuleName (',' shardingRuleName)*  ('FROM' databaseName)?
@@ -19,6 +21,11 @@ shardingRuleName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-table-rule.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-table-rule.en.md
index 0ed8516d5f8..29ab60b3fbe 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-table-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/drop-sharding-table-rule.en.md
@@ -9,6 +9,8 @@ The `DROP SHARDING TABLE RULE` syntax is used to drop sharding table rule for sp
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 DropShardingTableRule ::=
   'DROP' 'SHARDING' 'TABLE' 'RULE'  shardingRuleName (',' shardingRuleName)*  ('FROM' databaseName)?
@@ -19,6 +21,11 @@ shardingRuleName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/single-table/set-default-single-table-storage-unit.cn.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/single-table/set-default-single-table-storage-unit.cn.md
index 06460abe369..9a6d2d83255 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/single-table/set-default-single-table-storage-unit.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/single-table/set-default-single-table-storage-unit.cn.md
@@ -9,6 +9,8 @@ weight = 2
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 SetDefaultSingleTableStorageUnit ::=
   'SET' 'DEFAULT' 'SINGLE' 'TABLE' 'STORAGE' 'UNIT' singleTableDefinition
@@ -19,6 +21,12 @@ singleTableDefinition ::=
 storageUnitName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
+
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/single-table/set-default-single-table-storage-unit.en.md b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/single-table/set-default-single-table-storage-unit.en.md
index 0b0063d4346..958fc5c3356 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/rule-definition/single-table/set-default-single-table-storage-unit.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/rule-definition/single-table/set-default-single-table-storage-unit.en.md
@@ -9,6 +9,8 @@ The `SET DEFAULT SINGLE TABLE STORAGE UNIT` syntax is used to set default single
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 SetDefaultSingleTableStorageUnit ::=
   'SET' 'DEFAULT' 'SINGLE' 'TABLE' 'STORAGE' 'UNIT' singleTableDefinition
@@ -19,6 +21,11 @@ singleTableDefinition ::=
 storageUnitName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/storage-unit-definition/alter-storage-unit.cn.md b/docs/document/content/reference/distsql/syntax/rdl/storage-unit-definition/alter-storage-unit.cn.md
index 854d58e5051..e5961d6f00d 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/storage-unit-definition/alter-storage-unit.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/storage-unit-definition/alter-storage-unit.cn.md
@@ -9,6 +9,8 @@ weight = 3
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 AlterStorageUnit ::=
   'ALTER' 'STORAGE' 'UNIT' storageUnitDefinition (',' storageUnitDefinition)*
@@ -46,6 +48,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/storage-unit-definition/alter-storage-unit.en.md b/docs/document/content/reference/distsql/syntax/rdl/storage-unit-definition/alter-storage-unit.en.md
index ef1c1791a6a..3289e86e7f5 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/storage-unit-definition/alter-storage-unit.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/storage-unit-definition/alter-storage-unit.en.md
@@ -9,6 +9,8 @@ The `ALTER STORAGE UNIT` syntax is used to alter storage units for the currently
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 AlterStorageUnit ::=
   'ALTER' 'STORAGE' 'UNIT' storageUnitDefinition (',' storageUnitDefinition)*
@@ -46,6 +48,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/storage-unit-definition/register-storage-unit.cn.md b/docs/document/content/reference/distsql/syntax/rdl/storage-unit-definition/register-storage-unit.cn.md
index 2813906c054..c0d9570a036 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/storage-unit-definition/register-storage-unit.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/storage-unit-definition/register-storage-unit.cn.md
@@ -9,6 +9,8 @@ weight = 2
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 RegisterStorageUnit ::=
   'REGISTER' 'STORAGE' 'UNIT' ifNotExists? storageUnitDefinition (',' storageUnitDefinition)*
@@ -49,6 +51,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 特别说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/storage-unit-definition/register-storage-unit.en.md b/docs/document/content/reference/distsql/syntax/rdl/storage-unit-definition/register-storage-unit.en.md
index 534dd1b3eac..3cec72e8695 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/storage-unit-definition/register-storage-unit.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/storage-unit-definition/register-storage-unit.en.md
@@ -9,6 +9,8 @@ The `REGISTER STORAGE UNIT` syntax is used to register storage unit for the curr
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 RegisterStorageUnit ::=
   'REGISTER' 'STORAGE' 'UNIT' ifNotExists? storageUnitDefinition (',' storageUnitDefinition)*
@@ -49,6 +51,11 @@ key ::=
 value ::=
   literal
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/storage-unit-definition/unregister-storage-unit.cn.md b/docs/document/content/reference/distsql/syntax/rdl/storage-unit-definition/unregister-storage-unit.cn.md
index 356e97d39c9..d3714446532 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/storage-unit-definition/unregister-storage-unit.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/storage-unit-definition/unregister-storage-unit.cn.md
@@ -9,6 +9,8 @@ weight = 4
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 UnregisterStorageUnit ::=
   'UNREGISTER' 'STORAGE' 'UNIT' ('IF' 'EXISTS')? storageUnitName (',' storageUnitName)* ('IGNORE' 'SINGLE' 'TABLES')?
@@ -16,6 +18,11 @@ UnregisterStorageUnit ::=
 storageUnitName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rdl/storage-unit-definition/unregister-storage-unit.en.md b/docs/document/content/reference/distsql/syntax/rdl/storage-unit-definition/unregister-storage-unit.en.md
index 2eb8cc88464..d1f1cfbe868 100644
--- a/docs/document/content/reference/distsql/syntax/rdl/storage-unit-definition/unregister-storage-unit.en.md
+++ b/docs/document/content/reference/distsql/syntax/rdl/storage-unit-definition/unregister-storage-unit.en.md
@@ -9,6 +9,8 @@ The `UNREGISTER STORAGE UNIT` syntax is used to unregister storage unit from the
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 UnregisterStorageUnit ::=
   'UNREGISTER' 'STORAGE' 'UNIT' ('IF' 'EXISTS')? storageUnitName (',' storageUnitName)* ('IGNORE' 'SINGLE' 'TABLES')?
@@ -16,6 +18,11 @@ UnregisterStorageUnit ::=
 storageUnitName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/count-db-discovery-rule.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/count-db-discovery-rule.cn.md
index bcbe1d4f72b..15fbb80f59c 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/count-db-discovery-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/count-db-discovery-rule.cn.md
@@ -9,6 +9,8 @@ weight = 5
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 CountDBDiscoveryRule::=
   'COUNT' 'DB_DISCOVERY' 'RULE' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ CountDBDiscoveryRule::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/count-db-discovery-rule.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/count-db-discovery-rule.en.md
index ca4e39a80fe..8c2d7969811 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/count-db-discovery-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/count-db-discovery-rule.en.md
@@ -9,6 +9,8 @@ The `COUNT DB_DISCOVERY RULE` syntax is used to query the number of database dis
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 CountDBDiscoveryRule::=
   'COUNT' 'DB_DISCOVERY' 'RULE' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ CountDBDiscoveryRule::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/show-db-discovery-heartbeat.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/show-db-discovery-heartbeat.cn.md
index ee3cbf8927f..4a7f900a999 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/show-db-discovery-heartbeat.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/show-db-discovery-heartbeat.cn.md
@@ -9,13 +9,21 @@ weight = 4
 
 ### 语法
 
-```sql
+{{< tabs >}}
+{{% tab name="语法" %}}
+```
 ShowDatabaseDiscoveryHeartbeats::=
   'SHOW' 'DB_DISCOVERY' 'HEARTBEATS' ('FROM' databaseName)?
 
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
+ 
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/show-db-discovery-heartbeat.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/show-db-discovery-heartbeat.en.md
index 22e382a5e63..1074670e908 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/show-db-discovery-heartbeat.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/show-db-discovery-heartbeat.en.md
@@ -9,6 +9,8 @@ The `SHOW DB_DISCOVERY HEARTBEATS` syntax is used to query database discovery he
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowDatabaseDiscoveryType::=
   'SHOW' 'DB_DISCOVERY' 'HEARTBEATS' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ ShowDatabaseDiscoveryType::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/show-db-discovery-rule.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/show-db-discovery-rule.cn.md
index d7212a3af31..fd9556e0816 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/show-db-discovery-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/show-db-discovery-rule.cn.md
@@ -9,6 +9,8 @@ weight = 2
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowDatabaseDiscoveryRule::=
   'SHOW' 'DB_DISCOVERY' 'RULES' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ ShowDatabaseDiscoveryRule::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/show-db-discovery-rule.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/show-db-discovery-rule.en.md
index d3e8f296d1d..6c5fcf893cf 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/show-db-discovery-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/show-db-discovery-rule.en.md
@@ -9,6 +9,8 @@ The `SHOW DB_DISCOVERY RULES` syntax is used to query database discovery rules f
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowDatabaseDiscoveryRule::=
   'SHOW' 'DB_DISCOVERY' 'RULES' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ ShowDatabaseDiscoveryRule::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/show-db-discovery-type.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/show-db-discovery-type.cn.md
index 1c2f5f2307a..bae3c829b23 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/show-db-discovery-type.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/show-db-discovery-type.cn.md
@@ -9,6 +9,8 @@ weight = 3
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowDatabaseDiscoveryType::=
   'SHOW' 'DB_DISCOVERY' 'TYPES' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ ShowDatabaseDiscoveryType::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/show-db-discovery-type.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/show-db-discovery-type.en.md
index fa491150cad..e195f9168a0 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/show-db-discovery-type.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/db-discovery/show-db-discovery-type.en.md
@@ -9,6 +9,8 @@ The `SHOW DB_DISCOVERY TYPES` syntax is used to query database discovery types f
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowDatabaseDiscoveryType::=
   'SHOW' 'DB_DISCOVERY' 'TYPES' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ ShowDatabaseDiscoveryType::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/encrypt/count-encrypt-rule.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/encrypt/count-encrypt-rule.cn.md
index 69b196d72a0..ec7782d9be4 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/encrypt/count-encrypt-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/encrypt/count-encrypt-rule.cn.md
@@ -9,6 +9,8 @@ weight = 4
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 CountEncryptRule::=
   'COUNT' 'ENCRYPT' 'RULE' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ CountEncryptRule::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/encrypt/count-encrypt-rule.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/encrypt/count-encrypt-rule.en.md
index 8ce5cfd0933..949f31ec2b6 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/encrypt/count-encrypt-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/encrypt/count-encrypt-rule.en.md
@@ -9,6 +9,8 @@ The `COUNT ENCRYPT RULE` syntax is used to query the number of encrypt rules for
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 CountEncryptRule::=
   'COUNT' 'ENCRYPT' 'RULE' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ CountEncryptRule::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/encrypt/show-encrypt-rule.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/encrypt/show-encrypt-rule.cn.md
index f83ba40c3a9..37a2e6f95f6 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/encrypt/show-encrypt-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/encrypt/show-encrypt-rule.cn.md
@@ -9,6 +9,8 @@ weight = 2
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowEncryptRule::=
   'SHOW' 'ENCRYPT' 'RULES' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ ShowEncryptRule::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/encrypt/show-encrypt-rule.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/encrypt/show-encrypt-rule.en.md
index 67c0d854cfe..41fb066be73 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/encrypt/show-encrypt-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/encrypt/show-encrypt-rule.en.md
@@ -9,6 +9,8 @@ The `SHOW ENCRYPT RULES` syntax is used to query encrypt rules for specified dat
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowEncryptRule::=
   'SHOW' 'ENCRYPT' 'RULES' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ ShowEncryptRule::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/encrypt/show-encrypt-table-rule.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/encrypt/show-encrypt-table-rule.cn.md
index c973148e26a..9837a30c77c 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/encrypt/show-encrypt-table-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/encrypt/show-encrypt-table-rule.cn.md
@@ -9,6 +9,8 @@ weight = 3
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowEncryptTableRule::=
   'SHOW' 'ENCRYPT' 'TABLE' 'RULE' tabeName ('FROM' databaseName)?
@@ -19,6 +21,11 @@ tableName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/encrypt/show-encrypt-table-rule.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/encrypt/show-encrypt-table-rule.en.md
index 7b24ba60f32..7c1697cc6e9 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/encrypt/show-encrypt-table-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/encrypt/show-encrypt-table-rule.en.md
@@ -9,6 +9,8 @@ The `SHOW ENCRYPT RULE` syntax is used to query encrypt rules for specified tabl
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowEncryptTableRule::=
   'SHOW' 'ENCRYPT' 'TABLE' 'RULE' tabeName ('FROM' databaseName)?
@@ -19,6 +21,11 @@ tableName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/readwrite-splitting/count-readwrite-splitting-rule.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/readwrite-splitting/count-readwrite-splitting-rule.cn.md
index b3c1690460c..b15271d8c24 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/readwrite-splitting/count-readwrite-splitting-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/readwrite-splitting/count-readwrite-splitting-rule.cn.md
@@ -9,6 +9,8 @@ weight = 3
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 CountReadwriteSplittingRule::=
   'COUNT' 'READWRITE_SPLITTING' 'RULE' ('FROM' databaseName)?
@@ -16,6 +18,12 @@ CountReadwriteSplittingRule::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
+
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/readwrite-splitting/count-readwrite-splitting-rule.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/readwrite-splitting/count-readwrite-splitting-rule.en.md
index 488448102c7..56fba53d4b9 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/readwrite-splitting/count-readwrite-splitting-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/readwrite-splitting/count-readwrite-splitting-rule.en.md
@@ -9,6 +9,8 @@ The `COUNT READWRITE_SPLITTING RULE` syntax is used to query the number of readw
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 CountReadwriteSplittingRule::=
   'COUNT' 'READWRITE_SPLITTING' 'RULE' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ CountReadwriteSplittingRule::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/readwrite-splitting/show-readwrite-splitting-rule.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/readwrite-splitting/show-readwrite-splitting-rule.cn.md
index d77c01e60ae..95e5c0a58da 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/readwrite-splitting/show-readwrite-splitting-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/readwrite-splitting/show-readwrite-splitting-rule.cn.md
@@ -9,6 +9,8 @@ weight = 2
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowReadWriteSplittingRule::=
   'SHOW' 'READWRITE_SPLITTING' 'RULES' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ ShowReadWriteSplittingRule::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/readwrite-splitting/show-readwrite-splitting-rule.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/readwrite-splitting/show-readwrite-splitting-rule.en.md
index ddd94158bce..a055438ab6d 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/readwrite-splitting/show-readwrite-splitting-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/readwrite-splitting/show-readwrite-splitting-rule.en.md
@@ -9,6 +9,8 @@ The `SHOW READWRITE_SPLITTING RULES` syntax is used to query readwrite splitting
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowReadWriteSplittingRule::=
   'SHOW' 'READWRITE_SPLITTING' 'RULES' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ ShowReadWriteSplittingRule::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/count-shadow-rule.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/count-shadow-rule.cn.md
index 5e6d5354a0e..55d3bef048d 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/count-shadow-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/count-shadow-rule.cn.md
@@ -9,6 +9,8 @@ weight = 5
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 CountShadowRule::=
   'COUNT' 'SHADOW' 'RULE' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ CountShadowRule::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/count-shadow-rule.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/count-shadow-rule.en.md
index d89f6df6420..952b2f62b8a 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/count-shadow-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/count-shadow-rule.en.md
@@ -9,6 +9,8 @@ The `COUNT SHADOW RULE` syntax is used to query the number of shadow rules for s
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 CountShadowRule::=
   'COUNT' 'SHADOW' 'RULE' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ CountShadowRule::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/show-shadow-algorithm.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/show-shadow-algorithm.cn.md
index 4e790b5e1d1..cbc104ca8f0 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/show-shadow-algorithm.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/show-shadow-algorithm.cn.md
@@ -9,6 +9,8 @@ weight = 4
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowEncryptAlgorithm::=
   'SHOW' 'SHADOW' 'ALGORITHMS' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ ShowEncryptAlgorithm::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/show-shadow-algorithm.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/show-shadow-algorithm.en.md
index 74cc15e2966..329b598ce11 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/show-shadow-algorithm.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/show-shadow-algorithm.en.md
@@ -9,6 +9,8 @@ The `SHOW SHADOW ALGORITHM` syntax is used to query shadow algorithms for specif
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowEncryptAlgorithm::=
   'SHOW' 'SHADOW' 'ALGORITHMS' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ ShowEncryptAlgorithm::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/show-shadow-rule.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/show-shadow-rule.cn.md
index 91945a8aab4..3566a7bdad6 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/show-shadow-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/show-shadow-rule.cn.md
@@ -9,6 +9,8 @@ weight = 2
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowEncryptRule::=
   'SHOW' 'SHADOW' ('RULES' | 'RULE' shadowRuleName) ('FROM' databaseName)?
@@ -19,6 +21,11 @@ shadowRuleName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/show-shadow-rule.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/show-shadow-rule.en.md
index f3d470e7d49..8e0da5a9c16 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/show-shadow-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/show-shadow-rule.en.md
@@ -9,6 +9,8 @@ The `SHOW SHADOW RULE` syntax is used to query shadow rules for specified databa
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowEncryptRule::=
   'SHOW' 'SHADOW' ('RULES' | 'RULE' shadowRuleName) ('FROM' databaseName)?
@@ -19,6 +21,11 @@ shadowRuleName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/show-shadow-table-rule.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/show-shadow-table-rule.cn.md
index cb5fd829dde..20a5075c9a5 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/show-shadow-table-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/show-shadow-table-rule.cn.md
@@ -9,6 +9,8 @@ weight = 3
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowEncryptRule::=
   'SHOW' 'SHADOW' 'TABLE' 'RULES' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ ShowEncryptRule::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/show-shadow-table-rule.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/show-shadow-table-rule.en.md
index eab1601a2f2..ee8d03d812b 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/show-shadow-table-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/shadow/show-shadow-table-rule.en.md
@@ -9,6 +9,8 @@ The `SHOW SHADOW TABLE RULE` syntax is used to query shadow table rules for spec
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowEncryptRule::=
   'SHOW' 'SHADOW' 'TABLE' 'RULES' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ ShowEncryptRule::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/count-sharding-rule.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/count-sharding-rule.cn.md
index 4c3f1d7c18c..d0e964a692d 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/count-sharding-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/count-sharding-rule.cn.md
@@ -9,6 +9,8 @@ weight = 16
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 CountShardingRule::=
   'COUNT' 'SHARDING' 'RULE' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ CountShardingRule::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/count-sharding-rule.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/count-sharding-rule.en.md
index 735687cba14..5c35ddb7f93 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/count-sharding-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/count-sharding-rule.en.md
@@ -9,6 +9,8 @@ The `COUNT SHARDING RULE` syntax is used to query the number of sharding rules f
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 CountShardingRule::=
   'COUNT' 'SHARDING' 'RULE' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ CountShardingRule::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-broadcast-table-rule.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-broadcast-table-rule.cn.md
index 024447a369d..1cf79d52be6 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-broadcast-table-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-broadcast-table-rule.cn.md
@@ -9,6 +9,8 @@ weight = 15
 
 ### 语法定义
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowBroadcastTableRule ::=
   'SHOW' 'BROADCAST' 'TABLE' 'RULES' ('FROM' databaseName)? 
@@ -16,6 +18,11 @@ ShowBroadcastTableRule ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-broadcast-table-rule.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-broadcast-table-rule.en.md
index 8c9bd1b2ed8..14f4158e5ca 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-broadcast-table-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-broadcast-table-rule.en.md
@@ -9,6 +9,8 @@ The `SHOW BROADCAST TABLE RULE` syntax is used to broadcast tables for specified
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowBroadcastTableRule ::=
   'SHOW' 'BROADCAST' 'TABLE' 'RULES' ('FROM' databaseName)? 
@@ -16,6 +18,11 @@ ShowBroadcastTableRule ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-default-sharding-strategy.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-default-sharding-strategy.cn.md
index 20c6f4fa219..d164238cd44 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-default-sharding-strategy.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-default-sharding-strategy.cn.md
@@ -9,6 +9,8 @@ weight = 5
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowDefaultShardingStrategy::=
   'SHOW' 'DEFAULT' 'SHARDING' 'STRATEGY' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ ShowDefaultShardingStrategy::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-default-sharding-strategy.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-default-sharding-strategy.en.md
index c7273291262..eaa3a84b09c 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-default-sharding-strategy.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-default-sharding-strategy.en.md
@@ -9,6 +9,8 @@ The `SHOW DEFAULT SHARDING STRATEGY` syntax is used to query default sharding st
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowDefaultShardingStrategy::=
   'SHOW' 'DEFAULT' 'SHARDING' 'STRATEGY' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ ShowDefaultShardingStrategy::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-algorithms.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-algorithms.cn.md
index 665bfb0f4d1..59641be990f 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-algorithms.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-algorithms.cn.md
@@ -9,6 +9,8 @@ weight = 3
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowShardingAlgorithms::=
   'SHOW' 'SHARDING' 'ALGORITHMS' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ ShowShardingAlgorithms::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-algorithms.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-algorithms.en.md
index 9392c0218f3..f2cf3beb5aa 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-algorithms.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-algorithms.en.md
@@ -9,6 +9,8 @@ The `SHOW SHARDING ALGORITHMS` syntax is used to query the sharding algorithms i
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowShardingAlgorithms::=
   'SHOW' 'SHARDING' 'ALGORITHMS' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ ShowShardingAlgorithms::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-auditors.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-auditors.cn.md
index 4ddf461450b..fed4195cd63 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-auditors.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-auditors.cn.md
@@ -9,6 +9,8 @@ weight = 8
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowShardingAuditors::=
   'SHOW' 'SHARDING' 'AUDITOR' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ ShowShardingAuditors::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-auditors.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-auditors.en.md
index b31cd1d66b5..11a29f85902 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-auditors.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-auditors.en.md
@@ -10,6 +10,8 @@ weight = 8
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowShardingAuditors::=
   'SHOW' 'SHARDING' 'AUDITOR' ('FROM' databaseName)?
@@ -17,6 +19,11 @@ ShowShardingAuditors::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-key-generator.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-key-generator.cn.md
index a9abea59dfd..44043ac6571 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-key-generator.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-key-generator.cn.md
@@ -9,6 +9,8 @@ weight = 6
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowShardingKeyGenerators::=
   'SHOW' 'SHARDING' 'KEY' 'GENERATOR' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ ShowShardingKeyGenerators::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-key-generator.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-key-generator.en.md
index e9933bf0520..d9e73ff40bd 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-key-generator.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-key-generator.en.md
@@ -9,6 +9,8 @@ weight = 6
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowShardingKeyGenerators::=
   'SHOW' 'SHARDING' 'KEY' 'GENERATOR' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ ShowShardingKeyGenerators::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-nodes.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-nodes.cn.md
index 8702099f091..ea60051b99b 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-nodes.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-nodes.cn.md
@@ -9,6 +9,8 @@ weight = 10
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowShardingTableNode::=
   'SHOW' 'SHARDING' 'TABLE' 'NODE' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ ShowShardingTableNode::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-nodes.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-nodes.en.md
index 9ad8e868b24..f3145aeb0f1 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-nodes.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-nodes.en.md
@@ -10,6 +10,8 @@ weight = 10
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowShardingTableNode::=
   'SHOW' 'SHARDING' 'TABLE' 'NODE' ('FROM' databaseName)?
@@ -17,6 +19,11 @@ ShowShardingTableNode::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-reference-rules.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-reference-rules.cn.md
index 2393f2f1c79..4744ddc622f 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-reference-rules.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-reference-rules.cn.md
@@ -10,6 +10,8 @@ weight = 14
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowShardingBindingTableRules::=
   'SHOW' 'SHARDING' 'TABLE' 'REFERENCE' 'RULES' ('FROM' databaseName)?
@@ -17,6 +19,11 @@ ShowShardingBindingTableRules::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-reference-rules.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-reference-rules.en.md
index a2dbda0ea2a..992ff2f5f2e 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-reference-rules.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-reference-rules.en.md
@@ -9,6 +9,8 @@ weight = 14
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowShardingBindingTableRules::=
   'SHOW' 'SHARDING' 'TABLE' 'REFERENCE' 'RULES' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ ShowShardingBindingTableRules::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rule.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rule.cn.md
index 7ee0b071370..9a2fc19022c 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rule.cn.md
@@ -9,7 +9,13 @@ weight = 2
 
 ### 语法
 
+<<<<<<< HEAD
+{{< tabs >}}
+{{% tab name="语法" %}}
+```
+=======
 ```sql
+>>>>>>> 731b174a28364b0ec70755800459edb332b68209
 ShowShardingTableRule ::=
   'SHOW' 'SHARDING' 'TABLE' ('RULE' tableName | 'RULES') ('FROM' databaseName)?
 
@@ -19,6 +25,11 @@ tableName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rule.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rule.en.md
index 6eddf80eb08..d69ebd7cc2a 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rule.en.md
@@ -9,6 +9,8 @@ The `SHOW SHARDING TABLE RULE` syntax is used to query the sharding table rule i
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowShardingTableRule ::=
   'SHOW' 'SHARDING' 'TABLE' ('RULE' tableName | 'RULES') ('FROM' databaseName)?
@@ -19,6 +21,11 @@ tableName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rules-used algorithm.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rules-used algorithm.cn.md
index 8ad4e4d2b49..b821f2c434e 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rules-used algorithm.cn.md	
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rules-used algorithm.cn.md	
@@ -9,6 +9,8 @@ weight = 11
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowShardingTableRulesUsedAlgorithm::=
   'SHOW' 'SHARDING' 'TABLE' 'RULES' 'USED' 'ALGORITHM' algorithmName ('FROM' databaseName)?
@@ -19,6 +21,12 @@ algorithmName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
+
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rules-used algorithm.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rules-used algorithm.en.md
index 832fc61ded4..8b85653e45a 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rules-used algorithm.en.md	
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rules-used algorithm.en.md	
@@ -10,6 +10,8 @@ weight = 11
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowShardingTableRulesUsedAlgorithm::=
   'SHOW' 'SHARDING' 'TABLE' 'RULES' 'USED' 'ALGORITHM' algorithmName ('FROM' databaseName)?
@@ -20,6 +22,12 @@ algorithmName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
+
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rules-used-auditor.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rules-used-auditor.cn.md
index 21f864788fa..48d6a2f77a7 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rules-used-auditor.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rules-used-auditor.cn.md
@@ -9,6 +9,8 @@ weight = 13
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowShardingTableRulesUsedAuditor::=
   'SHOW' 'SHARDING' 'TABLE' 'RULES' 'USED' 'AUDITOR' AuditortorName ('FROM' databaseName)?
@@ -19,6 +21,11 @@ AuditortorName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rules-used-auditor.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rules-used-auditor.en.md
index 422b85fb46e..0469ad4e329 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rules-used-auditor.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rules-used-auditor.en.md
@@ -10,6 +10,8 @@ weight = 13
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowShardingTableRulesUsedAuditor::=
   'SHOW' 'SHARDING' 'TABLE' 'RULES' 'USED' 'AUDITOR' AuditortorName ('FROM' databaseName)?
@@ -20,6 +22,11 @@ AuditortorName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rules-used-key-generator.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rules-used-key-generator.cn.md
index d30abd4af2b..1c336fcc479 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rules-used-key-generator.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rules-used-key-generator.cn.md
@@ -9,6 +9,8 @@ weight = 12
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowShardingTableRulesUsedKeyGenerator::=
   'SHOW' 'SHARDING' 'TABLE' 'RULES' 'USED' 'KEY' 'GENERATOR' keyGeneratorName ('FROM' databaseName)?
@@ -19,6 +21,11 @@ keyGeneratorName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rules-used-key-generator.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rules-used-key-generator.en.md
index 6108b4c8eed..83629c76264 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rules-used-key-generator.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-sharding-table-rules-used-key-generator.en.md
@@ -10,6 +10,8 @@ weight = 12
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowShardingTableRulesUsedKeyGenerator::=
   'SHOW' 'SHARDING' 'TABLE' 'RULES' 'USED' 'KEY' 'GENERATOR' keyGeneratorName ('FROM' databaseName)?
@@ -20,6 +22,11 @@ keyGeneratorName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-unused-sharding-algorithms.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-unused-sharding-algorithms.cn.md
index 62cde37b12d..3feb6a6652f 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-unused-sharding-algorithms.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-unused-sharding-algorithms.cn.md
@@ -9,6 +9,8 @@ weight = 4
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowShardingAlgorithms::=
   'SHOW' 'UNUSED' 'SHARDING' 'ALGORITHMS' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ ShowShardingAlgorithms::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-unused-sharding-algorithms.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-unused-sharding-algorithms.en.md
index 5dc76822923..3ef96dcd699 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-unused-sharding-algorithms.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-unused-sharding-algorithms.en.md
@@ -9,6 +9,8 @@ The `SHOW UNUSED SHARDING ALGORITHMS` syntax is used to query the unused shardin
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowShardingAlgorithms::=
   'SHOW' 'UNUSED' 'SHARDING' 'ALGORITHMS' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ ShowShardingAlgorithms::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-unused-sharding-auditors.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-unused-sharding-auditors.cn.md
index e9974a66479..cf5c69e80a6 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-unused-sharding-auditors.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-unused-sharding-auditors.cn.md
@@ -9,6 +9,8 @@ weight = 9
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowUnusedShardingAuditors::=
   'SHOW' 'SHARDING' 'AUDITOR' ('FROM' databaseName)?
@@ -16,6 +18,12 @@ ShowUnusedShardingAuditors::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
+
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-unused-sharding-auditors.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-unused-sharding-auditors.en.md
index 41a8028d1df..1fe3f1bff3d 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-unused-sharding-auditors.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-unused-sharding-auditors.en.md
@@ -10,6 +10,8 @@ weight = 9
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowUnusedShardingAuditors::=
   'SHOW' 'SHARDING' 'AUDITOR' ('FROM' databaseName)?
@@ -17,6 +19,12 @@ ShowUnusedShardingAuditors::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
+
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-unused-sharding-key-generators.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-unused-sharding-key-generators.cn.md
index abd7def8529..4cfa4edad3d 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-unused-sharding-key-generators.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-unused-sharding-key-generators.cn.md
@@ -9,6 +9,8 @@ weight = 7
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowUnusedShardingKeyGenerators::=
   'SHOW' 'UNUSED' 'SHARDING' 'KEY' 'GENERATOR' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ ShowUnusedShardingKeyGenerators::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-unused-sharding-key-generators.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-unused-sharding-key-generators.en.md
index 6afa9d06545..c5a45880db2 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-unused-sharding-key-generators.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/sharding/show-unused-sharding-key-generators.en.md
@@ -10,6 +10,8 @@ weight = 7
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowShardingKeyGenerators::=
   'SHOW' 'SHARDING' 'KEY' 'GENERATOR' ('FROM' databaseName)?
@@ -17,6 +19,11 @@ ShowShardingKeyGenerators::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/single-table/count-single-table-rule.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/single-table/count-single-table-rule.cn.md
index 37e8abb1d8f..94f4fe00257 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/single-table/count-single-table-rule.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/single-table/count-single-table-rule.cn.md
@@ -9,6 +9,8 @@ weight = 4
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 CountSingleTableRule::=
   'COUNT' 'SINGLE_TABLE' 'RULE' ('FROM' databaseName)?
@@ -16,6 +18,12 @@ CountSingleTableRule::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
+
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/single-table/count-single-table-rule.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/single-table/count-single-table-rule.en.md
index fa58ec37b97..4ff82e32b35 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/single-table/count-single-table-rule.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/single-table/count-single-table-rule.en.md
@@ -9,6 +9,8 @@ The `COUNT SINGLE_TABLE RULE` syntax is used to query number of single table rul
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 CountSingleTableRule::=
   'COUNT' 'SINGLE_TABLE' 'RULE' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ CountSingleTableRule::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/single-table/show-deafult-single-table-storage-unit.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/single-table/show-deafult-single-table-storage-unit.cn.md
index ac015a1fdaa..de97528decb 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/single-table/show-deafult-single-table-storage-unit.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/single-table/show-deafult-single-table-storage-unit.cn.md
@@ -9,6 +9,8 @@ weight = 2
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowDefaultSingleTableStorageUnit::=
   'SHOW' 'DEFAULT' 'SINGLE' 'TABLE' 'STORAGE' 'UNIT' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ ShowDefaultSingleTableStorageUnit::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/single-table/show-deafult-single-table-storage-unit.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/single-table/show-deafult-single-table-storage-unit.en.md
index 84d965bea5f..48a4f5872cc 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/single-table/show-deafult-single-table-storage-unit.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/single-table/show-deafult-single-table-storage-unit.en.md
@@ -9,6 +9,8 @@ The `SHOW DEFAULT SINGLE TABLE STORAGE UNIT` syntax is used to query storage uni
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowDefaultSingleTableStorageUnit::=
   'SHOW' 'DEFAULT' 'SINGLE' 'TABLE' 'STORAGE' 'UNIT' ('FROM' databaseName)?
@@ -16,6 +18,11 @@ ShowDefaultSingleTableStorageUnit::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/single-table/show-single-table.cn.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/single-table/show-single-table.cn.md
index 35154359eca..a7a2fedf2ad 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/single-table/show-single-table.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/single-table/show-single-table.cn.md
@@ -9,6 +9,8 @@ weight = 3
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowSingleTable::=
   'SHOW' 'SINGLE' ('TABLES' ('LIKE' likeLiteral)?|'TABLE' tableName) ('FROM' databaseName)?
@@ -19,6 +21,11 @@ tableName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 补充说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/rule-query/single-table/show-single-table.en.md b/docs/document/content/reference/distsql/syntax/rql/rule-query/single-table/show-single-table.en.md
index d1c4b406ba9..d18cf6447df 100644
--- a/docs/document/content/reference/distsql/syntax/rql/rule-query/single-table/show-single-table.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/rule-query/single-table/show-single-table.en.md
@@ -9,6 +9,8 @@ The `SHOW SINGLE TABLE` syntax is used to query single tables for specified data
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowSingleTable::=
   'SHOW' 'SINGLE' ('TABLES' ('LIKES' likeLiteral)?|'TABLE' tableName) ('FROM' databaseName)?
@@ -19,6 +21,11 @@ tableName ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/storage-unit-query/show-storage-units.cn.md b/docs/document/content/reference/distsql/syntax/rql/storage-unit-query/show-storage-units.cn.md
index f969f3c9400..a1598aea09a 100644
--- a/docs/document/content/reference/distsql/syntax/rql/storage-unit-query/show-storage-units.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rql/storage-unit-query/show-storage-units.cn.md
@@ -9,6 +9,8 @@ weight = 2
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ShowStorageUnit ::=
   'SHOW' 'STORAGE' 'UNITS' ('WHERE' 'USAGE_COUNT' '=' usageCount)? ('FROM' databaseName)?
@@ -19,6 +21,11 @@ usageCount ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 特别说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rql/storage-unit-query/show-storage-units.en.md b/docs/document/content/reference/distsql/syntax/rql/storage-unit-query/show-storage-units.en.md
index 04fe00f4da9..af4ae135722 100644
--- a/docs/document/content/reference/distsql/syntax/rql/storage-unit-query/show-storage-units.en.md
+++ b/docs/document/content/reference/distsql/syntax/rql/storage-unit-query/show-storage-units.en.md
@@ -9,6 +9,8 @@ The `SHOW STORAGE UNITS` syntax is used to query the storage units that have bee
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ShowStorageUnit ::=
   'SHOW' 'STORAGE' 'UNITS' ('WHERE' 'USAGE_COUNT' '=' usageCount)? ('FROM' databaseName)?
@@ -19,6 +21,11 @@ usageCount ::=
 databaseName ::=
   identifier
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Supplement
 
diff --git a/docs/document/content/reference/distsql/syntax/rul/format-sql.cn.md b/docs/document/content/reference/distsql/syntax/rul/format-sql.cn.md
index 2825cea514b..08814e9bd3c 100644
--- a/docs/document/content/reference/distsql/syntax/rul/format-sql.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rul/format-sql.cn.md
@@ -9,10 +9,17 @@ weight = 2
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 FormatSql ::=
   'FORMAT' sqlStatement 
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 返回值说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rul/format-sql.en.md b/docs/document/content/reference/distsql/syntax/rul/format-sql.en.md
index f6f8879fbc0..6c4c0fc0872 100644
--- a/docs/document/content/reference/distsql/syntax/rul/format-sql.en.md
+++ b/docs/document/content/reference/distsql/syntax/rul/format-sql.en.md
@@ -9,10 +9,17 @@ The `FORMAT SQL` syntax is used to parse `SQL` and output formated `SQL` stateme
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ParseSql ::=
   'FORMAT' sqlStatement  
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Return Value Description
 
diff --git a/docs/document/content/reference/distsql/syntax/rul/parse-sql.cn.md b/docs/document/content/reference/distsql/syntax/rul/parse-sql.cn.md
index ed8f757676c..8c1b7ef9c57 100644
--- a/docs/document/content/reference/distsql/syntax/rul/parse-sql.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rul/parse-sql.cn.md
@@ -9,10 +9,17 @@ weight = 1
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 ParseSql ::=
   'PARSE' sqlStatement 
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 返回值说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rul/parse-sql.en.md b/docs/document/content/reference/distsql/syntax/rul/parse-sql.en.md
index 7a11d317236..9c3064c106d 100644
--- a/docs/document/content/reference/distsql/syntax/rul/parse-sql.en.md
+++ b/docs/document/content/reference/distsql/syntax/rul/parse-sql.en.md
@@ -9,10 +9,17 @@ The `PARSE SQL` syntax is used to parse `SQL` and output abstract syntax tree.
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 ParseSql ::=
   'PARSE' sqlStatement  
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Return Value Description
 
diff --git a/docs/document/content/reference/distsql/syntax/rul/preview-sql.cn.md b/docs/document/content/reference/distsql/syntax/rul/preview-sql.cn.md
index 3ed64d2f581..bb049557072 100644
--- a/docs/document/content/reference/distsql/syntax/rul/preview-sql.cn.md
+++ b/docs/document/content/reference/distsql/syntax/rul/preview-sql.cn.md
@@ -9,10 +9,17 @@ weight = 3
 
 ### 语法
 
+{{< tabs >}}
+{{% tab name="语法" %}}
 ```sql
 PreviewSql ::=
   'PREVIEW' sqlStatement 
 ```
+{{% /tab %}}
+{{% tab name="铁路图" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### 返回值说明
 
diff --git a/docs/document/content/reference/distsql/syntax/rul/preview-sql.en.md b/docs/document/content/reference/distsql/syntax/rul/preview-sql.en.md
index aa012864b25..5292c2d3fd2 100644
--- a/docs/document/content/reference/distsql/syntax/rul/preview-sql.en.md
+++ b/docs/document/content/reference/distsql/syntax/rul/preview-sql.en.md
@@ -9,10 +9,17 @@ The `PREVIEW SQL` syntax is used to preview `SQL` execution plan.
 
 ### Syntax
 
+{{< tabs >}}
+{{% tab name="Grammar" %}}
 ```sql
 PreviewSql ::=
   'PREVIEW' sqlStatement  
 ```
+{{% /tab %}}
+{{% tab name="Railroad diagram" %}}
+<iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe>
+{{% /tab %}}
+{{< /tabs >}}
 
 ### Return Value Description
 
diff --git a/docs/document/static/css/theme-white.css b/docs/document/static/css/theme-white.css
index b0ecf6e0f97..7c39a45f7c3 100644
--- a/docs/document/static/css/theme-white.css
+++ b/docs/document/static/css/theme-white.css
@@ -108,6 +108,14 @@ header .select-style select{
     color:#6B6D7A;
 }
 
+#sidebar ul.topics li.parent ul, #sidebar ul.topics > li.active ul{
+    display: none;
+}
+
+#sidebar ul.topics li.parent>ul, #sidebar ul.topics > li.active>ul{
+    display: block;
+}
+
 #sidebar a{
     color:#000;
 }
@@ -322,6 +330,31 @@ a:hover{
 h1, h2, h3, h4, h5, h6{font-weight: bold;font-family:'roboto,sans-serif' ;}
 h1{
     text-align: left;
+    font-size: 2.0rem;
+}
+  
+h2 {
+    font-size: 1.5rem;
+}
+
+h3 {
+    font-size: 1.5rem;
+}
+
+h4 {
+    font-size: 1.25rem;
+}
+
+h5 {
+    font-size: 1rem;
+}
+
+h6 {
+    font-size: 0.5rem;
+}
+
+#chapter p{
+    font-size:inherit;
 }
 
 h2{
diff --git a/docs/document/themes/hugo-theme-learn/CHANGELOG.md b/docs/document/themes/hugo-theme-learn/CHANGELOG.md
new file mode 100644
index 00000000000..b5f5eac9f82
--- /dev/null
+++ b/docs/document/themes/hugo-theme-learn/CHANGELOG.md
@@ -0,0 +1,226 @@
+# Changelog
+
+## v2.5.0 (01/06/2020)
+
+#### New features
+
+- [**feature**] Allow custom css files to be loaded by configuration [#376](https://github.com/matcornic/hugo-theme-learn/pull/376)
+- [**feature**] Added flag to turn off image featherlight [#333](https://github.com/matcornic/hugo-theme-learn/pull/333)
+
+#### Bug Fixes
+
+- [**bug**] fix null pointer when no params on image url [#383](https://github.com/matcornic/hugo-theme-learn/pull/383)
+- [**bug**] can't give argument to non-function not .Params.hidden [#403](https://github.com/matcornic/hugo-theme-learn/pull/403)
+- [**bug**] Fix .File.UniqueID on zero object warning [#372](https://github.com/matcornic/hugo-theme-learn/pull/372)
+- [**bug**] fix select option color in Chrome [#345](https://github.com/matcornic/hugo-theme-learn/pull/345)
+- [**bug**] remove unneeded spaces from HTML [#320](https://github.com/matcornic/hugo-theme-learn/pull/320)
+- [**bug**] Avoid displaying hidden sections in menu [#354](https://github.com/matcornic/hugo-theme-learn/pull/354)
+
+#### Enhancements
+
+- [**enhancement**] Updated theme installation documentation link. [#390](https://github.com/matcornic/hugo-theme-learn/pull/390)
+- [**enhancement**] [ImgBot] Optimize images [#366](https://github.com/matcornic/hugo-theme-learn/pull/366)
+- [**enhancement**] fix extra spaces in the description [#339](https://github.com/matcornic/hugo-theme-learn/pull/339)
+- [**enhancement**] change to minified 'autocomplete.js' for improved performance [#321](https://github.com/matcornic/hugo-theme-learn/pull/321)
+
+#### Internationalisation
+
+- [**i18n**] Fix: typos [#343](https://github.com/matcornic/hugo-theme-learn/pull/343)
+- [**i18n**] Fix: typo [#342](https://github.com/matcornic/hugo-theme-learn/pull/342)
+- [**i18n**] Incorrect english in notice documentation [#336](https://github.com/matcornic/hugo-theme-learn/pull/336)
+- [**i18n**] Add Chinese language for this theme [#349](https://github.com/matcornic/hugo-theme-learn/pull/349)
+- [**i18n**] Add jp and zh cn [#335](https://github.com/matcornic/hugo-theme-learn/pull/335)
+- [**i18n**] Added Russian translation [#332](https://github.com/matcornic/hugo-theme-learn/pull/332)
+
+#### Theme Meta
+
+- [**meta**] Fix various linting warnings [#405](https://github.com/matcornic/hugo-theme-learn/pull/405)
+- [**meta**] Netlify build on 0.66.0 [#377](https://github.com/matcornic/hugo-theme-learn/pull/377)
+- [**meta**] add inteliver documentation showcase [#331](https://github.com/matcornic/hugo-theme-learn/pull/331)
+
+---
+
+## v2.4.0 (04/09/2019)
+
+#### Bug Fixes
+
+- [**bug**] correct GitHub capitalization [#293](https://github.com/matcornic/hugo-theme-learn/pull/293)
+- [**bug**] fix 'locate' typo [#285](https://github.com/matcornic/hugo-theme-learn/pull/285)
+- [**bug**] Remove reference to the unused horsey CSS [#284](https://github.com/matcornic/hugo-theme-learn/pull/284)
+- [**bug**] Fix invalid HTML in 404 template. [#271](https://github.com/matcornic/hugo-theme-learn/pull/271)
+
+#### Enhancements
+
+- [**enhancement**] Delete html5shiv-printshiv.min.js [#319](https://github.com/matcornic/hugo-theme-learn/pull/319)
+- [**enhancement**] remove html5shiv [#315](https://github.com/matcornic/hugo-theme-learn/pull/315)
+- [**enhancement**] Fix deprecated .Hugo, .UniqueID and .URL references [#303](https://github.com/matcornic/hugo-theme-learn/pull/303)
+- [**enhancement**] Fix type lines 364 and 369 [#304](https://github.com/matcornic/hugo-theme-learn/pull/304)
+- [**enhancement**] remove unneeded type="text/css" [#298](https://github.com/matcornic/hugo-theme-learn/pull/298)
+- [**enhancement**] remove unneeded type="text/css" [#297](https://github.com/matcornic/hugo-theme-learn/pull/297)
+- [**enhancement**] HTTPS links in footer [#295](https://github.com/matcornic/hugo-theme-learn/pull/295)
+- [**enhancement**] remove unneeded  type="text/css" [#292](https://github.com/matcornic/hugo-theme-learn/pull/292)
+- [**enhancement**] Make shortcodes & example site compatible with Hugo v0.55 [#281](https://github.com/matcornic/hugo-theme-learn/pull/281)
+
+#### Internationalisation
+
+- [**i18n**] Added German and Arabic translation [#312](https://github.com/matcornic/hugo-theme-learn/pull/312)
+
+#### Theme Meta
+
+- [**meta**] Added Tshark.dev as example site [#318](https://github.com/matcornic/hugo-theme-learn/pull/318)
+
+---
+
+## v2.3.0 (16/04/2019)
+
+#### New features
+
+- [**feature**] Added support for tags [#196](https://github.com/matcornic/hugo-theme-learn/pull/196)
+
+#### Bug Fixes
+
+- [**bug**] Fix issue where "children" shortcode only shows top level. [#252](https://github.com/matcornic/hugo-theme-learn/pull/252)
+- [**bug**] Fix translation when using a custom baseURL [#234](https://github.com/matcornic/hugo-theme-learn/pull/234)
+- [**bug**] Preventing left/right arrow key navigation in textareas [#241](https://github.com/matcornic/hugo-theme-learn/pull/241)
+- [**bug**] Update menu.html to include the check icon [#229](https://github.com/matcornic/hugo-theme-learn/pull/229)
+
+#### Enhancements
+
+- [**enhancement**] Render the ```mermaid blocks into graphs [#226](https://github.com/matcornic/hugo-theme-learn/pull/226)
+- [**enhancement**] Remove oudated versions of jquery & modernizr libraries [#259](https://github.com/matcornic/hugo-theme-learn/pull/259)
+- [**enhancement**] Various Updates [#237](https://github.com/matcornic/hugo-theme-learn/pull/237)
+- [**enhancement**] Use style instead of width and height in logo [#250](https://github.com/matcornic/hugo-theme-learn/pull/250)
+- [**enhancement**] [ImgBot] Optimize images [#222](https://github.com/matcornic/hugo-theme-learn/pull/222)
+- [**enhancement**] remove duplicate icon and fix incorrect favicon type [#227](https://github.com/matcornic/hugo-theme-learn/pull/227)
+- [**enhancement**] HTTPS links in exampleSite menu-footer [#223](https://github.com/matcornic/hugo-theme-learn/pull/223)
+
+#### Internationalisation
+
+- [**i18n**] Dutch i18n [#239](https://github.com/matcornic/hugo-theme-learn/pull/239)
+
+#### Theme Meta
+
+- [**meta**] Add .editorconfig [#224](https://github.com/matcornic/hugo-theme-learn/pull/224)
+
+---
+
+## v2.2.0 (28/01/2019)
+
+#### New features
+
+- [**feature**] Sitewide param to enable or disable next/previous page buttons and breadcrumbs [#184](https://github.com/matcornic/hugo-theme-learn/pull/184)
+
+#### Bug Fixes
+
+- [**bug**] Fix baseurl used by search to load json data [#177](https://github.com/matcornic/hugo-theme-learn/pull/177)
+- [**bug**] Updated CSS link to fontawesome library [#186](https://github.com/matcornic/hugo-theme-learn/pull/186)
+- [**bug**] Close / Cancel search icon not showing in input box [#215](https://github.com/matcornic/hugo-theme-learn/pull/215)
+- [**bug**] Prevent left and right keydown events while in input fields [#219](https://github.com/matcornic/hugo-theme-learn/pull/219)
+- [**bug**] xss fix [#182](https://github.com/matcornic/hugo-theme-learn/pull/182)
+- [**bug**] Fix error in blockquote documentation fixes #165 [#190](https://github.com/matcornic/hugo-theme-learn/pull/190)
+
+#### Enhancements
+
+- [**enhancement**] Update mermaid.js to a499296 [#199](https://github.com/matcornic/hugo-theme-learn/pull/199)
+- [**enhancement**] Update Font Awesome to 5.0.6 [#129](https://github.com/matcornic/hugo-theme-learn/pull/129)
+- [**enhancement**] Update 404.html alttext [#161](https://github.com/matcornic/hugo-theme-learn/pull/161)
+- [**enhancement**] Remove CSS source map metadata [#167](https://github.com/matcornic/hugo-theme-learn/pull/167)
+- [**enhancement**] Load github images in examplesite via https instead of http [#180](https://github.com/matcornic/hugo-theme-learn/pull/180)
+- [**enhancement**] Load main site logo via BaseUrl [#185](https://github.com/matcornic/hugo-theme-learn/pull/185)
+- [**enhancement**] HTTPS links in examplesite sidebar [#200](https://github.com/matcornic/hugo-theme-learn/pull/200)
+- [**enhancement**] Use correct input type for search [#205](https://github.com/matcornic/hugo-theme-learn/pull/205)
+- [**enhancement**] HTTPS link to learn.getgrav.org [#207](https://github.com/matcornic/hugo-theme-learn/pull/207)
+- [**enhancement**] Update html5shiv-printshiv.min.js [#208](https://github.com/matcornic/hugo-theme-learn/pull/208)
+- [**enhancement**] Remove whitespace from clippy.svg [#211](https://github.com/matcornic/hugo-theme-learn/pull/211)
+- [**enhancement**] Upgrade fontawesome to 5.6.3 [#218](https://github.com/matcornic/hugo-theme-learn/pull/218)
+- [**enhancement**] fix clickable nodes style in mermaid [#169](https://github.com/matcornic/hugo-theme-learn/pull/169)
+
+#### Internationalisation
+
+- [**i18n**] French language correction [#157](https://github.com/matcornic/hugo-theme-learn/pull/157)
+- [**i18n**] French language correction [#158](https://github.com/matcornic/hugo-theme-learn/pull/158)
+- [**i18n**] Add indonesian translation [#159](https://github.com/matcornic/hugo-theme-learn/pull/159)
+- [**i18n**] Add Turkish i18n config file [#175](https://github.com/matcornic/hugo-theme-learn/pull/175)
+
+#### Theme Meta
+
+- [**meta**] Fix wercker builds [#178](https://github.com/matcornic/hugo-theme-learn/pull/178)
+- [**meta**] Declare netlify buildsteps in repo file rather than in webui [#217](https://github.com/matcornic/hugo-theme-learn/pull/217)
+
+---
+
+## v2.1.0 (10/08/2018)
+
+#### Internationalisation
+
+- [**i18n**] Clean up the English language phrasing [#146](https://github.com/matcornic/hugo-theme-learn/pull/146)
+- [**i18n**] Updated _index.en.md for typo "names" [#150](https://github.com/matcornic/hugo-theme-learn/pull/150)
+
+#### Theme Meta
+
+- [**meta**] Add license scan report and status [#151](https://github.com/matcornic/hugo-theme-learn/pull/151)
+
+#### Uncategorised
+
+- [**closed**] Different viewport [#122](https://github.com/matcornic/hugo-theme-learn/pull/122)
+- [**closed**] TranslationBaseName replaced for Name on archetypes template [#145](https://github.com/matcornic/hugo-theme-learn/pull/145)
+- [**closed**] Improved variant of #119, as per request [#124](https://github.com/matcornic/hugo-theme-learn/pull/124)
+- [**closed**] role="" is invalid [#121](https://github.com/matcornic/hugo-theme-learn/pull/121)
+- [**closed**] Related to previous PR [#120](https://github.com/matcornic/hugo-theme-learn/pull/120)
+- [**closed**] Issue #111 for _index.fr.md [#117](https://github.com/matcornic/hugo-theme-learn/pull/117)
+- [**closed**] Issue #111 for _index.en.md [#116](https://github.com/matcornic/hugo-theme-learn/pull/116)
+- [**closed**] Issue #111 for theme-green.css [#114](https://github.com/matcornic/hugo-theme-learn/pull/114)
+- [**closed**] Issue #111 for theme-red.css [#113](https://github.com/matcornic/hugo-theme-learn/pull/113)
+- [**closed**] Issue #111 for theme-blue.css [#112](https://github.com/matcornic/hugo-theme-learn/pull/112)
+- [**closed**] Issue #111 for theme-mine.css [#115](https://github.com/matcornic/hugo-theme-learn/pull/115)
+- [**closed**] fix #77 : no wrap images that already wrapped [#118](https://github.com/matcornic/hugo-theme-learn/pull/118)
+- [**closed**] doc: Keep icons aligned [#110](https://github.com/matcornic/hugo-theme-learn/pull/110)
+- [**closed**] Add Portuguese translation [#109](https://github.com/matcornic/hugo-theme-learn/pull/109)
+- [**closed**] Use `relURL`  where possible [#102](https://github.com/matcornic/hugo-theme-learn/pull/102)
+- [**closed**] Bug fix in sidebar menu and children description generation [#105](https://github.com/matcornic/hugo-theme-learn/pull/105)
+- [**closed**] fix some typo [#104](https://github.com/matcornic/hugo-theme-learn/pull/104)
+- [**closed**] Added a `menuTitle` attribute to partials/menu.html [#90](https://github.com/matcornic/hugo-theme-learn/pull/90)
+- [**closed**] allowing comments system [#86](https://github.com/matcornic/hugo-theme-learn/pull/86)
+- [**closed**] Add spanish translation [#85](https://github.com/matcornic/hugo-theme-learn/pull/85)
+- [**closed**] Replace horsey with Pixabay's autocomplete [#75](https://github.com/matcornic/hugo-theme-learn/pull/75)
+- [**closed**] Added info about 'draft:true' [#74](https://github.com/matcornic/hugo-theme-learn/pull/74)
+- [**closed**] Remove white space from `align` parameter [#63](https://github.com/matcornic/hugo-theme-learn/pull/63)
+
+---
+
+## v2.0.0 (20/08/2017)
+
+#### Uncategorised
+
+- [**closed**] V2 [#56](https://github.com/matcornic/hugo-theme-learn/pull/56)
+
+---
+
+## v1.1.0 (22/07/2017)
+
+#### Bug Fixes
+
+- [**bug**] Fix sticky header jumpiness [#45](https://github.com/matcornic/hugo-theme-learn/pull/45)
+
+#### Uncategorised
+
+- [**closed**] Fix anchor scrolling that hides behind top nav bar [#46](https://github.com/matcornic/hugo-theme-learn/pull/46)
+- [**closed**] feat: Change the default code color [#43](https://github.com/matcornic/hugo-theme-learn/pull/43)
+- [**closed**] Use index pages + automatic navigation arrows [#36](https://github.com/matcornic/hugo-theme-learn/pull/36)
+
+---
+
+## v1.0.0 (25/03/2017)
+
+#### Uncategorised
+
+- [**closed**] Search [#18](https://github.com/matcornic/hugo-theme-learn/pull/18)
+- [**closed**] Extracted menu footer content to separate partial file [#35](https://github.com/matcornic/hugo-theme-learn/pull/35)
+- [**closed**] feat: style Hugo figure shortcode [#33](https://github.com/matcornic/hugo-theme-learn/pull/33)
+- [**closed**] Fix URL for 'Edit this page' on Windows [#27](https://github.com/matcornic/hugo-theme-learn/pull/27)
+- [**closed**] Revert "Menu generation using Content file instead directories" [#10](https://github.com/matcornic/hugo-theme-learn/pull/10)
+- [**closed**] (#25) use .Site.BaseURL to lcoate static assets [#26](https://github.com/matcornic/hugo-theme-learn/pull/26)
+- [**closed**] Menu ordering and definition in config.toml [#8](https://github.com/matcornic/hugo-theme-learn/pull/8)
+- [**closed**] Menu generation using Content file instead directories [#5](https://github.com/matcornic/hugo-theme-learn/pull/5)
+- [**closed**] Add Checkmark On visited Links [#4](https://github.com/matcornic/hugo-theme-learn/pull/4)
+- [**closed**] doc: Add theme installation instructions [#1](https://github.com/matcornic/hugo-theme-learn/pull/1)
diff --git a/docs/document/themes/hugo-theme-learn/README.md b/docs/document/themes/hugo-theme-learn/README.md
index 8ffd0470218..3e0801e9c1d 100644
--- a/docs/document/themes/hugo-theme-learn/README.md
+++ b/docs/document/themes/hugo-theme-learn/README.md
@@ -1,9 +1,12 @@
 # Hugo Learn Theme
 
-This repository contains a theme for [Hugo](https://gohugo.io/), based on great [Grav Learn Theme](http://learn.getgrav.org/).
+This repository contains a theme for [Hugo](https://gohugo.io/), based on great [Grav Learn Theme](https://learn.getgrav.org/).
 
 Visit the [theme documentation](https://learn.netlify.com/en/) to see what is going on. It is actually built with this theme.
 
+[![wercker status](https://app.wercker.com/status/233466a2be73fcea400e7dc02ef6adf9/s/master "wercker status")](https://app.wercker.com/project/byKey/233466a2be73fcea400e7dc02ef6adf9)
+[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fmatcornic%2Fhugo-theme-learn.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fmatcornic%2Fhugo-theme-learn?ref=badge_shield)
+
 ## Main features
 
 - Automatic Search
@@ -21,9 +24,9 @@ Visit the [theme documentation](https://learn.netlify.com/en/) to see what is go
 
 Navigate to your themes folder in your Hugo site and use the following commands:
 
-```
-$ cd themes
-$ git clone https://github.com/matcornic/hugo-theme-learn.git
+```shell
+cd themes/
+git clone https://github.com/matcornic/hugo-theme-learn.git
 ```
 
 Check that your Hugo version is minimum `0.25` with `hugo version`.
@@ -36,7 +39,7 @@ Check that your Hugo version is minimum `0.25` with `hugo version`.
 
 ## Download old versions (prior to 2.0.0)
 
-If you need old version for compatibility purpose, either download [theme source code from releases](https://github.com/matcornic/hugo-theme-learn/releases) or use the right git tag. For example, with `1.1.0` 
+If you need old version for compatibility purpose, either download [theme source code from releases](https://github.com/matcornic/hugo-theme-learn/releases) or use the right git tag. For example, with `1.1.0`
 
 - Direct download way: https://github.com/matcornic/hugo-theme-learn/archive/1.1.0.zip
 - Git way:
@@ -51,3 +54,44 @@ For both solutions, the documentation is available at https://github.com/matcorn
 ## Credits
 
 Many thanks to [@vjeantet](https://github.com/vjeantet/) for the fork [docdock](https://github.com/vjeantet/hugo-theme-docdock). The v2 of this theme is mainly based on his work !
+
+## License
+
+[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fmatcornic%2Fhugo-theme-learn.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fmatcornic%2Fhugo-theme-learn?ref=badge_large)
+
+## Releasing
+
+Somewhat work-in-progress steps to release with [gren](https://github.com/github-tools/github-release-notes)
+
+- Check all MRs assigned to the milestone are closed or pushed back to another release
+- Close the milestone
+- Check merged MRs on the milestone have a tag (Bug, Enhancement, etc.)
+- Tag and push the repo
+
+  ```shell
+  git tag <tag>
+  git push origin <tag>
+  ```
+
+- Generate CHANGELOG.md with _gren_
+
+  ```shell
+  gren changelog  --override --generate --tags=all
+  ```
+
+- Fix the date for the current release in CHANGELOG.md
+- Add the changelog to git and update the tag
+
+  ```shell
+  git add CHANGELOG.md
+  git commit -m "Ship tag <tag>"
+  git push origin master
+  git tag -f <tag>
+  git push --force origin <tag>
+  ```
+
+- Generate release with _gren_
+
+  ```shell
+  gren release -t <tag>
+  ```
diff --git a/docs/document/themes/hugo-theme-learn/archetypes/chapter.md b/docs/document/themes/hugo-theme-learn/archetypes/chapter.md
index 240b6524f49..a29ba1bd4ce 100644
--- a/docs/document/themes/hugo-theme-learn/archetypes/chapter.md
+++ b/docs/document/themes/hugo-theme-learn/archetypes/chapter.md
@@ -1,5 +1,5 @@
 +++
-title = "{{ replace .TranslationBaseName "-" " " | title }}"
+title = "{{ replace .Name "-" " " | title }}"
 date = {{ .Date }}
 weight = 5
 chapter = true
diff --git a/docs/document/themes/hugo-theme-learn/archetypes/default.md b/docs/document/themes/hugo-theme-learn/archetypes/default.md
index c89c2e40deb..5124e2a774b 100644
--- a/docs/document/themes/hugo-theme-learn/archetypes/default.md
+++ b/docs/document/themes/hugo-theme-learn/archetypes/default.md
@@ -1,5 +1,5 @@
 +++
-title = "{{ replace .TranslationBaseName "-" " " | title }}"
+title = "{{ replace .Name "-" " " | title }}"
 date =  {{ .Date }}
 weight = 5
 +++
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/config.toml b/docs/document/themes/hugo-theme-learn/exampleSite/config.toml
new file mode 100644
index 00000000000..c1381da4798
--- /dev/null
+++ b/docs/document/themes/hugo-theme-learn/exampleSite/config.toml
@@ -0,0 +1,112 @@
+baseURL = "/"
+languageCode = "en-US"
+defaultContentLanguage = "en"
+
+title = "Hugo Learn Documentation"
+theme = "hugo-theme-learn"
+themesdir = "../.."
+metaDataFormat = "yaml"
+defaultContentLanguageInSubdir= true
+
+[params]
+  editURL = "https://github.com/matcornic/hugo-theme-learn/edit/master/exampleSite/content/"
+  description = "Documentation for Hugo Learn Theme"
+  author = "Mathieu Cornic"
+  showVisitedLinks = true
+  disableBreadcrumb = false
+  disableNextPrev = false
+  disableLandingPageButton = true
+  disableMermaid = false
+  customMermaidURL = "https://unpkg.com/mermaid@8.8.0/dist/mermaid.min.js"
+  titleSeparator = "::"
+
+[outputs]
+home = [ "HTML", "RSS", "JSON"]
+
+[Languages]
+[Languages.en]
+title = "Documentation for Hugo Learn Theme"
+weight = 1
+languageName = "English"
+landingPageURL = "/en"
+landingPageName = "<i class='fas fa-home'></i> Home"
+
+[[Languages.en.menu.shortcuts]]
+name = "<i class='fab fa-fw fa-github'></i> GitHub repo"
+identifier = "ds"
+url = "https://github.com/matcornic/hugo-theme-learn"
+weight = 10
+
+[[Languages.en.menu.shortcuts]]
+name = "<i class='fas fa-fw fa-camera'></i> Showcases"
+url = "showcase"
+weight = 11
+
+[[Languages.en.menu.shortcuts]]
+name = "<i class='fas fa-fw fa-bookmark'></i> Hugo Documentation"
+identifier = "hugodoc"
+url = "https://gohugo.io/"
+weight = 20
+
+[[Languages.en.menu.shortcuts]]
+name = "<i class='fas fa-fw fa-bullhorn'></i> Credits"
+url = "/credits"
+weight = 30
+
+[Languages.fr]
+title = "Documentation du thème Hugo Learn"
+weight = 2
+languageName = "Français"
+landingPageURL = "/fr"
+landingPageName = "<i class='fas fa-home'></i> Accueil"
+
+[[Languages.fr.menu.shortcuts]]
+name = "<i class='fab fa-fw fa-github'></i> Repo GitHub"
+identifier = "ds"
+url = "https://github.com/matcornic/hugo-theme-learn"
+weight = 10
+
+[[Languages.fr.menu.shortcuts]]
+name = "<i class='fas fa-fw fa-camera'></i> Vitrine"
+url = "/showcase"
+weight = 11
+
+[[Languages.fr.menu.shortcuts]]
+name = "<i class='fas fa-fw fa-bookmark'></i> Documentation Hugo"
+identifier = "hugodoc"
+url = "https://gohugo.io/"
+weight = 20
+
+[[Languages.fr.menu.shortcuts]]
+name = "<i class='fas fa-fw fa-bullhorn'></i> Crédits"
+url = "/credits"
+weight = 30
+
+[Languages.zh]
+title = "Hugo 主题的 Learn 文档"
+weight = 3
+languageName = "简体中文"
+landingPageURL = "/zh"
+landingPageName = "<i class='fas fa-home'></i> 家"
+
+[[Languages.zh.menu.shortcuts]]
+name = "<i class='fab fa-fw fa-github'></i> GitHub 仓库"
+identifier = "ds"
+url = "https://github.com/matcornic/hugo-theme-learn"
+weight = 10
+
+[[Languages.zh.menu.shortcuts]]
+name = "<i class='fas fa-fw fa-camera'></i> 展示区"
+url = "/showcase"
+weight = 11
+
+[[Languages.zh.menu.shortcuts]]
+name = "<i class='fas fa-fw fa-bookmark'></i> Hugo 文档"
+identifier = "hugodoc"
+url = "https://gohugo.io/"
+weight = 20
+
+[[Languages.zh.menu.shortcuts]]
+name = "<i class='fas fa-fw fa-bullhorn'></i> 鸣谢"
+url = "/credits"
+weight = 30
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/_index.en.md b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/_index.en.md
new file mode 100755
index 00000000000..56e2968e25b
--- /dev/null
+++ b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/_index.en.md
@@ -0,0 +1,12 @@
+---
+title: Basics
+weight: 5
+pre: "<b>1. </b>"
+chapter: true
+---
+
+### Chapter 1
+
+# Basics
+
+Discover what this Hugo theme is all about and the core-concepts behind it.
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/_index.fr.md b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/_index.fr.md
new file mode 100644
index 00000000000..1b800c905b3
--- /dev/null
+++ b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/_index.fr.md
@@ -0,0 +1,12 @@
+---
+title: Démarrage
+weight: 5
+pre: "<b>1. </b>"
+chapter: true
+---
+
+### Chapitre 1
+
+# Démarrage
+
+Découvrez comment utiliser ce thème Hugo et apprenez-en les concepts
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/_index.zh.md b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/_index.zh.md
new file mode 100755
index 00000000000..6c5d5dacce5
--- /dev/null
+++ b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/_index.zh.md
@@ -0,0 +1,12 @@
+---
+title: 基础
+weight: 5
+pre: "<b>1. </b>"
+chapter: true
+---
+
+### 章节 1
+
+# 基础
+
+了解该 Hugo 主题的特点以及背后的核心概念。
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/configuration/_index.en.md b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/configuration/_index.en.md
new file mode 100644
index 00000000000..c46212524d9
--- /dev/null
+++ b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/configuration/_index.en.md
@@ -0,0 +1,112 @@
+---
+date: 2016-04-09T16:50:16+02:00
+title: Configuration
+weight: 20
+---
+
+## Global site parameters
+
+On top of [Hugo global configuration](https://gohugo.io/overview/configuration/), **Hugo-theme-learn** lets you define the following parameters in your `config.toml` (here, values are default).
+
+Note that some of these parameters are explained in details in other sections of this documentation.
+
+```toml
+[params]
+  # Prefix URL to edit current page. Will display an "Edit this page" button on top right hand corner of every page.
+  # Useful to give opportunity to people to create merge request for your doc.
+  # See the config.toml file from this documentation site to have an example.
+  editURL = ""
+  # Author of the site, will be used in meta information
+  author = ""
+  # Description of the site, will be used in meta information
+  description = ""
+  # Shows a checkmark for visited pages on the menu
+  showVisitedLinks = false
+  # Disable search function. It will hide search bar
+  disableSearch = false
+  # Javascript and CSS cache are automatically busted when new version of site is generated.
+  # Set this to true to disable this behavior (some proxies don't handle well this optimization)
+  disableAssetsBusting = false
+  # Set this to true to disable copy-to-clipboard button for inline code.
+  disableInlineCopyToClipBoard = false
+  # A title for shortcuts in menu is set by default. Set this to true to disable it.
+  disableShortcutsTitle = false
+  # If set to false, a Home button will appear below the search bar on the menu.
+  # It is redirecting to the landing page of the current language if specified. (Default is "/")
+  disableLandingPageButton = true
+  # When using mulitlingual website, disable the switch language button.
+  disableLanguageSwitchingButton = false
+  # Hide breadcrumbs in the header and only show the current page title
+  disableBreadcrumb = true
+  # If set to true, prevents Hugo from including the mermaid module if not needed (will reduce load times and traffic)
+  disableMermaid = false
+  # Specifies the remote location of the mermaid js
+  customMermaidURL = "https://unpkg.com/mermaid@8.8.0/dist/mermaid.min.js"
+  # Hide Next and Previous page buttons normally displayed full height beside content
+  disableNextPrev = true
+  # Order sections in menu by "weight" or "title". Default to "weight"
+  ordersectionsby = "weight"
+  # Change default color scheme with a variant one. Can be "red", "blue", "green".
+  themeVariant = ""
+  # Provide a list of custom css files to load relative from the `static/` folder in the site root.
+  custom_css = ["css/foo.css", "css/bar.css"]
+  # Change the title separator. Default to "::".
+  titleSeparator = "-"
+```
+
+## Activate search
+
+If not already present, add the follow lines in the same `config.toml` file.
+
+```toml
+[outputs]
+home = [ "HTML", "RSS", "JSON"]
+```
+
+Learn theme uses the last improvement available in hugo version 20+ to generate a json index file ready to be consumed by lunr.js javascript search engine.
+
+> Hugo generate lunrjs index.json at the root of public folder.
+> When you build the site with `hugo server`, hugo generates it internally and of course it doesn’t show up in the filesystem
+
+## Mermaid
+
+The mermaid configuration parameters can also be set on a specific page. In this case, the global parameter would be overwritten by the local one.
+
+> Example:
+>
+> Mermaid is globally disabled. By default it won't be loaded by any page.  
+> On page "Architecture" you need a class diagram. You can set the mermaid parameters locally to only load mermaid on this page (not on the others).
+
+You also can disable mermaid for specific pages while globally enabled.
+
+## Home Button Configuration
+
+If the `disableLandingPage` option is set to `false`, an Home button will appear
+on the left menu. It is an alternative for clicking on the logo. To edit the
+appearance, you will have to configure two parameters for the defined languages:
+
+```toml
+[Lanugages]
+[Lanugages.en]
+...
+landingPageURL = "/en"
+landingPageName = "<i class='fas fa-home'></i> Redirect to Home"
+...
+[Lanugages.fr]
+...
+landingPageURL = "/fr"
+landingPageName = "<i class='fas fa-home'></i> Accueil"
+...
+```
+
+If those params are not configured for a specific language, they will get their
+default values:
+
+```toml
+landingPageURL = "/"
+landingPageName = "<i class='fas fa-home'></i> Home"
+```
+
+The home button is going to looks like this:
+
+![Default Home Button](/en/basics/configuration/images/home_button_defaults.jpg?width=100%)
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/configuration/_index.fr.md b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/configuration/_index.fr.md
new file mode 100644
index 00000000000..72e496da798
--- /dev/null
+++ b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/configuration/_index.fr.md
@@ -0,0 +1,110 @@
+---
+date: 2016-04-09T16:50:16+02:00
+title: Configuration
+weight: 20
+---
+
+## Paramètres globaux du site
+
+En plus de la [configuration globale d'Hugo](https://gohugo.io/overview/configuration/), **Hugo-theme-learn** vous permet de définir les paramètres suivant dans votre fichier `config.toml` (ci-dessous sont affichées les valeurs par défaut).
+
+Notez que certains de ces paramètres sont expliqués en détails dans d'autres sections de cette documentation.
+
+```toml
+[params]
+  # L'URL préfixe pour éditer la page courante. Ce paramètre affichera un bouton "Modifier cette page" on haut de de chacune des pages.
+  # Pratique pour donner les possibilité à vos utilisateurs de créer une merge request pour votre doc.
+  # Allez voir le fichier config.toml de cette documentation pour avoir un exemple.
+  editURL = ""
+  # Autheur du site, est utilisé dans les informations meta
+  author = ""
+  # Description du site, est utilisé dans les informations meta
+  description = ""
+  # Affiche une icône lorsque la page a été visitée
+  showVisitedLinks = false
+  # Désactive la fonction de recherche. Une valeur à true cache la barre de recherche.
+  disableSearch = false
+  # Par défaut, le cache Javascript et CSS est automatiquement vidé lorsqu'une nouvelle version du site est générée.
+  # Utilisez ce paramètre lorsque vous voulez désactiver ce comportement (c'est parfois incompatible avec certains proxys)
+  disableAssetsBusting = false
+  # Utilisez ce paramètre pour désactiver le bouton copy-to-clipboard pour le code formatté sur une ligne.
+  disableInlineCopyToClipBoard = false
+  # Un titre est défini par défaut lorsque vous utilisez un raccourci dans le menu. Utilisez ce paramètre pour le cacher.
+  disableShortcutsTitle = false
+  # S'il est réglé sur faux, un bouton Accueil apparaîtra sous la barre de recherche dans le menu.
+  # Il redirige vers la page d'accueil de la langue actuelle si cela est spécifié. (La valeur par défaut est "/")
+  disableLandingPageButton = true
+  # Si défini à true, empêche Hugo d'inclure le module "mermaid" s'il n'est pas nécessaire (réduira les temps de chargement et le trafic)
+  disableMermaid = false
+  # Spécifie l'emplacement distant du mermaid js
+  customMermaidURL = "https://unpkg.com/mermaid@8.8.0/dist/mermaid.min.js"
+  # Quand vous utilisez un site multi-langue, utilisez ce paramètre pour désactiver le bouton de changement de langue.
+  disableLanguageSwitchingButton = false
+  # Ordonne les sections dans menu par poids ("weight") ou titre ("title"). Défaut à "weight"
+  ordersectionsby = "weight"
+  # Utilisez ce paramètre pour modifier le schéma de couleur du site. Les valeurs par défaut sont "red", "blue", "green".
+  themeVariant = ""
+  # Fournissez une liste de fichiers css personnalisés à charger par rapport depuis le dossier `static/` à la racine du site.
+  custom_css = ["css/foo.css", "css/bar.css"]
+```
+
+## Activer la recherche {#activer-recherche}
+
+Si ce n'est pas déjà présent, ajoutez les lignes suivantes dans le fichier `config.toml`.
+
+```toml
+[outputs]
+home = [ "HTML", "RSS", "JSON"]
+```
+
+Le thème *Learn* utilise les dernières améliorations d'Hugo pour générer un fichier d'index JSON, prêt à être consommé par le moteur de recherche lunr.js.
+
+> Hugo génère lunrjs index.json à la racine du dossier `public`.
+> Quand vous générez le site avec `hugo server`, Hugo génère le fichier en mémoire, il n'est donc pas disponible sur le disque.
+
+## Mermaid
+
+Les paramètres de configuration du mermaid peuvent également être définis sur une page spécifique. Dans ce cas, le paramètre global sera écrasé par le paramètre local.
+
+> Exemple:
+>
+> Mermaid est globalement handicapé. Par défaut, elle ne sera chargée par aucune page.  
+> À la page "Architecture", vous avez besoin d'un diagramme de classe. Vous pouvez régler les paramètres de mermaid localement pour ne charger que la sirène sur cette page (pas sur les autres).
+
+Vous pouvez également désactiver mermaid pour des pages spécifiques tout en l'activant globalement.
+<<<<<<< HEAD
+
+## Configuration du bouton Accueil
+
+Si l'option `disableLandingPage` est définie sur `false`, un bouton
+"Accueil" apparaîtra dans le menu de gauche. C'est une alternative pour cliquer
+sur le logo. Pour modifier le vous devrez configurer deux paramètres pour les
+langues définies :
+
+```toml
+[Lanugages]
+[Lanugages.en]
+...
+landingPageURL = "/en"
+landingPageName = "<i class='fas fa-home'></i> Redirect to Home"
+...
+[Lanugages.fr]
+...
+landingPageURL = "/fr"
+landingPageName = "<i class='fas fa-home'></i> Accueil"
+...
+```
+
+Si ces paramètres ne sont pas configurés pour une langue spécifique, ils
+obtiendront leur valeurs par défaut:
+
+```toml
+landingPageURL = "/"
+landingPageName = "<i class='fas fa-home'></i> Home"
+```
+
+Le bouton d'accueil va ressembler à ceci:
+
+![Default Home Button](/en/basics/configuration/images/home_button_defaults.jpg?width=100%)
+=======
+>>>>>>> 023fe7ef2b4c45fe66ac932d9e25d09f30b74a4e
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/configuration/images/home_button_defaults.jpg b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/configuration/images/home_button_defaults.jpg
new file mode 100755
index 00000000000..84b045d0083
Binary files /dev/null and b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/configuration/images/home_button_defaults.jpg differ
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/installation/_index.en.md b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/installation/_index.en.md
new file mode 100644
index 00000000000..e53d006c75b
--- /dev/null
+++ b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/installation/_index.en.md
@@ -0,0 +1,102 @@
+---
+title: Installation
+weight: 15
+---
+
+The following steps are here to help you initialize your new website. If you don't know Hugo at all, we strongly suggest you learn more about it by following this [great documentation for beginners](https://gohugo.io/overview/quickstart/).
+
+## Create your project
+
+Hugo provides a `new` command to create a new website.
+
+```
+hugo new site <new_project>
+```
+
+## Install the theme
+
+Install the **Hugo-theme-learn** theme by following [this documentation](https://gohugo.io/getting-started/quick-start/#step-3-add-a-theme)
+
+This theme's repository is: https://github.com/matcornic/hugo-theme-learn.git
+
+Alternatively, you can [download the theme as .zip](https://github.com/matcornic/hugo-theme-learn/archive/master.zip) file and extract it in the `themes` directory
+
+## Basic configuration
+
+When building the website, you can set a theme by using `--theme` option. However, we suggest you modify the configuration file (`config.toml`) and set the theme as the default. You can also add the `[outputs]` section to enable the search functionality.
+
+```toml
+# Change the default theme to be use when building the site with Hugo
+theme = "hugo-theme-learn"
+
+# For search functionality
+[outputs]
+home = [ "HTML", "RSS", "JSON"]
+```
+
+## Create your first chapter page
+
+Chapters are pages that contain other child pages. It has a special layout style and usually just contains a _chapter name_, the _title_ and a _brief abstract_ of the section.
+
+```
+### Chapter 1
+
+# Basics
+
+Discover what this Hugo theme is all about and the core concepts behind it.
+```
+
+renders as 
+
+![A Chapter](/en/basics/installation/images/chapter.png?classes=shadow&width=60pc)
+
+**Hugo-theme-learn** provides archetypes to create skeletons for your website. Begin by creating your first chapter page with the following command
+
+```
+hugo new --kind chapter basics/_index.md
+```
+
+By opening the given file, you should see the property `chapter=true` on top, meaning this page is a _chapter_.
+
+By default all chapters and pages are created as a draft. If you want to render these pages, remove the property `draft: true` from the metadata.
+
+## Create your first content pages
+
+Then, create content pages inside the previously created chapter. Here are two ways to create content in the chapter:
+
+```
+hugo new basics/first-content.md
+hugo new basics/second-content/_index.md
+```
+
+Feel free to edit thoses files by adding some sample content and replacing the `title` value in the beginning of the files. 
+
+## Launching the website locally
+
+Launch by using the following command:
+
+```
+hugo serve
+```
+
+Go to `http://localhost:1313`
+
+You should notice three things:
+
+1. You have a left-side **Basics** menu, containing two submenus with names equal to the `title` properties in the previously created files.
+2. The home page explains how to customize it by following the instructions.
+3. When you run `hugo serve`, when the contents of the files change, the page automatically refreshes with the changes. Neat!
+
+## Build the website
+
+When your site is ready to deploy, run the following command:
+
+```
+hugo
+```
+
+A `public` folder will be generated, containing all static content and assets for your website. It can now be deployed on any web server.
+
+{{% notice note %}}
+This website can be automatically published and hosted with [Netlify](https://www.netlify.com/) (Read more about [Automated HUGO deployments with Netlify](https://www.netlify.com/blog/2015/07/30/hosting-hugo-on-netlifyinsanely-fast-deploys/)). Alternatively, you can use [Github pages](https://gohugo.io/hosting-and-deployment/hosting-on-github/)
+{{% /notice %}}
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/installation/_index.fr.md b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/installation/_index.fr.md
new file mode 100644
index 00000000000..268d0c3cec5
--- /dev/null
+++ b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/installation/_index.fr.md
@@ -0,0 +1,100 @@
+---
+title: Installation
+weight: 15
+---
+
+Les étapes suivantes sont là pour vous aider à initialiser votre site. Si vous ne connaissez pas du tout Hugo, il est fortement conseillé de vous entrainer en suivant ce [super tuto pour débutants](https://gohugo.io/overview/quickstart/).
+
+## Créer votre projet
+
+Hugo fournit une commande `new` pour créer un nouveau site.
+
+```
+hugo new site <new_project>
+```
+
+## Installer le thème
+
+Installer le thème **Hugo-theme-learn** en suivant [cette documentation](https://gohugo.io/themes/installing/)
+
+Le repo du thème est : https://github.com/matcornic/hugo-theme-learn.git
+
+Sinon, vous pouvez [télécharger le thème sous forme d'un fichier .zip](https://github.com/matcornic/hugo-theme-learn/archive/master.zip) et extrayez le dans votre dossier de thèmes.
+
+## Configuration simple
+
+Lorsque vous générez votre site, vous pouvez définir un thème en utilisant l'option `--theme`. Il est conseillé de modifier votre fichier de configuration `config.toml` and définir votre thème par défaut. En passant, ajoutez les prérequis à l'utilisation de la fonctionnalité de recherche.
+
+```toml
+# Modifiez le thème pour qu'il soit utilisé par défaut à chaque génération de site.
+theme = "hugo-theme-learn"
+
+# Pour la fonctionnalité de recherche
+[outputs]
+home = [ "HTML", "RSS", "JSON"]
+```
+
+## Créer votre première page chapitre
+
+Les *chapitres* sont des pages contenant d'autre pages filles. Elles ont un affichage spécial et contiennent habituellement juste un _nom_ de chapitre, le _titre_ et un _résumé_ de la section.
+
+```
+### Chapitre 1
+
+# Démarrage
+
+Découvrez comment utiliser ce thème Hugo et apprenez en les concepts
+```
+
+s'affiche comme
+
+![Un chapitre](/en/basics/installation/images/chapter.png?classes=shadow&width=60pc)
+
+**Hugo-theme-learn** fournit des archétypes pour créer des squelettes pour votre site. Commencez par créer votre premier chapitre avec la commande suivante:
+
+```
+hugo new --kind chapter basics/_index.md
+```
+
+En ouvrant le fichier généré, vous devriez voir la propriété `chapter=true` en haut, paramètre quit définit que le page est un _chapitre_.
+
+## Créer votre première page
+
+Puis, créez votre premier page dans le chapitre précédent. Pour ce faire, il existe deux possibilités :
+
+```
+hugo new basics/first-content.md
+hugo new basics/second-content/_index.md
+```
+
+N'hésitez pas à éditer ces fichiers en ajoutant des exemple de contenu et en remplaçant le paramètre `title` au début du fichier. 
+
+## Lancer le site localement
+
+Lancez la commande suivante :
+
+```
+hugo serve
+```
+
+Se rendre sur `http://localhost:1313`
+
+Vous devriez voir trois choses:
+
+1. Vous avez un menu **Basics** à gauche, qui contient deux sous-menu avec des noms égal au paramètre `title` des fichiers précédemment générés.
+2. La page d'accueil vous explique comment la modifier. Suivez les instructions.
+3. Avec la commande `hugo serve`, la page se rafraichit automatiquement à chaque fois que vous sauvegardez. Super !
+
+## Générez le site
+
+Quand votre site est prêt à être déployé, lancez la commande suivante:
+
+```
+hugo
+```
+
+Un dossier `public` a été généré. Il contient tout le contenu statique et les ressources nécessaires pour votre site. Votre site peut maintenant être déployé en utilisant n'importe quel serveur !
+
+{{% notice note %}}
+Ce site peut être automatiquement publié et hébergé avec [Netlify](https://www.netlify.com/) ([Plus d'infos](https://www.netlify.com/blog/2015/07/30/hosting-hugo-on-netlifyinsanely-fast-deploys/)). Sinon, vous pouvez utiliser les [Github pages](https://gohugo.io/hosting-and-deployment/hosting-on-github/)
+{{% /notice %}}
\ No newline at end of file
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/installation/images/chapter.png b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/installation/images/chapter.png
new file mode 100644
index 00000000000..80da0c6d67a
Binary files /dev/null and b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/installation/images/chapter.png differ
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/requirements/_index.en.md b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/requirements/_index.en.md
new file mode 100755
index 00000000000..2b3f51d9306
--- /dev/null
+++ b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/requirements/_index.en.md
@@ -0,0 +1,11 @@
+---
+title: Requirements
+weight: 10
+disableToc: true
+---
+
+Thanks to the simplicity of Hugo, this page is as empty as this theme needs requirements.
+
+Just download latest version of [Hugo binary (> 0.25)](https://gohugo.io/getting-started/installing/) for your OS (Windows, Linux, Mac) : it's that simple.
+
+![Magic](/en/basics/requirements/images/magic.gif?classes=shadow)
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/requirements/_index.fr.md b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/requirements/_index.fr.md
new file mode 100755
index 00000000000..ae70caea529
--- /dev/null
+++ b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/requirements/_index.fr.md
@@ -0,0 +1,11 @@
+---
+title: Prérequis
+weight: 10
+disableToc: true
+---
+
+Grâce à la simplicité d'Hugo, cette page est vide car il n'y a quasi pas de prérequis pour utiliser le thème.
+
+Téléchargez la dernière version du [binaire Hugo (> 0.25)](https://gohugo.io/getting-started/installing/) pour votre Système d'exploitation (Windows, Linux, Mac) : et c'est tout !
+
+![Magic](/en/basics/requirements/images/magic.gif?classes=shadow)
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/style-customization/_index.en.md b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/style-customization/_index.en.md
new file mode 100644
index 00000000000..c6920c5d447
--- /dev/null
+++ b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/style-customization/_index.en.md
@@ -0,0 +1,194 @@
+---
+date: 2016-04-09T16:50:16+02:00
+title: Style customization
+weight: 25
+---
+
+**Hugo-theme-learn** has been built to be as configurable as possible by defining multiple [partials](https://gohugo.io/templates/partials/)
+
+In `themes/hugo-theme-learn/layouts/partials/`, you will find all the partials defined for this theme. If you need to overwrite something, don't change the code directly. Instead [follow this page](https://gohugo.io/themes/customizing/). You'd create a new partial in the `layouts/partials` folder of your local project. This partial will have the priority.
+
+This theme defines the following partials :
+
+- *header*: the header of the content page (contains the breadcrumbs). _Not meant to be overwritten_
+- *custom-header*: custom headers in page. Meant to be overwritten when adding CSS imports. Don't forget to include `style` HTML tag directive in your file
+- *footer*: the footer of the content page (contains the arrows). _Not meant to be overwritten_
+- *custom-footer*:  custom footer in page. Meant to be overwritten when adding Javacript. Don't forget to include `javascript` HTML tag directive in your file
+- *favicon*: the favicon
+- *logo*: the logo, on top left hand corner.
+- *meta*: HTML meta tags, if you want to change default behavior
+- *menu*: left menu. _Not meant to be overwritten_
+- *menu-footer*: footer of the the left menu
+- *search*: search box
+- *toc*: table of contents
+
+## Change the logo
+
+Create a new file in `layouts/partials/` named `logo.html`. Then write any HTML you want.
+You could use an `img` HTML tag and reference an image created under the *static* folder, or you could paste a SVG definition !
+
+{{% notice note %}}
+The size of the logo will adapt automatically
+{{% /notice %}}
+
+## Change the favicon
+
+If your favicon is a png, just drop off your image in your local `static/images/` folder and name it `favicon.png`
+
+If you need to change this default behavior, create a new file in `layouts/partials/` named `favicon.html`. Then write something like this:
+
+```html
+<link rel="shortcut icon" href="/images/favicon.png" type="image/x-icon" />
+```
+
+## Change default colors {#theme-variant}
+
+**Hugo Learn theme** let you choose between 3 native color scheme variants, but feel free to add one yourself ! Default color scheme is based on [Grav Learn Theme](https://learn.getgrav.org/).
+
+### Red variant
+
+```toml
+[params]
+  # Change default color scheme with a variant one. Can be "red", "blue", "green".
+  themeVariant = "red"
+```
+
+![Red variant](/en/basics/style-customization/images/red-variant.png?width=60pc)
+
+### Blue variant
+
+```toml
+[params]
+  # Change default color scheme with a variant one. Can be "red", "blue", "green".
+  themeVariant = "blue"
+```
+
+![Blue variant](/en/basics/style-customization/images/blue-variant.png?width=60pc)
+
+### Green variant
+
+```toml
+[params]
+  # Change default color scheme with a variant one. Can be "red", "blue", "green".
+  themeVariant = "green"
+```
+
+![Green variant](/en/basics/style-customization/images/green-variant.png?width=60pc)
+
+### 'Yours‘ variant
+
+First, create a new CSS file in your local `static/css` folder prefixed by `theme` (e.g. with _mine_ theme `static/css/theme-mine.css`). Copy the following content and modify colors in CSS variables.
+
+```css
+
+:root{
+    
+    --MAIN-TEXT-color:#323232; /* Color of text by default */
+    --MAIN-TITLES-TEXT-color: #5e5e5e; /* Color of titles h2-h3-h4-h5 */
+    --MAIN-LINK-color:#1C90F3; /* Color of links */
+    --MAIN-LINK-HOVER-color:#167ad0; /* Color of hovered links */
+    --MAIN-ANCHOR-color: #1C90F3; /* color of anchors on titles */
+
+    --MENU-HEADER-BG-color:#1C90F3; /* Background color of menu header */
+    --MENU-HEADER-BORDER-color:#33a1ff; /*Color of menu header border */ 
+
+    --MENU-SEARCH-BG-color:#167ad0; /* Search field background color (by default borders + icons) */
+    --MENU-SEARCH-BOX-color: #33a1ff; /* Override search field border color */
+    --MENU-SEARCH-BOX-ICONS-color: #a1d2fd; /* Override search field icons color */
+
+    --MENU-SECTIONS-ACTIVE-BG-color:#20272b; /* Background color of the active section and its childs */
+    --MENU-SECTIONS-BG-color:#252c31; /* Background color of other sections */
+    --MENU-SECTIONS-LINK-color: #ccc; /* Color of links in menu */
+    --MENU-SECTIONS-LINK-HOVER-color: #e6e6e6;  /* Color of links in menu, when hovered */
+    --MENU-SECTION-ACTIVE-CATEGORY-color: #777; /* Color of active category text */
+    --MENU-SECTION-ACTIVE-CATEGORY-BG-color: #fff; /* Color of background for the active category (only) */
+
+    --MENU-VISITED-color: #33a1ff; /* Color of 'page visited' icons in menu */
+    --MENU-SECTION-HR-color: #20272b; /* Color of <hr> separator in menu */
+    
+}
+
+body {
+    color: var(--MAIN-TEXT-color) !important;
+}
+
+textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="url"]:focus, input[type="color"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, select[multiple=multiple]:focus {
+    border-color: none;
+    box-shadow: none;
+}
+
+h2, h3, h4, h5 {
+    color: var(--MAIN-TITLES-TEXT-color) !important;
+}
+
+a {
+    color: var(--MAIN-LINK-color);
+}
+
+.anchor {
+    color: var(--MAIN-ANCHOR-color);
+}
+
+a:hover {
+    color: var(--MAIN-LINK-HOVER-color);
+}
+
+#sidebar ul li.visited > a .read-icon {
+	color: var(--MENU-VISITED-color);
+}
+
+#body a.highlight:after {
+    display: block;
+    content: "";
+    height: 1px;
+    width: 0%;
+    -webkit-transition: width 0.5s ease;
+    -moz-transition: width 0.5s ease;
+    -ms-transition: width 0.5s ease;
+    transition: width 0.5s ease;
+    background-color: var(--MAIN-LINK-HOVER-color);
+}
+#sidebar {
+	background-color: var(--MENU-SECTIONS-BG-color);
+}
+#sidebar #header-wrapper {
+    background: var(--MENU-HEADER-BG-color);
+    color: var(--MENU-SEARCH-BOX-color);
+    border-color: var(--MENU-HEADER-BORDER-color);
+}
+#sidebar .searchbox {
+	border-color: var(--MENU-SEARCH-BOX-color);
+    background: var(--MENU-SEARCH-BG-color);
+}
+#sidebar ul.topics > li.parent, #sidebar ul.topics > li.active {
+    background: var(--MENU-SECTIONS-ACTIVE-BG-color);
+}
+#sidebar .searchbox * {
+    color: var(--MENU-SEARCH-BOX-ICONS-color);
+}
+
+#sidebar a {
+    color: var(--MENU-SECTIONS-LINK-color);
+}
+
+#sidebar a:hover {
+    color: var(--MENU-SECTIONS-LINK-HOVER-color);
+}
+
+#sidebar ul li.active > a {
+    background: var(--MENU-SECTION-ACTIVE-CATEGORY-BG-color);
+    color: var(--MENU-SECTION-ACTIVE-CATEGORY-color) !important;
+}
+
+#sidebar hr {
+    border-color: var(--MENU-SECTION-HR-color);
+}
+```
+
+Then, set the `themeVariant` value with the name of your custom theme file. That's it !
+
+```toml
+[params]
+  # Change default color scheme with a variant one. Can be "red", "blue", "green".
+  themeVariant = "mine"
+```
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/style-customization/_index.fr.md b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/style-customization/_index.fr.md
new file mode 100644
index 00000000000..6daab9e844e
--- /dev/null
+++ b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/style-customization/_index.fr.md
@@ -0,0 +1,194 @@
+---
+date: 2016-04-09T16:50:16+02:00
+title: Personnalisation du style
+weight: 25
+---
+
+**Hugo-theme-learn** a été conçu pour être aussi configurable que possible en définissant plusieurs [partials](https://gohugo.io/templates/partials/)
+
+Dans `themes/hugo-theme-learn/layouts/partials/`, vous pourrez trouver tous les *partials* définis pour ce thème. Si vous avez besoin d'écraser quelque chose, ne modifiez pas le code directement. A la place, [suivez cette page](https://gohugo.io/themes/customizing/). Vous créerez alors un nouveau *partial* dans le dossier `layouts/partials` de votre site local. Ce *partial* aura la priorité.
+
+Ce thème définit les *partials* suivant :
+
+- *header*: l'en-tête de la page page (contient le fil d'Ariane). _Pas voué à être écrasé_
+- *custom-header*: En-tête personnalisé. Voué à être écrasé quand vous ajoutez des imports CSS. N'oubliez pas d'inclure la balise HTML `style` dans votre fichier
+- *footer*: le pied-de-page de la page (contains les flèches). _Pas voué à être écrasé_
+- *custom-footer*:  Pied-de-page personnalisé. Voué à être écrasé quand vous ajoutez du Javascript. N'oubliez pas d'inclure la balise HTML `javascript` dans votre fichier
+- *favicon*: le favicon
+- *logo*: le logo, affiché un haut à gauche.
+- *meta*: les balises HTML meta, que vous pouvez écraser sans problème.
+- *menu*: Le menu à gauche. _Pas voué à être écrasé_
+- *menu-footer*: Le pied-de-page du menu
+- *search*: le champ de recherche
+- *toc*: le sommaire
+
+## Changer le logo
+
+Créez un nouveau fichier dans `layouts/partials/`, nommé `logo.html`. Puis, écrivez le code HTML voulu.
+Vous pourriez utiliser une balise HTML `img` et référencer une image créée dans le dossier *static*, voire même y coller un code SVG !
+
+{{% notice note %}}
+La taille du logo va s'adapter automatiquement
+{{% /notice %}}
+
+## Changer le favicon
+
+Si votre favicon est un png, déposez votre image dans votre dossier local `static/images/` et nommez le `favicon.png`
+
+Si vous avez besoin de changer ce comportement par défaut, créer un nouveau fichier dans `layouts/partials/` et nommez le `favicon.html`. Puis ajoutez quelque chose comme:
+
+```html
+<link rel="shortcut icon" href="/images/favicon.png" type="image/x-icon" />
+```
+
+## Changer les couleurs par défaut {#theme-variant}
+
+**Hugo Learn theme** vous permet de choisir nativement entre 3 schéma de couleurs, mais n'hésitez pas à en ajouter d'autres ! Les couleurs par défaut sont celles de [Grav Learn Theme](https://learn.getgrav.org/).
+
+### Variante rouge
+
+```toml
+[params]
+  # Modifier le schéma de couleur par défaut. Peut être "red", "blue", "green".
+  themeVariant = "red"
+```
+
+![Variante rouge](/en/basics/style-customization/images/red-variant.png?width=60pc)
+
+### Variante bleue
+
+```toml
+[params]
+  # Modifier le schéma de couleur par défaut. Peut être "red", "blue", "green".
+  themeVariant = "blue"
+```
+
+![Variante bleue](/en/basics/style-customization/images/blue-variant.png?width=60pc)
+
+### Variante verte
+
+```toml
+[params]
+  # Modifier le schéma de couleur par défaut. Peut être "red", "blue", "green".
+  themeVariant = "green"
+```
+
+![Variante verte](/en/basics/style-customization/images/green-variant.png?width=60pc)
+
+### Votre variante
+
+Premièrement, créez un nouveau fichier CSS dans votre dossier `static/css`, préfixé par `theme` (ex: avec le theme_lemien_ `static/css/theme-lemien.css`). Copiez le contenu suivant et modifiez les couleurs dans les variables CSS.
+
+```css
+
+:root{
+    
+    --MAIN-TEXT-color:#323232; /* Color of text by default */
+    --MAIN-TITLES-TEXT-color: #5e5e5e; /* Color of titles h2-h3-h4-h5 */
+    --MAIN-LINK-color:#1C90F3; /* Color of links */
+    --MAIN-LINK-HOVER-color:#167ad0; /* Color of hovered links */
+    --MAIN-ANCHOR-color: #1C90F3; /* color of anchors on titles */
+
+    --MENU-HEADER-BG-color:#1C90F3; /* Background color of menu header */
+    --MENU-HEADER-BORDER-color:#33a1ff; /*Color of menu header border */ 
+
+    --MENU-SEARCH-BG-color:#167ad0; /* Search field background color (by default borders + icons) */
+    --MENU-SEARCH-BOX-color: #33a1ff; /* Override search field border color */
+    --MENU-SEARCH-BOX-ICONS-color: #a1d2fd; /* Override search field icons color */
+
+    --MENU-SECTIONS-ACTIVE-BG-color:#20272b; /* Background color of the active section and its childs */
+    --MENU-SECTIONS-BG-color:#252c31; /* Background color of other sections */
+    --MENU-SECTIONS-LINK-color: #ccc; /* Color of links in menu */
+    --MENU-SECTIONS-LINK-HOVER-color: #e6e6e6;  /* Color of links in menu, when hovered */
+    --MENU-SECTION-ACTIVE-CATEGORY-color: #777; /* Color of active category text */
+    --MENU-SECTION-ACTIVE-CATEGORY-BG-color: #fff; /* Color of background for the active category (only) */
+
+    --MENU-VISITED-color: #33a1ff; /* Color of 'page visited' icons in menu */
+    --MENU-SECTION-HR-color: #20272b; /* Color of <hr> separator in menu */
+    
+}
+
+body {
+    color: var(--MAIN-TEXT-color) !important;
+}
+
+textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="url"]:focus, input[type="color"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, select[multiple=multiple]:focus {
+    border-color: none;
+    box-shadow: none;
+}
+
+h2, h3, h4, h5 {
+    color: var(--MAIN-TITLES-TEXT-color) !important;
+}
+
+a {
+    color: var(--MAIN-LINK-color);
+}
+
+.anchor {
+    color: var(--MAIN-ANCHOR-color);
+}
+
+a:hover {
+    color: var(--MAIN-LINK-HOVER-color);
+}
+
+#sidebar ul li.visited > a .read-icon {
+	color: var(--MENU-VISITED-color);
+}
+
+#body a.highlight:after {
+    display: block;
+    content: "";
+    height: 1px;
+    width: 0%;
+    -webkit-transition: width 0.5s ease;
+    -moz-transition: width 0.5s ease;
+    -ms-transition: width 0.5s ease;
+    transition: width 0.5s ease;
+    background-color: var(--MAIN-LINK-HOVER-color);
+}
+#sidebar {
+	background-color: var(--MENU-SECTIONS-BG-color);
+}
+#sidebar #header-wrapper {
+    background: var(--MENU-HEADER-BG-color);
+    color: var(--MENU-SEARCH-BOX-color);
+    border-color: var(--MENU-HEADER-BORDER-color);
+}
+#sidebar .searchbox {
+	border-color: var(--MENU-SEARCH-BOX-color);
+    background: var(--MENU-SEARCH-BG-color);
+}
+#sidebar ul.topics > li.parent, #sidebar ul.topics > li.active {
+    background: var(--MENU-SECTIONS-ACTIVE-BG-color);
+}
+#sidebar .searchbox * {
+    color: var(--MENU-SEARCH-BOX-ICONS-color);
+}
+
+#sidebar a {
+    color: var(--MENU-SECTIONS-LINK-color);
+}
+
+#sidebar a:hover {
+    color: var(--MENU-SECTIONS-LINK-HOVER-color);
+}
+
+#sidebar ul li.active > a {
+    background: var(--MENU-SECTION-ACTIVE-CATEGORY-BG-color);
+    color: var(--MENU-SECTION-ACTIVE-CATEGORY-color) !important;
+}
+
+#sidebar hr {
+    border-color: var(--MENU-SECTION-HR-color);
+}
+```
+
+Puis, configurez le paramètre `themeVariant` avec le nom de votre variante. C'est tout !
+
+```toml
+[params]
+  # Modifier le schéma de couleur par défaut. Peut être "red", "blue", "green".
+  themeVariant = "lemien"
+```
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/style-customization/images/blue-variant.png b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/style-customization/images/blue-variant.png
new file mode 100644
index 00000000000..4f79d58b1ca
Binary files /dev/null and b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/style-customization/images/blue-variant.png differ
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/style-customization/images/green-variant.png b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/style-customization/images/green-variant.png
new file mode 100644
index 00000000000..a4b73b58ed2
Binary files /dev/null and b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/style-customization/images/green-variant.png differ
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/style-customization/images/red-variant.png b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/style-customization/images/red-variant.png
new file mode 100644
index 00000000000..6af77497d8b
Binary files /dev/null and b/docs/document/themes/hugo-theme-learn/exampleSite/content/basics/style-customization/images/red-variant.png differ
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/_index.en.md b/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/_index.en.md
new file mode 100755
index 00000000000..cbdc696a106
--- /dev/null
+++ b/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/_index.en.md
@@ -0,0 +1,12 @@
+---
+title: Content
+weight: 10
+chapter: true
+pre: "<b>2. </b>"
+---
+
+### Chapter 2
+
+# Content
+
+Find out how to create and organize your content quickly and intuitively.
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/_index.fr.md b/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/_index.fr.md
new file mode 100755
index 00000000000..dae5873c815
--- /dev/null
+++ b/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/_index.fr.md
@@ -0,0 +1,12 @@
+---
+title: Contenu
+weight: 10
+chapter: true
+pre: "<b>2. </b>"
+---
+
+### Chapitre 2
+
+# Contenu
+
+Découvrez comment créer et organiser votre contenu facilement et intuitivement.
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/archetypes.en.md b/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/archetypes.en.md
new file mode 100644
index 00000000000..d5fd997028a
--- /dev/null
+++ b/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/archetypes.en.md
@@ -0,0 +1,57 @@
+---
+title: Archetypes
+weight: 10
+---
+
+Using the command: `hugo new [relative new content path]`, you can start a content file with the date and title automatically set. While this is a welcome feature, active writers need more: [archetypes](https://gohugo.io/content/archetypes/).
+
+It is pre-configured skeleton pages with default front matter. Please refer to the documentation for types of page to understand the differences.
+
+## Chapter {#archetypes-chapter}
+
+To create a Chapter page, run the following commands
+
+```
+hugo new --kind chapter <name>/_index.md
+```
+
+It will create a page with predefined Front-Matter:
+
+```markdown
++++
+title = "{{ replace .Name "-" " " | title }}"
+date = {{ .Date }}
+weight = 5
+chapter = true
+pre = "<b>X. </b>"
++++
+
+### Chapter X
+
+# Some Chapter title
+
+Lorem Ipsum.
+```
+
+## Default
+
+To create a default page, run either one of the following commands
+
+```
+# Either
+hugo new <chapter>/<name>/_index.md
+# Or
+hugo new <chapter>/<name>.md
+```
+
+It will create a page with predefined Front-Matter:
+
+```markdown
++++
+title = "{{ replace .Name "-" " " | title }}"
+date =  {{ .Date }}
+weight = 5
++++
+
+Lorem Ipsum.
+```
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/archetypes.fr.md b/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/archetypes.fr.md
new file mode 100644
index 00000000000..883c4186586
--- /dev/null
+++ b/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/archetypes.fr.md
@@ -0,0 +1,57 @@
+---
+title: Archétypes
+weight: 10
+---
+
+En utilisant la commande: `hugo new [chemin vers nouveau contenu]`, vous pouvez créer un nouveau fichier avec la date et le title automatiquement initialisé. Même si c'est une fonctionnalité intéressante, elle reste limitée pour les auteurs actifs qui ont besoin de mieux : les [archetypes](https://gohugo.io/content/archetypes/).
+
+Les archétypes sont des squelettes de pages préconfigurées avec un Front Matter par défaut. Merci de vous référer à la documentation pour connaitre les différents types de page.
+
+## Chapitre {#archetypes-chapter}
+
+Pour créer un chapitre, lancez les commandes suivantes
+
+```
+hugo new --kind chapter <name>/_index.md
+```
+
+Cela crééra une page avec le Front Matter suivant:
+
+```markdown
++++
+title = "{{ replace .Name "-" " " | title }}"
+date = {{ .Date }}
+weight = 5
+chapter = true
+pre = "<b>X. </b>"
++++
+
+### Chapter X
+
+# Some Chapter title
+
+Lorem Ipsum.
+```
+
+## Défaut
+
+Pour créer une page classique, lancer l'une des deux commandes suivantes
+
+```
+# Soit
+hugo new <chapter>/<name>/_index.md
+# Ou
+hugo new <chapter>/<name>.md
+```
+
+Cela crééra une page avec le Front Matter suivant:
+
+```markdown
++++
+title = "{{ replace .Name "-" " " | title }}"
+date =  {{ .Date }}
+weight = 5
++++
+
+Lorem Ipsum.
+```
\ No newline at end of file
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/i18n/_index.en.md b/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/i18n/_index.en.md
new file mode 100644
index 00000000000..c35327582bb
--- /dev/null
+++ b/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/i18n/_index.en.md
@@ -0,0 +1,78 @@
+---
+date: 2016-04-09T16:50:16+02:00
+title: Multilingual and i18n
+weight: 30
+---
+
+**Learn theme** is fully compatible with Hugo multilingual mode.
+
+It provides:
+
+- Translation strings for default values (English and French). Feel free to contribute !
+- Automatic menu generation from multilingual content
+- In-browser language switching
+
+![I18n menu](/en/cont/i18n/images/i18n-menu.gif)
+
+## Basic configuration
+
+After learning [how Hugo handle multilingual websites](https://gohugo.io/content-management/multilingual), define your languages in your `config.toml` file.
+
+For example with current French and English website.
+
+```toml
+# English is the default language
+defaultContentLanguage = "en"
+# Force to have /en/my-page and /fr/my-page routes, even for default language.
+defaultContentLanguageInSubdir= true
+
+[Languages]
+[Languages.en]
+title = "Documentation for Hugo Learn Theme"
+weight = 1
+languageName = "English"
+
+[Languages.fr]
+title = "Documentation du thème Hugo Learn"
+weight = 2
+languageName = "Français"
+```
+
+Then, for each new page, append the *id* of the language to the file.
+
+- Single file `my-page.md` is split in two files:
+    - in English: `my-page.en.md`
+    - in French: `my-page.fr.md`
+- Single file `_index.md` is split in two files:
+    - in English: `_index.en.md`
+    - in French: `_index.fr.md`
+
+{{% notice info %}}
+Be aware that only translated pages are displayed in menu. It's not replaced with default language content.
+{{% /notice %}}
+
+{{% notice tip %}}
+Use [slug](https://gohugo.io/content-management/multilingual/#translate-your-content) Front Matter parameter to translate urls too.
+{{% /notice %}}
+
+## Overwrite translation strings
+
+Translations strings are used for common default values used in the theme (*Edit this page* button, *Search placeholder* and so on). Translations are available in french and english but you may use another language or want to override default values.
+
+To override these values, create a new file in your local i18n folder `i18n/<idlanguage>.toml` and inspire yourself from the theme `themes/hugo-theme-learn/i18n/en.toml` 
+
+By the way, as these translations could be used by other people, please take the time to propose a translation by [making a PR](https://github.com/matcornic/hugo-theme-learn/pulls) to the theme ! 
+
+## Disable language switching
+
+Switching the language in the browser is a great feature, but for some reasons you may want to disable it. 
+
+Just set `disableLanguageSwitchingButton=true` in your `config.toml`
+
+```toml
+[params]
+  # When using mulitlingual website, disable the switch language button.
+  disableLanguageSwitchingButton = true
+```
+
+![I18n menu](/en/cont/i18n/images/i18n-menu.gif)
\ No newline at end of file
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/i18n/_index.fr.md b/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/i18n/_index.fr.md
new file mode 100644
index 00000000000..6503abf4cd4
--- /dev/null
+++ b/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/i18n/_index.fr.md
@@ -0,0 +1,78 @@
+---
+date: 2016-04-09T16:50:16+02:00
+title: Multi-langue et i18n
+weight: 30
+---
+
+**Learn** est complètement compatible avec le mode multi-langue d'Hugo.
+
+Il fournit :
+
+- Des *translation strings* pour les valeurs par défaut utilisées par le thème (Anglais et Français). N'hésitez pas à contribuer !
+- Génération automatique du menu avec le contenu multi-langue
+- Modification de la langue dans le navigateur
+
+![I18n menu](/en/cont/i18n/images/i18n-menu.gif)
+
+## Configuration simple
+
+Après avoir appris [comment Hugo gère les sites multi-langue](https://gohugo.io/content-management/multilingual), définissez vos langues dans votre fichier `config.toml`.
+
+Par exemple, pour ce site, avec du contenu en français et en anglais.
+
+```toml
+# Anglais est la langue par défaut
+defaultContentLanguage = "en"
+# Force d'avoir /en/ma-page et /fr/ma-page routes, même avec la langue par défaut.
+defaultContentLanguageInSubdir= true
+
+[Languages]
+[Languages.en]
+title = "Documentation for Hugo Learn Theme"
+weight = 1
+languageName = "English"
+
+[Languages.fr]
+title = "Documentation du thème Hugo Learn"
+weight = 2
+languageName = "Français"
+```
+
+Puis, pour chaque nouvelle page, ajoutez *l'id* de la langue du fichier.
+
+- Le fichier `my-page.md` est découpé en deux fichiers :
+    - en anglais : `my-page.en.md`
+    - en français : `my-page.fr.md`
+- Le fichier `_index.md` est découpé en deux fichiers :
+    - en anglais: `_index.en.md`
+    - en français: `_index.fr.md`
+
+{{% notice info %}}
+Attention, seulement les pages traduites sont affichées dans le menu. Le contenu n'est pas remplacé par les pages de la langue par défaut.
+{{% /notice %}}
+
+{{% notice tip %}}
+Utilisez le paramètre du Front Matter [slug](https://gohugo.io/content-management/multilingual/#translate-your-content) pour traduire également les URLs.
+{{% /notice %}}
+
+## Surcharger les *translation strings*
+
+Les *Translations strings* sont utilisées comme valeurs par défaut dans le thème (Bouton *Modifier la page*, Element de subsitution *Recherche*, etc.). Les traductions sont disponibles en français et en anglais mais vous pouvez utiliser n'importe quelle autre langue et surcharger avec vos propres valeurs.
+
+Pour surcharger ces valeurs, créer un nouveau fichier dans votre dossier i18n local `i18n/<idlanguage>.toml` et inspirez vous du thème `themes/hugo-theme-learn/i18n/en.toml` 
+
+D'ailleurs, ces traductions pour servir à tout le monde, donc svp prenez le temps de [proposer une Pull Request](https://github.com/matcornic/hugo-theme-learn/pulls) ! 
+
+## Désactiver le changement de langue
+
+Vous pouvez changer de langue directement dans le navigateur. C'est une super fonctionnalité, mais vous avez peut-être besoin de la désactiver. 
+
+Pour ce faire, ajouter le paramètre `disableLanguageSwitchingButton=true` dans votre `config.toml`
+
+```toml
+[params]
+  # Quand vous utilisez un site en multi-langue, désactive le bouton de changment de langue.
+  disableLanguageSwitchingButton = true
+```
+
+![I18n menu](/en/cont/i18n/images/i18n-menu.gif)
\ No newline at end of file
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/icons.en.md b/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/icons.en.md
new file mode 100644
index 00000000000..ad769c6c1c7
--- /dev/null
+++ b/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/icons.en.md
@@ -0,0 +1,41 @@
+---
+title: Icons and logos
+weight: 27
+---
+
+The Learn theme for Hugo loads the [**Font Awesome**](https://fontawesome.com) library, allowing you to easily display any icon or logo available in the Font Awesome free collection.
+
+## Finding an icon
+
+Browse through the available icons in the [Font Awesome Gallery](https://fontawesome.com/icons?d=gallery&m=free). Notice that the **free** filter is enabled, as only the free icons are available by default.
+
+Once on the Font Awesome page for a specific icon, for example the page for the [heart](https://fontawesome.com/icons/heart?style=solid), copy the HTML reference and paste into the markdown content.
+
+The HTML to include the heart icon is:
+
+```
+<i class="fas fa-heart"></i>
+```
+
+## Including in markdown
+
+Paste the `<i>` HTML into markup and Font Awesome will load the relevant icon.
+
+```
+Built with <i class="fas fa-heart"></i> from Grav and Hugo
+```
+
+Which appears as
+
+Built with <i class="fas fa-heart"></i> from Grav and Hugo
+
+## Customising icons
+
+Font Awesome provides many ways to modify the icon
+
+* Change colour (by default the icon will inherit the parent colour)
+* Increase or decrease size
+* Rotate
+* Combine with other icons
+
+Check the full documentation on [web fonts with CSS](https://fontawesome.com/how-to-use/web-fonts-with-css) for more.
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/markdown.en.md b/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/markdown.en.md
new file mode 100644
index 00000000000..c97701e01d3
--- /dev/null
+++ b/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/markdown.en.md
@@ -0,0 +1,692 @@
+---
+date: 2016-04-09T16:50:16+02:00
+title: Markdown syntax
+weight: 15
+---
+
+{{% notice note %}}
+This page is a shameful copy of the great [Grav original page](http://learn.getgrav.org/content/markdown).
+Only difference is information about image customization ([resizing]({{< relref "#resizing-image" >}}), [add CSS classes]({{< relref "#add-css-classes" >}})...)
+{{% /notice%}}
+
+Let's face it: Writing content for the Web is tiresome. WYSIWYG editors help alleviate this task, but they generally result in horrible code, or worse yet, ugly web pages.
+
+**Markdown** is a better way to write **HTML**, without all the complexities and ugliness that usually accompanies it.
+
+Some of the key benefits are:
+
+1. Markdown is simple to learn, with minimal extra characters so it's also quicker to write content.
+2. Less chance of errors when writing in markdown.
+3. Produces valid XHTML output.
+4. Keeps the content and the visual display separate, so you cannot mess up the look of your site.
+5. Write in any text editor or Markdown application you like.
+6. Markdown is a joy to use!
+
+John Gruber, the author of Markdown, puts it like this:
+
+> The overriding design goal for Markdown’s formatting syntax is to make it as readable as possible. The idea is that a Markdown-formatted document should be publishable as-is, as plain text, without looking like it’s been marked up with tags or formatting instructions. While Markdown’s syntax has been influenced by several existing text-to-HTML filters, the single biggest source of inspiration for Markdown’s syntax is the format of plain text email.
+> -- John Gruber
+
+Grav ships with built-in support for [Markdown](http://daringfireball.net/projects/markdown/) and [Markdown Extra](https://michelf.ca/projects/php-markdown/extra/). You must enable **Markdown Extra** in your `system.yaml` configuration file
+
+Without further delay, let us go over the main elements of Markdown and what the resulting HTML looks like:
+
+{{% notice info %}}
+<i class="fas fa-bookmark"></i> Bookmark this page for easy future reference!
+{{% /notice %}}
+
+## Headings
+
+Headings from `h1` through `h6` are constructed with a `#` for each level:
+
+```markdown
+# h1 Heading
+## h2 Heading
+### h3 Heading
+#### h4 Heading
+##### h5 Heading
+###### h6 Heading
+```
+
+Renders to:
+<!-- markdownlint-disable MD025 -->
+# h1 Heading
+<!-- markdownlint-enable MD025 -->
+
+## h2 Heading
+
+### h3 Heading
+
+#### h4 Heading
+
+##### h5 Heading
+
+###### h6 Heading
+
+HTML:
+
+```html
+<h1>h1 Heading</h1>
+<h2>h2 Heading</h2>
+<h3>h3 Heading</h3>
+<h4>h4 Heading</h4>
+<h5>h5 Heading</h5>
+<h6>h6 Heading</h6>
+```
+
+## Comments
+
+Comments should be HTML compatible
+
+```html
+<!--
+This is a comment
+-->
+```
+
+Comment below should **NOT** be seen:
+
+<!--
+This is a comment
+-->
+
+## Horizontal Rules
+
+The HTML `<hr>` element is for creating a "thematic break" between paragraph-level elements. In markdown, you can create a `<hr>` with any of the following:
+
+* `___`: three consecutive underscores
+* `---`: three consecutive dashes
+* `***`: three consecutive asterisks
+
+renders to:
+
+___
+
+## Body Copy
+
+Body copy written as normal, plain text will be wrapped with `<p></p>` tags in the rendered HTML.
+
+So this body copy:
+
+```markdown
+Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus. Et legere ocurreret pri, animal tacimates complectitur ad cum. Cu eum inermis inimicus efficiendi. Labore officiis his ex, soluta officiis concludaturque ei qui, vide sensibus vim ad.
+```
+
+renders to this HTML:
+
+```html
+<p>Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus. Et legere ocurreret pri, animal tacimates complectitur ad cum. Cu eum inermis inimicus efficiendi. Labore officiis his ex, soluta officiis concludaturque ei qui, vide sensibus vim ad.</p>
+```
+
+## Emphasis
+
+### Bold
+
+For emphasizing a snippet of text with a heavier font-weight.
+
+The following snippet of text is **rendered as bold text**.
+
+```markdown
+**rendered as bold text**
+```
+
+renders to:
+
+<!-- markdownlint-disable MD036 -->
+**rendered as bold text**
+<!-- markdownlint-enable MD036 -->
+
+and this HTML
+
+```html
+<strong>rendered as bold text</strong>
+```
+
+### Italics
+
+For emphasizing a snippet of text with italics.
+
+The following snippet of text is _rendered as italicized text_.
+
+```markdown
+_rendered as italicized text_
+```
+
+renders to:
+
+<!-- markdownlint-disable MD036 -->
+_rendered as italicized text_
+<!-- markdownlint-enable MD036 -->
+
+and this HTML:
+
+```html
+<em>rendered as italicized text</em>
+```
+
+### Strikethrough
+
+In GFM (GitHub flavored Markdown) you can do strikethroughs.
+
+```markdown
+~~Strike through this text.~~
+```
+
+Which renders to:
+
+~~Strike through this text.~~
+
+HTML:
+
+```html
+<del>Strike through this text.</del>
+```
+
+## Blockquotes
+
+For quoting blocks of content from another source within your document.
+
+Add `>` before any text you want to quote.
+
+```markdown
+> **Fusion Drive** combines a hard drive with a flash storage (solid-state drive) and presents it as a single logical volume with the space of both drives combined.
+```
+
+Renders to:
+
+> **Fusion Drive** combines a hard drive with a flash storage (solid-state drive) and presents it as a single logical volume with the space of both drives combined.
+
+and this HTML:
+
+```html
+<blockquote>
+  <p><strong>Fusion Drive</strong> combines a hard drive with a flash storage (solid-state drive) and presents it as a single logical volume with the space of both drives combined.</p>
+</blockquote>
+```
+
+Blockquotes can also be nested:
+
+```markdown
+> Donec massa lacus, ultricies a ullamcorper in, fermentum sed augue. Nunc augue augue, aliquam non hendrerit ac, commodo vel nisi.
+>
+> > Sed adipiscing elit vitae augue consectetur a gravida nunc vehicula. Donec auctor odio non est accumsan facilisis. Aliquam id turpis in dolor tincidunt mollis ac eu diam.
+>
+> Mauris sit amet ligula egestas, feugiat metus tincidunt, luctus libero. Donec congue finibus tempor. Vestibulum aliquet sollicitudin erat, ut aliquet purus posuere luctus.
+```
+
+Renders to:
+
+> Donec massa lacus, ultricies a ullamcorper in, fermentum sed augue. Nunc augue augue, aliquam non hendrerit ac, commodo vel nisi.
+>
+> > Sed adipiscing elit vitae augue consectetur a gravida nunc vehicula. Donec auctor odio non est accumsan facilisis. Aliquam id turpis in dolor tincidunt mollis ac eu diam.
+>
+> Mauris sit amet ligula egestas, feugiat metus tincidunt, luctus libero. Donec congue finibus tempor. Vestibulum aliquet sollicitudin erat, ut aliquet purus posuere luctus.
+
+## Notices
+
+{{% notice note %}}
+The old mechanism for notices overriding the block quote syntax (`>>>`) has been deprecated.  Notices are now handled via a dedicated plugin called [Markdown Notices](https://github.com/getgrav/grav-plugin-markdown-notices)
+{{% /notice %}}
+
+## Lists
+
+### Unordered
+
+A list of items in which the order of the items does not explicitly matter.
+
+You may use any of the following symbols to denote bullets for each list item:
+
+```markdown
+* valid bullet
+- valid bullet
++ valid bullet
+```
+
+For example
+
+```markdown
++ Lorem ipsum dolor sit amet
++ Consectetur adipiscing elit
++ Integer molestie lorem at massa
++ Facilisis in pretium nisl aliquet
++ Nulla volutpat aliquam velit
+  - Phasellus iaculis neque
+  - Purus sodales ultricies
+  - Vestibulum laoreet porttitor sem
+  - Ac tristique libero volutpat at
++ Faucibus porta lacus fringilla vel
++ Aenean sit amet erat nunc
++ Eget porttitor lorem
+```
+
+Renders to:
+
+<!-- markdownlint-disable MD004 -->
++ Lorem ipsum dolor sit amet
++ Consectetur adipiscing elit
++ Integer molestie lorem at massa
++ Facilisis in pretium nisl aliquet
++ Nulla volutpat aliquam velit
+  - Phasellus iaculis neque
+  - Purus sodales ultricies
+  - Vestibulum laoreet porttitor sem
+  - Ac tristique libero volutpat at
++ Faucibus porta lacus fringilla vel
++ Aenean sit amet erat nunc
++ Eget porttitor lorem
+<!-- markdownlint-enable MD004 -->
+
+And this HTML
+
+```html
+<ul>
+  <li>Lorem ipsum dolor sit amet</li>
+  <li>Consectetur adipiscing elit</li>
+  <li>Integer molestie lorem at massa</li>
+  <li>Facilisis in pretium nisl aliquet</li>
+  <li>Nulla volutpat aliquam velit
+    <ul>
+      <li>Phasellus iaculis neque</li>
+      <li>Purus sodales ultricies</li>
+      <li>Vestibulum laoreet porttitor sem</li>
+      <li>Ac tristique libero volutpat at</li>
+    </ul>
+  </li>
+  <li>Faucibus porta lacus fringilla vel</li>
+  <li>Aenean sit amet erat nunc</li>
+  <li>Eget porttitor lorem</li>
+</ul>
+```
+
+### Ordered
+
+A list of items in which the order of items does explicitly matter.
+
+```markdown
+1. Lorem ipsum dolor sit amet
+4. Consectetur adipiscing elit
+2. Integer molestie lorem at massa
+8. Facilisis in pretium nisl aliquet
+4. Nulla volutpat aliquam velit
+99. Faucibus porta lacus fringilla vel
+21. Aenean sit amet erat nunc
+6. Eget porttitor lorem
+```
+
+Renders to:
+
+1. Lorem ipsum dolor sit amet
+2. Consectetur adipiscing elit
+3. Integer molestie lorem at massa
+4. Facilisis in pretium nisl aliquet
+5. Nulla volutpat aliquam velit
+6. Faucibus porta lacus fringilla vel
+7. Aenean sit amet erat nunc
+8. Eget porttitor lorem
+
+And this HTML:
+
+```html
+<ol>
+  <li>Lorem ipsum dolor sit amet</li>
+  <li>Consectetur adipiscing elit</li>
+  <li>Integer molestie lorem at massa</li>
+  <li>Facilisis in pretium nisl aliquet</li>
+  <li>Nulla volutpat aliquam velit</li>
+  <li>Faucibus porta lacus fringilla vel</li>
+  <li>Aenean sit amet erat nunc</li>
+  <li>Eget porttitor lorem</li>
+</ol>
+```
+
+**TIP**: If you just use `1.` for each number, Markdown will automatically number each item. For example:
+
+```markdown
+1. Lorem ipsum dolor sit amet
+1. Consectetur adipiscing elit
+1. Integer molestie lorem at massa
+1. Facilisis in pretium nisl aliquet
+1. Nulla volutpat aliquam velit
+1. Faucibus porta lacus fringilla vel
+1. Aenean sit amet erat nunc
+1. Eget porttitor lorem
+```
+
+Renders to:
+
+1. Lorem ipsum dolor sit amet
+2. Consectetur adipiscing elit
+3. Integer molestie lorem at massa
+4. Facilisis in pretium nisl aliquet
+5. Nulla volutpat aliquam velit
+6. Faucibus porta lacus fringilla vel
+7. Aenean sit amet erat nunc
+8. Eget porttitor lorem
+
+## Code
+
+### Inline code
+
+Wrap inline snippets of code with `` ` ``.
+
+```markdown
+In this example, `<section></section>` should be wrapped as **code**.
+```
+
+Renders to:
+
+In this example, `<section></section>` should be wrapped as **code**.
+
+HTML:
+
+```html
+<p>In this example, <code>&lt;section&gt;&lt;/section&gt;</code> should be wrapped as <strong>code</strong>.</p>
+```
+
+### Indented code
+
+Or indent several lines of code by at least two spaces, as in:
+
+```markdown
+    // Some comments
+    line 1 of code
+    line 2 of code
+    line 3 of code
+```
+
+Renders to:
+
+<!-- markdownlint-disable MD046 -->
+    // Some comments
+    line 1 of code
+    line 2 of code
+    line 3 of code
+<!-- markdownlint-enable MD046 -->
+
+HTML:
+
+```html
+<pre>
+  <code>
+    // Some comments
+    line 1 of code
+    line 2 of code
+    line 3 of code
+  </code>
+</pre>
+```
+
+### Block code "fences"
+
+Use "fences"  ```` ``` ```` to block in multiple lines of code.
+
+```markdown
+Sample text here...
+```
+
+HTML:
+
+```html
+<pre>
+  <code>Sample text here...</code>
+</pre>
+```
+
+### Syntax highlighting
+
+GFM, or "GitHub Flavored Markdown" also supports syntax highlighting. To activate it, simply add the file extension of the language you want to use directly after the first code "fence", ` ```js `, and syntax highlighting will automatically be applied in the rendered HTML.
+
+See [Code Highlighting]({{< ref "syntaxhighlight.md" >}}) for additional documentation.
+
+For example, to apply syntax highlighting to JavaScript code:
+
+```plaintext
+    ```js
+    grunt.initConfig({
+      assemble: {
+        options: {
+          assets: 'docs/assets',
+          data: 'src/data/*.{json,yml}',
+          helpers: 'src/custom-helpers.js',
+          partials: ['src/partials/**/*.{hbs,md}']
+        },
+        pages: {
+          options: {
+            layout: 'default.hbs'
+          },
+          files: {
+            './': ['src/templates/pages/index.hbs']
+          }
+        }
+      }
+    };
+    ```
+```
+
+Renders to:
+
+```js
+grunt.initConfig({
+  assemble: {
+    options: {
+      assets: 'docs/assets',
+      data: 'src/data/*.{json,yml}',
+      helpers: 'src/custom-helpers.js',
+      partials: ['src/partials/**/*.{hbs,md}']
+    },
+    pages: {
+      options: {
+        layout: 'default.hbs'
+      },
+      files: {
+        './': ['src/templates/pages/index.hbs']
+      }
+    }
+  }
+};
+```
+
+## Tables
+
+Tables are created by adding pipes as dividers between each cell, and by adding a line of dashes (also separated by bars) beneath the header. Note that the pipes do not need to be vertically aligned.
+
+```markdown
+| Option | Description |
+| ------ | ----------- |
+| data   | path to data files to supply the data that will be passed into templates. |
+| engine | engine to be used for processing templates. Handlebars is the default. |
+| ext    | extension to be used for dest files. |
+```
+
+Renders to:
+
+| Option | Description |
+| ------ | ----------- |
+| data   | path to data files to supply the data that will be passed into templates. |
+| engine | engine to be used for processing templates. Handlebars is the default. |
+| ext    | extension to be used for dest files. |
+
+And this HTML:
+
+```html
+<table>
+  <tr>
+    <th>Option</th>
+    <th>Description</th>
+  </tr>
+  <tr>
+    <td>data</td>
+    <td>path to data files to supply the data that will be passed into templates.</td>
+  </tr>
+  <tr>
+    <td>engine</td>
+    <td>engine to be used for processing templates. Handlebars is the default.</td>
+  </tr>
+  <tr>
+    <td>ext</td>
+    <td>extension to be used for dest files.</td>
+  </tr>
+</table>
+```
+
+### Right aligned text
+
+Adding a colon on the right side of the dashes below any heading will right align text for that column.
+
+```markdown
+| Option | Description |
+| ------:| -----------:|
+| data   | path to data files to supply the data that will be passed into templates. |
+| engine | engine to be used for processing templates. Handlebars is the default. |
+| ext    | extension to be used for dest files. |
+```
+
+| Option | Description |
+| ------:| -----------:|
+| data   | path to data files to supply the data that will be passed into templates. |
+| engine | engine to be used for processing templates. Handlebars is the default. |
+| ext    | extension to be used for dest files. |
+
+## Links
+
+### Basic link
+
+```markdown
+[Assemble](http://assemble.io)
+```
+
+Renders to (hover over the link, there is no tooltip):
+
+[Assemble](http://assemble.io)
+
+HTML:
+
+```html
+<a href="http://assemble.io">Assemble</a>
+```
+
+### Add a tooltip
+
+```markdown
+[Upstage](https://github.com/upstage/ "Visit Upstage!")
+```
+
+Renders to (hover over the link, there should be a tooltip):
+
+[Upstage](https://github.com/upstage/ "Visit Upstage!")
+
+HTML:
+
+```html
+<a href="https://github.com/upstage/" title="Visit Upstage!">Upstage</a>
+```
+
+### Named Anchors
+
+Named anchors enable you to jump to the specified anchor point on the same page. For example, each of these chapters:
+
+```markdown
+# Table of Contents
+  * [Chapter 1](#chapter-1)
+  * [Chapter 2](#chapter-2)
+  * [Chapter 3](#chapter-3)
+```
+
+will jump to these sections:
+
+```markdown
+## Chapter 1 <a id="chapter-1"></a>
+Content for chapter one.
+
+## Chapter 2 <a id="chapter-2"></a>
+Content for chapter one.
+
+## Chapter 3 <a id="chapter-3"></a>
+Content for chapter one.
+```
+**NOTE** that specific placement of the anchor tag seems to be arbitrary. They are placed inline here since it seems to be unobtrusive, and it works.
+
+## Images {#images}
+Images have a similar syntax to links but include a preceding exclamation point.
+
+```markdown
+![Minion](https://octodex.github.com/images/minion.png)
+```
+
+![Minion](https://octodex.github.com/images/minion.png)
+
+or
+
+```markdown
+![Alt text](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
+```
+
+![Alt text](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
+
+Like links, Images also have a footnote style syntax
+
+### Alternative usage : note images
+
+```markdown
+![Alt text][id]
+```
+
+![Alt text][id]
+
+With a reference later in the document defining the URL location:
+
+[id]: https://octodex.github.com/images/dojocat.jpg  "The Dojocat"
+
+    [id]: https://octodex.github.com/images/dojocat.jpg  "The Dojocat"
+
+### Resizing image
+
+Add HTTP parameters `width` and/or `height` to the link image to resize the image. Values are CSS values (default is `auto`).
+
+```markdown
+![Minion](https://octodex.github.com/images/minion.png?width=20pc)
+```
+
+![Minion](https://octodex.github.com/images/minion.png?width=20pc)
+
+```markdown
+![Minion](https://octodex.github.com/images/minion.png?height=50px)
+```
+
+![Minion](https://octodex.github.com/images/minion.png?height=50px)
+
+```markdown
+![Minion](https://octodex.github.com/images/minion.png?height=50px&width=300px)
+```
+
+![Minion](https://octodex.github.com/images/minion.png?height=50px&width=300px)
+
+### Add CSS classes
+
+Add a HTTP `classes` parameter to the link image to add CSS classes. `shadow`and `border` are available but you could define other ones.
+
+```markdown
+![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?classes=shadow)
+```
+
+![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=shadow)
+
+```markdown
+![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?classes=border)
+```
+
+![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=border)
+
+```markdown
+![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?classes=border,shadow)
+```
+
+![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=border,shadow)
+
+### Lightbox
+
+Add a HTTP `featherlight` parameter to the link image to disable lightbox. By default lightbox is enabled using the featherlight.js plugin. You can disable this by defining `featherlight` to `false`.
+
+```markdown
+![Minion](https://octodex.github.com/images/minion.png?featherlight=false)
+```
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/markdown.fr.md b/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/markdown.fr.md
new file mode 100644
index 00000000000..e734b31cd93
--- /dev/null
+++ b/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/markdown.fr.md
@@ -0,0 +1,666 @@
+---
+date: 2016-04-09T16:50:16+02:00
+title: Syntaxe Markdown
+weight: 15
+---
+
+{{% notice note %}}
+Cette page est une copie de la [doc de Grav](http://learn.getgrav.org/content/markdown).
+La seule différence porte sur la personalisation des images ([taille]({{< relref "#resizing-image" >}}), [ajout de classes CSS]({{< relref "#add-css-classes" >}})...)
+Pour des raisons évidentes, cette page n'a pas été traduites en français 😁
+{{% /notice%}}
+
+Let's face it: Writing content for the Web is tiresome. WYSIWYG editors help alleviate this task, but they generally result in horrible code, or worse yet, ugly web pages.
+
+**Markdown** is a better way to write **HTML**, without all the complexities and ugliness that usually accompanies it.
+
+Some of the key benefits are:
+
+1. Markdown is simple to learn, with minimal extra characters so it's also quicker to write content.
+2. Less chance of errors when writing in markdown.
+3. Produces valid XHTML output.
+4. Keeps the content and the visual display separate, so you cannot mess up the look of your site.
+5. Write in any text editor or Markdown application you like.
+6. Markdown is a joy to use!
+
+John Gruber, the author of Markdown, puts it like this:
+
+> The overriding design goal for Markdown’s formatting syntax is to make it as readable as possible. The idea is that a Markdown-formatted document should be publishable as-is, as plain text, without looking like it’s been marked up with tags or formatting instructions. While Markdown’s syntax has been influenced by several existing text-to-HTML filters, the single biggest source of inspiration for Markdown’s syntax is the format of plain text email.
+> -- <cite>John Gruber</cite>
+
+
+Grav ships with built-in support for [Markdown](http://daringfireball.net/projects/markdown/) and [Markdown Extra](https://michelf.ca/projects/php-markdown/extra/). You must enable **Markdown Extra** in your `system.yaml` configuration file
+
+Without further delay, let us go over the main elements of Markdown and what the resulting HTML looks like:
+
+{{% notice info %}}
+<i class="fas fa-bookmark"></i> Bookmark this page for easy future reference!
+{{% /notice %}}
+
+## Headings
+
+Headings from `h1` through `h6` are constructed with a `#` for each level:
+
+```markdown
+# h1 Heading
+## h2 Heading
+### h3 Heading
+#### h4 Heading
+##### h5 Heading
+###### h6 Heading
+```
+
+Renders to:
+
+# h1 Heading
+## h2 Heading
+### h3 Heading
+#### h4 Heading
+##### h5 Heading
+###### h6 Heading
+
+HTML:
+
+```html
+<h1>h1 Heading</h1>
+<h2>h2 Heading</h2>
+<h3>h3 Heading</h3>
+<h4>h4 Heading</h4>
+<h5>h5 Heading</h5>
+<h6>h6 Heading</h6>
+```
+
+## Comments
+
+Comments should be HTML compatible
+
+```html
+<!--
+This is a comment
+-->
+```
+Comment below should **NOT** be seen:
+
+<!--
+This is a comment
+-->
+
+
+## Horizontal Rules
+
+The HTML `<hr>` element is for creating a "thematic break" between paragraph-level elements. In markdown, you can create a `<hr>` with any of the following:
+
+* `___`: three consecutive underscores
+* `---`: three consecutive dashes
+* `***`: three consecutive asterisks
+
+renders to:
+
+___
+
+---
+
+***
+
+
+## Body Copy
+
+Body copy written as normal, plain text will be wrapped with `<p></p>` tags in the rendered HTML.
+
+So this body copy:
+
+```markdown
+Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus. Et legere ocurreret pri, animal tacimates complectitur ad cum. Cu eum inermis inimicus efficiendi. Labore officiis his ex, soluta officiis concludaturque ei qui, vide sensibus vim ad.
+```
+renders to this HTML:
+
+```html
+<p>Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus. Et legere ocurreret pri, animal tacimates complectitur ad cum. Cu eum inermis inimicus efficiendi. Labore officiis his ex, soluta officiis concludaturque ei qui, vide sensibus vim ad.</p>
+```
+
+## Emphasis
+
+### Bold
+For emphasizing a snippet of text with a heavier font-weight.
+
+The following snippet of text is **rendered as bold text**.
+
+```markdown
+**rendered as bold text**
+```
+renders to:
+
+**rendered as bold text**
+
+and this HTML
+
+```html
+<strong>rendered as bold text</strong>
+```
+
+### Italics
+For emphasizing a snippet of text with italics.
+
+The following snippet of text is _rendered as italicized text_.
+
+```markdown
+_rendered as italicized text_
+```
+
+renders to:
+
+_rendered as italicized text_
+
+and this HTML:
+
+```html
+<em>rendered as italicized text</em>
+```
+
+
+### strikethrough
+In GFM (GitHub flavored Markdown) you can do strikethroughs.
+
+```markdown
+~~Strike through this text.~~
+```
+Which renders to:
+
+~~Strike through this text.~~
+
+HTML:
+
+```html
+<del>Strike through this text.</del>
+```
+
+## Blockquotes
+
+For quoting blocks of content from another source within your document.
+
+Add `>` before any text you want to quote.
+
+```markdown
+> **Fusion Drive** combines a hard drive with a flash storage (solid-state drive) and presents it as a single logical volume with the space of both drives combined.
+```
+
+Renders to:
+
+> **Fusion Drive** combines a hard drive with a flash storage (solid-state drive) and presents it as a single logical volume with the space of both drives combined.
+
+and this HTML:
+
+```html
+<blockquote>
+  <p><strong>Fusion Drive</strong> combines a hard drive with a flash storage (solid-state drive) and presents it as a single logical volume with the space of both drives combined.</p>
+</blockquote>
+```
+
+Blockquotes can also be nested:
+
+```markdown
+> Donec massa lacus, ultricies a ullamcorper in, fermentum sed augue. Nunc augue augue, aliquam non hendrerit ac, commodo vel nisi.
+>
+> > Sed adipiscing elit vitae augue consectetur a gravida nunc vehicula. Donec auctor odio non est accumsan facilisis. Aliquam id turpis in dolor tincidunt mollis ac eu diam.
+>
+> Mauris sit amet ligula egestas, feugiat metus tincidunt, luctus libero. Donec congue finibus tempor. Vestibulum aliquet sollicitudin erat, ut aliquet purus posuere luctus.
+```
+
+Renders to:
+
+> Donec massa lacus, ultricies a ullamcorper in, fermentum sed augue. Nunc augue augue, aliquam non hendrerit ac, commodo vel nisi.
+>
+> > Sed adipiscing elit vitae augue consectetur a gravida nunc vehicula. Donec auctor odio non est accumsan facilisis. Aliquam id turpis in dolor tincidunt mollis ac eu diam.
+>
+> Mauris sit amet ligula egestas, feugiat metus tincidunt, luctus libero. Donec congue finibus tempor. Vestibulum aliquet sollicitudin erat, ut aliquet purus posuere luctus.
+
+## Notices
+
+{{% notice note %}}
+The old mechanism for notices overriding the block quote syntax (`>>>`) has been deprecated.  Notices are now handled via a dedicated plugin called [Markdown Notices](https://github.com/getgrav/grav-plugin-markdown-notices)
+{{% /notice %}}
+
+## Lists
+
+### Unordered
+A list of items in which the order of the items does not explicitly matter.
+
+You may use any of the following symbols to denote bullets for each list item:
+
+```markdown
+* valid bullet
+- valid bullet
++ valid bullet
+```
+
+For example
+
+```markdown
++ Lorem ipsum dolor sit amet
++ Consectetur adipiscing elit
++ Integer molestie lorem at massa
++ Facilisis in pretium nisl aliquet
++ Nulla volutpat aliquam velit
+  - Phasellus iaculis neque
+  - Purus sodales ultricies
+  - Vestibulum laoreet porttitor sem
+  - Ac tristique libero volutpat at
++ Faucibus porta lacus fringilla vel
++ Aenean sit amet erat nunc
++ Eget porttitor lorem
+```
+Renders to:
+
++ Lorem ipsum dolor sit amet
++ Consectetur adipiscing elit
++ Integer molestie lorem at massa
++ Facilisis in pretium nisl aliquet
++ Nulla volutpat aliquam velit
+  - Phasellus iaculis neque
+  - Purus sodales ultricies
+  - Vestibulum laoreet porttitor sem
+  - Ac tristique libero volutpat at
++ Faucibus porta lacus fringilla vel
++ Aenean sit amet erat nunc
++ Eget porttitor lorem
+
+And this HTML
+
+```html
+<ul>
+  <li>Lorem ipsum dolor sit amet</li>
+  <li>Consectetur adipiscing elit</li>
+  <li>Integer molestie lorem at massa</li>
+  <li>Facilisis in pretium nisl aliquet</li>
+  <li>Nulla volutpat aliquam velit
+    <ul>
+      <li>Phasellus iaculis neque</li>
+      <li>Purus sodales ultricies</li>
+      <li>Vestibulum laoreet porttitor sem</li>
+      <li>Ac tristique libero volutpat at</li>
+    </ul>
+  </li>
+  <li>Faucibus porta lacus fringilla vel</li>
+  <li>Aenean sit amet erat nunc</li>
+  <li>Eget porttitor lorem</li>
+</ul>
+```
+
+### Ordered
+
+A list of items in which the order of items does explicitly matter.
+
+```markdown
+1. Lorem ipsum dolor sit amet
+2. Consectetur adipiscing elit
+3. Integer molestie lorem at massa
+4. Facilisis in pretium nisl aliquet
+5. Nulla volutpat aliquam velit
+6. Faucibus porta lacus fringilla vel
+7. Aenean sit amet erat nunc
+8. Eget porttitor lorem
+```
+Renders to:
+
+1. Lorem ipsum dolor sit amet
+2. Consectetur adipiscing elit
+3. Integer molestie lorem at massa
+4. Facilisis in pretium nisl aliquet
+5. Nulla volutpat aliquam velit
+6. Faucibus porta lacus fringilla vel
+7. Aenean sit amet erat nunc
+8. Eget porttitor lorem
+
+And this HTML:
+
+```html
+<ol>
+  <li>Lorem ipsum dolor sit amet</li>
+  <li>Consectetur adipiscing elit</li>
+  <li>Integer molestie lorem at massa</li>
+  <li>Facilisis in pretium nisl aliquet</li>
+  <li>Nulla volutpat aliquam velit</li>
+  <li>Faucibus porta lacus fringilla vel</li>
+  <li>Aenean sit amet erat nunc</li>
+  <li>Eget porttitor lorem</li>
+</ol>
+```
+
+**TIP**: If you just use `1.` for each number, Markdown will automatically number each item. For example:
+
+```markdown
+1. Lorem ipsum dolor sit amet
+1. Consectetur adipiscing elit
+1. Integer molestie lorem at massa
+1. Facilisis in pretium nisl aliquet
+1. Nulla volutpat aliquam velit
+1. Faucibus porta lacus fringilla vel
+1. Aenean sit amet erat nunc
+1. Eget porttitor lorem
+```
+
+Renders to:
+
+1. Lorem ipsum dolor sit amet
+2. Consectetur adipiscing elit
+3. Integer molestie lorem at massa
+4. Facilisis in pretium nisl aliquet
+5. Nulla volutpat aliquam velit
+6. Faucibus porta lacus fringilla vel
+7. Aenean sit amet erat nunc
+8. Eget porttitor lorem
+
+## Code
+
+### Inline code
+Wrap inline snippets of code with `` ` ``.
+
+```markdown
+In this example, `<section></section>` should be wrapped as **code**.
+```
+
+Renders to:
+
+In this example, `<section></section>` should be wrapped with **code**.
+
+HTML:
+
+```html
+<p>In this example, <code>&lt;section&gt;&lt;/section&gt;</code> should be wrapped with <strong>code</strong>.</p>
+```
+
+### Indented code
+
+Or indent several lines of code by at least four spaces, as in:
+
+<pre>
+  // Some comments
+  line 1 of code
+  line 2 of code
+  line 3 of code
+</pre>
+
+Renders to:
+
+    // Some comments
+    line 1 of code
+    line 2 of code
+    line 3 of code
+
+HTML:
+
+```html
+<pre>
+  <code>
+    // Some comments
+    line 1 of code
+    line 2 of code
+    line 3 of code
+  </code>
+</pre>
+```
+
+
+### Block code "fences"
+
+Use "fences"  ```` ``` ```` to block in multiple lines of code.
+
+<pre>
+``` markup
+Sample text here...
+```
+</pre>
+
+
+```
+Sample text here...
+```
+
+HTML:
+
+```html
+<pre>
+  <code>Sample text here...</code>
+</pre>
+```
+
+### Syntax highlighting
+
+GFM, or "GitHub Flavored Markdown" also supports syntax highlighting. To activate it, simply add the file extension of the language you want to use directly after the first code "fence", ` ```js `, and syntax highlighting will automatically be applied in the rendered HTML. For example, to apply syntax highlighting to JavaScript code:
+
+<pre>
+```js
+grunt.initConfig({
+  assemble: {
+    options: {
+      assets: 'docs/assets',
+      data: 'src/data/*.{json,yml}',
+      helpers: 'src/custom-helpers.js',
+      partials: ['src/partials/**/*.{hbs,md}']
+    },
+    pages: {
+      options: {
+        layout: 'default.hbs'
+      },
+      files: {
+        './': ['src/templates/pages/index.hbs']
+      }
+    }
+  }
+};
+```
+</pre>
+
+Renders to:
+
+```js
+grunt.initConfig({
+  assemble: {
+    options: {
+      assets: 'docs/assets',
+      data: 'src/data/*.{json,yml}',
+      helpers: 'src/custom-helpers.js',
+      partials: ['src/partials/**/*.{hbs,md}']
+    },
+    pages: {
+      options: {
+        layout: 'default.hbs'
+      },
+      files: {
+        './': ['src/templates/pages/index.hbs']
+      }
+    }
+  }
+};
+```
+
+## Tables
+Tables are created by adding pipes as dividers between each cell, and by adding a line of dashes (also separated by bars) beneath the header. Note that the pipes do not need to be vertically aligned.
+
+
+```markdown
+| Option | Description |
+| ------ | ----------- |
+| data   | path to data files to supply the data that will be passed into templates. |
+| engine | engine to be used for processing templates. Handlebars is the default. |
+| ext    | extension to be used for dest files. |
+```
+
+Renders to:
+
+| Option | Description |
+| ------ | ----------- |
+| data   | path to data files to supply the data that will be passed into templates. |
+| engine | engine to be used for processing templates. Handlebars is the default. |
+| ext    | extension to be used for dest files. |
+
+And this HTML:
+
+```html
+<table>
+  <tr>
+    <th>Option</th>
+    <th>Description</th>
+  </tr>
+  <tr>
+    <td>data</td>
+    <td>path to data files to supply the data that will be passed into templates.</td>
+  </tr>
+  <tr>
+    <td>engine</td>
+    <td>engine to be used for processing templates. Handlebars is the default.</td>
+  </tr>
+  <tr>
+    <td>ext</td>
+    <td>extension to be used for dest files.</td>
+  </tr>
+</table>
+```
+
+### Right aligned text
+
+Adding a colon on the right side of the dashes below any heading will right align text for that column.
+
+```markdown
+| Option | Description |
+| ------:| -----------:|
+| data   | path to data files to supply the data that will be passed into templates. |
+| engine | engine to be used for processing templates. Handlebars is the default. |
+| ext    | extension to be used for dest files. |
+```
+
+| Option | Description |
+| ------:| -----------:|
+| data   | path to data files to supply the data that will be passed into templates. |
+| engine | engine to be used for processing templates. Handlebars is the default. |
+| ext    | extension to be used for dest files. |
+
+## Links
+
+### Basic link
+
+```markdown
+[Assemble](http://assemble.io)
+```
+
+Renders to (hover over the link, there is no tooltip):
+
+[Assemble](http://assemble.io)
+
+HTML:
+
+```html
+<a href="http://assemble.io">Assemble</a>
+```
+
+
+### Add a title
+
+```markdown
+[Upstage](https://github.com/upstage/ "Visit Upstage!")
+```
+
+Renders to (hover over the link, there should be a tooltip):
+
+[Upstage](https://github.com/upstage/ "Visit Upstage!")
+
+HTML:
+
+```html
+<a href="https://github.com/upstage/" title="Visit Upstage!">Upstage</a>
+```
+
+### Named Anchors
+
+Named anchors enable you to jump to the specified anchor point on the same page. For example, each of these chapters:
+
+```markdown
+# Table of Contents
+  * [Chapter 1](#chapter-1)
+  * [Chapter 2](#chapter-2)
+  * [Chapter 3](#chapter-3)
+```
+will jump to these sections:
+
+```markdown
+## Chapter 1 <a id="chapter-1"></a>
+Content for chapter one.
+
+## Chapter 2 <a id="chapter-2"></a>
+Content for chapter one.
+
+## Chapter 3 <a id="chapter-3"></a>
+Content for chapter one.
+```
+**NOTE** that specific placement of the anchor tag seems to be arbitrary. They are placed inline here since it seems to be unobtrusive, and it works.
+
+
+## Images {#images}
+Images have a similar syntax to links but include a preceding exclamation point.
+
+```markdown
+![Minion](https://octodex.github.com/images/minion.png)
+```
+![Minion](https://octodex.github.com/images/minion.png)
+
+or
+```markdown
+![Alt text](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
+```
+![Alt text](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
+
+Like links, Images also have a footnote style syntax
+
+### Alternative usage : note images
+
+```markdown
+![Alt text][id]
+```
+![Alt text][id]
+
+With a reference later in the document defining the URL location:
+
+[id]: https://octodex.github.com/images/dojocat.jpg  "The Dojocat"
+
+    [id]: https://octodex.github.com/images/dojocat.jpg  "The Dojocat"
+
+### Resizing image
+
+Add HTTP parameters `width` and/or `height` to the link image to resize the image. Values are CSS values (default is `auto`).
+
+```markdown
+![Minion](https://octodex.github.com/images/minion.png?width=20pc)
+```
+
+![Minion](https://octodex.github.com/images/minion.png?width=20pc)
+
+```markdown
+![Minion](https://octodex.github.com/images/minion.png?height=50px)
+```
+
+![Minion](https://octodex.github.com/images/minion.png?height=50px)
+
+```markdown
+![Minion](https://octodex.github.com/images/minion.png?height=50px&width=300px)
+```
+
+![Minion](https://octodex.github.com/images/minion.png?height=50px&width=300px)
+
+### Add CSS classes
+
+Add a HTTP `classes` parameter to the link image to add CSS classes. `shadow`and `border` are available but you could define other ones.
+
+```markdown
+![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?classes=shadow)
+```
+![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=shadow)
+
+```markdown
+![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?classes=border)
+```
+![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=border)
+
+```markdown
+![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?classes=border,shadow)
+```
+![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=border,shadow)
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/menushortcuts.en.md b/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/menushortcuts.en.md
new file mode 100644
index 00000000000..e59d6fdb69c
--- /dev/null
+++ b/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/menushortcuts.en.md
@@ -0,0 +1,109 @@
+---
+date: 2016-04-09T16:50:16+02:00
+title: Menu extra shortcuts
+weight: 25
+---
+
+You can define additional menu entries or shortcuts in the navigation menu without any link to content.
+
+## Basic configuration
+
+Edit the website configuration `config.toml` and add a `[[menu.shortcuts]]` entry for each link your want to add.
+
+Example from the current website:
+
+    [[menu.shortcuts]] 
+    name = "<i class='fab fa-github'></i> Github repo"
+    identifier = "ds"
+    url = "https://github.com/matcornic/hugo-theme-learn"
+    weight = 10
+
+    [[menu.shortcuts]]
+    name = "<i class='fas fa-camera'></i> Showcases"
+    url = "/showcase"
+    weight = 11
+
+    [[menu.shortcuts]]
+    name = "<i class='fas fa-bookmark'></i> Hugo Documentation"
+    identifier = "hugodoc"
+    url = "https://gohugo.io/"
+    weight = 20
+
+    [[menu.shortcuts]]
+    name = "<i class='fas fa-bullhorn'></i> Credits"
+    url = "/credits"
+    weight = 30
+
+By default, shortcuts are preceded by a title. This title can be disabled by setting `disableShortcutsTitle=true`. 
+However, if you want to keep the title but change its value, it can be overriden by changing your local i18n translation string configuration. 
+
+For example, in your local `i18n/en.toml` file, add the following content
+
+    [Shortcuts-Title]
+    other = "<Your value>"
+
+Read more about [hugo menu](https://gohugo.io/extras/menus/) and [hugo i18n translation strings](https://gohugo.io/content-management/multilingual/#translation-of-strings)
+
+## Configuration for Multilingual mode {#i18n}
+
+When using a multilingual website, you can set different menus for each language. In the `config.toml` file, prefix your menu configuration by `Languages.<language-id>`. 
+
+
+Example from the current website:
+
+    [Languages]
+    [Languages.en]
+    title = "Documentation for Hugo Learn Theme"
+    weight = 1
+    languageName = "English"
+
+    [[Languages.en.menu.shortcuts]] 
+    name = "<i class='fab fa-github'></i> Github repo"
+    identifier = "ds"
+    url = "https://github.com/matcornic/hugo-theme-learn"
+    weight = 10
+
+    [[Languages.en.menu.shortcuts]]
+    name = "<i class='fas fa-camera'></i> Showcases"
+    url = "/showcase"
+    weight = 11
+
+    [[Languages.en.menu.shortcuts]]
+    name = "<i class='fas fa-bookmark'></i> Hugo Documentation"
+    identifier = "hugodoc"
+    url = "https://gohugo.io/"
+    weight = 20
+
+    [[Languages.en.menu.shortcuts]]
+    name = "<i class='fas fa-bullhorn'></i> Credits"
+    url = "/credits"
+    weight = 30
+
+    [Languages.fr]
+    title = "Documentation du thème Hugo Learn"
+    weight = 2
+    languageName = "Français"
+
+    [[Languages.fr.menu.shortcuts]]
+    name = "<i class='fab fa-github'></i> Repo Github"
+    identifier = "ds"
+    url = "https://github.com/matcornic/hugo-theme-learn"
+    weight = 10
+
+    [[Languages.fr.menu.shortcuts]]
+    name = "<i class='fas fa-camera'></i> Vitrine"
+    url = "/showcase"
+    weight = 11
+
+    [[Languages.fr.menu.shortcuts]]
+    name = "<i class='fas fa-bookmark'></i> Documentation Hugo"
+    identifier = "hugodoc"
+    url = "https://gohugo.io/"
+    weight = 20
+
+    [[Languages.fr.menu.shortcuts]]
+    name = "<i class='fas fa-bullhorn'></i> Crédits"
+    url = "/credits"
+    weight = 30
+
+Read more about [hugo menu](https://gohugo.io/extras/menus/) and [hugo multilingual menus](https://gohugo.io/content-management/multilingual/#menus)
\ No newline at end of file
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/menushortcuts.fr.md b/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/menushortcuts.fr.md
new file mode 100644
index 00000000000..886067906cd
--- /dev/null
+++ b/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/menushortcuts.fr.md
@@ -0,0 +1,109 @@
+---
+date: 2016-04-09T16:50:16+02:00
+title: Raccourcis du menu
+weight: 25
+---
+
+Vous pouvez définir des entrées ou raccourcis supplémentaires dans le menu sans avoir besoin d'être lié à un contenu du site.
+
+## Configuration simple
+
+Editez le fichier de configuration `config.toml` et ajoutez une entrée `[[menu.shortcuts]]` pour chaque lien que vous voulez ajouter.
+
+Exemple pour ce site:
+
+    [[menu.shortcuts]] 
+    name = "<i class='fab fa-github'></i> Github repo"
+    identifier = "ds"
+    url = "https://github.com/matcornic/hugo-theme-learn"
+    weight = 10
+
+    [[menu.shortcuts]]
+    name = "<i class='fas fa-camera'></i> Showcases"
+    url = "/showcase"
+    weight = 11
+
+    [[menu.shortcuts]]
+    name = "<i class='fas fa-bookmark'></i> Hugo Documentation"
+    identifier = "hugodoc"
+    url = "https://gohugo.io/"
+    weight = 20
+
+    [[menu.shortcuts]]
+    name = "<i class='fas fa-bullhorn'></i> Credits"
+    url = "/credits"
+    weight = 30
+
+Par défaut, les raccourcis sont précédés par un titre. Ce titre peut être désactivé en ajouter le paramètre `disableShortcutsTitle=true` dans la section `params` de votre `config.toml`. 
+Cependant, si vous voulez garder le titre mais changer sa valeur, vous pouvez modifier votre configuration multilangue locale en changeant les *translation string*. 
+
+Par exemple, dans votre fichier local `i18n/en.toml`, ajouter le contenu
+
+    [Shortcuts-Title]
+    other = "<Votre valeur>"
+
+Plus d'infos sur [les menus Hugo](https://gohugo.io/extras/menus/) et sur [les translations strings](https://gohugo.io/content-management/multilingual/#translation-of-strings)
+
+## Configuration pour le mode multi-langue {#i18n}
+
+Quand vous utilisez un site multi-langue, vous pouvez avoir des menus différents pour chaque langage. Dans le fichier de configuration `config.toml`, préfixez votre configuration par `Languages.<language-id>`. 
+
+
+Par exemple, avec ce site :
+
+    [Languages]
+    [Languages.en]
+    title = "Documentation for Hugo Learn Theme"
+    weight = 1
+    languageName = "English"
+
+    [[Languages.en.menu.shortcuts]] 
+    name = "<i class='fab fa-github'></i> Github repo"
+    identifier = "ds"
+    url = "https://github.com/matcornic/hugo-theme-learn"
+    weight = 10
+
+    [[Languages.en.menu.shortcuts]]
+    name = "<i class='fas fa-camera'></i> Showcases"
+    url = "/showcase"
+    weight = 11
+
+    [[Languages.en.menu.shortcuts]]
+    name = "<i class='fas fa-bookmark'></i> Hugo Documentation"
+    identifier = "hugodoc"
+    url = "https://gohugo.io/"
+    weight = 20
+
+    [[Languages.en.menu.shortcuts]]
+    name = "<i class='fas fa-bullhorn'></i> Credits"
+    url = "/credits"
+    weight = 30
+
+    [Languages.fr]
+    title = "Documentation du thème Hugo Learn"
+    weight = 2
+    languageName = "Français"
+
+    [[Languages.fr.menu.shortcuts]]
+    name = "<i class='fab fa-github'></i> Repo Github"
+    identifier = "ds"
+    url = "https://github.com/matcornic/hugo-theme-learn"
+    weight = 10
+
+    [[Languages.fr.menu.shortcuts]]
+    name = "<i class='fas fa-camera'></i> Vitrine"
+    url = "/showcase"
+    weight = 11
+
+    [[Languages.fr.menu.shortcuts]]
+    name = "<i class='fas fa-bookmark'></i> Documentation Hugo"
+    identifier = "hugodoc"
+    url = "https://gohugo.io/"
+    weight = 20
+
+    [[Languages.fr.menu.shortcuts]]
+    name = "<i class='fas fa-bullhorn'></i> Crédits"
+    url = "/credits"
+    weight = 30
+
+Plus d'infos sur [les menus Hugo](https://gohugo.io/extras/menus/) et les [menus multi-langue Hugo](https://gohugo.io/content-management/multilingual/#menus)
\ No newline at end of file
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/pages/_index.en.md b/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/pages/_index.en.md
new file mode 100644
index 00000000000..ad6a1b5a816
--- /dev/null
+++ b/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/pages/_index.en.md
@@ -0,0 +1,166 @@
+---
+date: 2016-04-09T16:50:16+02:00
+title: Pages organization
+weight: 5
+---
+
+In **Hugo**, pages are the core of your site. Once it is configured, pages are definitely the added value to your documentation site.
+
+## Folders
+
+Organize your site like [any other Hugo project](https://gohugo.io/content/organization/). Typically, you will have a *content* folder with all your pages.
+
+    content
+    ├── level-one
+    │   ├── level-two
+    │   │   ├── level-three
+    │   │   │   ├── level-four
+    │   │   │   │   ├── _index.md       <-- /level-one/level-two/level-three/level-four
+    │   │   │   │   ├── page-4-a.md     <-- /level-one/level-two/level-three/level-four/page-4-a
+    │   │   │   │   ├── page-4-b.md     <-- /level-one/level-two/level-three/level-four/page-4-b
+    │   │   │   │   └── page-4-c.md     <-- /level-one/level-two/level-three/level-four/page-4-c
+    │   │   │   ├── _index.md           <-- /level-one/level-two/level-three
+    │   │   │   ├── page-3-a.md         <-- /level-one/level-two/level-three/page-3-a
+    │   │   │   ├── page-3-b.md         <-- /level-one/level-two/level-three/page-3-b
+    │   │   │   └── page-3-c.md         <-- /level-one/level-two/level-three/page-3-c
+    │   │   ├── _index.md               <-- /level-one/level-two
+    │   │   ├── page-2-a.md             <-- /level-one/level-two/page-2-a
+    │   │   ├── page-2-b.md             <-- /level-one/level-two/page-2-b
+    │   │   └── page-2-c.md             <-- /level-one/level-two/page-2-c
+    │   ├── _index.md                   <-- /level-one
+    │   ├── page-1-a.md                 <-- /level-one/page-1-a
+    │   ├── page-1-b.md                 <-- /level-one/page-1-b
+    │   └── page-1-c.md                 <-- /level-one/page-1-c
+    ├── _index.md                       <-- /
+    └── page-top.md                     <-- /page-top
+
+{{% notice note %}}
+`_index.md` is required in each folder, it’s your “folder home page”
+{{% /notice %}}
+
+## Types
+
+**Hugo-theme-learn** defines two types of pages. *Default* and *Chapter*. Both can be used at any level of the documentation, the only difference being layout display.
+
+A **Chapter** displays a page meant to be used as introduction for a set of child pages. Commonly, it contains a simple title and a catch line to define content that can be found under it.
+You can define any HTML as prefix for the menu. In the example below, it's just a number but that could be an [icon](https://fortawesome.github.io/Font-Awesome/).
+
+![Chapter page](/en/cont/pages/images/pages-chapter.png?width=50pc)
+
+```markdown
++++
+title = "Basics"
+chapter = true
+weight = 5
+pre = "<b>1. </b>"
++++
+
+### Chapter 1
+
+# Basics
+
+Discover what this Hugo theme is all about and the core-concepts behind it.
+```
+
+To tell **Hugo-theme-learn** to consider a page as a chapter, set `chapter=true` in the Front Matter of the page.
+
+A **Default** page is any other content page.
+
+![Default page](/en/cont/pages/images/pages-default.png?width=50pc)
+
+```toml
++++
+title = "Installation"
+weight = 15
++++
+```
+
+The following steps are here to help you initialize your new website. If you don't know Hugo at all, we strongly suggest you to train by following this [great documentation for beginners](https://gohugo.io/overview/quickstart/).
+
+## Create your project
+
+Hugo provides a `new` command to create a new website.
+
+```
+hugo new site <new_project>
+```
+
+**Hugo-theme-learn** provides [archetypes]({{< relref "cont/archetypes.en.md" >}}) to help you create this kind of pages.
+
+## Front Matter configuration
+
+Each Hugo page has to define a [Front Matter](https://gohugo.io/content/front-matter/) in *yaml*, *toml* or *json*.
+
+**Hugo-theme-learn** uses the following parameters on top of Hugo ones :
+
+```toml
++++
+# Table of content (toc) is enabled by default. Set this parameter to true to disable it.
+# Note: Toc is always disabled for chapter pages
+disableToc = "false"
+# If set, this will be used for the page's menu entry (instead of the `title` attribute)
+menuTitle = ""
+# The title of the page in menu will be prefixed by this HTML content
+pre = ""
+# The title of the page in menu will be postfixed by this HTML content
+post = ""
+# Set the page as a chapter, changing the way it's displayed
+chapter = false
+# Hide a menu entry by setting this to true
+hidden = false
+# Display name of this page modifier. If set, it will be displayed in the footer.
+LastModifierDisplayName = ""
+# Email of this page modifier. If set with LastModifierDisplayName, it will be displayed in the footer
+LastModifierEmail = ""
++++
+```
+
+### Add icon to a menu entry
+
+In the page frontmatter, add a `pre` param to insert any HTML code before the menu label. The example below uses the Github icon.
+
+```toml
++++
+title = "Github repo"
+pre = "<i class='fab fa-github'></i> "
++++
+```
+
+![Title with icon](/en/cont/pages/images/frontmatter-icon.png)
+
+### Ordering sibling menu/page entries
+
+Hugo provides a [flexible way](https://gohugo.io/content/ordering/) to handle order for your pages.
+
+The simplest way is to set `weight` parameter to a number.
+
+```toml
++++
+title = "My page"
+weight = 5
++++
+```
+
+### Using a custom title for menu entries
+
+By default, **Hugo-theme-learn** will use a page's `title` attribute for the menu item (or `linkTitle` if defined).
+
+But a page's title has to be descriptive on its own while the menu is a hierarchy.
+We've added the `menuTitle` parameter for that purpose:
+
+For example (for a page named `content/install/linux.md`):
+
+```toml
++++
+title = "Install on Linux"
+menuTitle = "Linux"
++++
+```
+
+## Homepage
+
+To configure your home page, you basically have three choices:
+
+1. Create an `_index.md` document in `content` folder and fill the file with *Markdown content*
+2. Create an `index.html` file in the `static` folder and fill the file with *HTML content*
+3. Configure your server to automatically redirect home page to one your documentation page
diff --git a/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/pages/_index.fr.md b/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/pages/_index.fr.md
new file mode 100644
index 00000000000..50c6f256bc0
--- /dev/null
+++ b/docs/document/themes/hugo-theme-learn/exampleSite/content/cont/pages/_index.fr.md
@@ -0,0 +1,146 @@
+---
+date: 2016-04-09T16:50:16+02:00
+title: Organisation des pages
+weight: 5
+---
+
+Dans **Hugo**, les pages sont le cœur de votre site. Une fois configurées, les pages sont la valeur ajoutée de votre site de documentation.
+
+## Dossiers
+
+Organisez votre site comme n'importe quel autre [projet Hugo](https://gohugo.io/content/organization/). Typiquement, vous allez avoir un dossier *content* avec vos pages.
+
+    content
+    ├── niveau-un 
+    │   ├── niveau-deux
+    │   │   ├── niveau-trois
+    │   │   │   ├── niveau-quatre
+    │   │   │   │   ├── _index.md       <-- /niveau-un/niveau-deux/niveau-trois/niveau-quatre
+    │   │   │   │   ├── page-4-a.md     <-- /niveau-un/niveau-deux/niveau-trois/niveau-quatre/page-4-a
+    │   │   │   │   ├── page-4-b.md     <-- /niveau-un/niveau-deux/niveau-trois/niveau-quatre/page-4-b
+    │   │   │   │   └── page-4-c.md     <-- /niveau-un/niveau-deux/niveau-trois/niveau-quatre/page-4-c
+    │   │   │   ├── _index.md           <-- /niveau-un/niveau-deux/niveau-trois
+    │   │   │   ├── page-3-a.md         <-- /niveau-un/niveau-deux/niveau-trois/page-3-a
+    │   │   │   ├── page-3-b.md         <-- /niveau-un/niveau-deux/niveau-trois/page-3-b
+    │   │   │   └── page-3-c.md         <-- /niveau-un/niveau-deux/niveau-trois/page-3-c
+    │   │   ├── _index.md               <-- /niveau-un/niveau-deux
+    │   │   ├── page-2-a.md             <-- /niveau-un/niveau-deux/page-2-a
+    │   │   ├── page-2-b.md             <-- /niveau-un/niveau-deux/page-2-b
+    │   │   └── page-2-c.md             <-- /niveau-un/niveau-deux/page-2-c
+    │   ├── _index.md                   <-- /niveau-un
+    │   ├── page-1-a.md                 <-- /niveau-un/page-1-a
+    │   ├── page-1-b.md                 <-- /niveau-un/page-1-b
+    │   └── page-1-c.md                 <-- /niveau-un/page-1-c
+    ├── _index.md                       <-- /
+    └── premiere-page.md                <-- /premiere-page
+
+{{% notice note %}}
+Le fichier `_index.md` est obligatoire dans chaque dossier, c'est en quelque sorte votre page d'accueil pour le dossier.
+{{% /notice %}}
+
+## Types
+
+**Hugo-theme-learn** définit deux types de pages. *Défaut* et *Chapitre*. Les deux sont utilisables à n'importe quel niveau du site, la seule différence est dans l'affichage.
+
+Un **Chapitre** affiche une page vouée à être une introduction pour un ensemble de pages filles. Habituellement, il va seulement contenir un titre et un résumé de la section.
+Vous pouvez définir n'importe quel contenu HTML comme préfixe de l'entrée du menu. Dans l'exemple ci-dessous, c'est juste un nombre mais vous pourriez utiliser une [icône](https://fortawesome.github.io/Font-Awesome/).
+
+![Page Chapitre](/en/cont/pages/images/pages-chapter.png?width=50pc)
+
+```markdown
++++
+title = "Démarrage"
+weight = 5
+pre = "<b>1. </b>"
+chapter = true
++++
+
+### Chapitre 1
+
+# Démarrage
+
+Découvrez comment utiliser ce thème Hugo et apprenez en les concepts
+```
+
+Pour dire à **Hugo-theme-learn** de considérer la page comme un chapitre, configure `chapter=true` dans le Front Matter de la page.
+
+Une page **Défaut** est n'importe quelle autre page.
+
+![Page défaut](/en/cont/pages/images/pages-default.png?width=50pc)
+
+    +++
+    title = "Installation"
+    weight = 15
+    +++
+
+    The following steps are here to help you initialize your new website. If you don't know Hugo at all, we strongly suggest you to train by following this [great documentation for beginners](https://gohugo.io/overview/quickstart/).
+
+    ## Create your project
+
+    Hugo provides a `new` command to create a new website.
+
+    ```
+    hugo new site <new_project>
+    ```
+
+**Hugo-theme-learn** fournit des [archétypes]({{< relref "cont/archetypes.fr.md" >}}) pour vous aider à créer ce type de pages.
+
+## Configuration des Front Matter
+
+Chaque page Hugo doit définir un [Front Matter](https://gohugo.io/content/front-matter/) dans le format *yaml*, *toml* ou *json*.
+
+**Hugo-theme-learn** utilise les paramètres suivant en plus de ceux définis par Hugo:
+
+```toml
++++
+# Le Sommaire (table of content = toc) est activé par défaut. Modifier ce paramètre à true pour le désactiver.
+# Note: Le sommaire est toujours désactivé pour les chapitres
+disableToc = "false"
+# Le titre de la page dans le menu sera préfixé par ce contentu HTML
+pre = ""
+# Le titre de la page dans le menu sera suffixé par ce contentu HTML
+post = ""
+# Modifier le type de la page pour changer l'affichage
+chapter = false
+# Cache la page du menu
+hidden = false
+# Nom de la personne qui a modifié la page. Quand configuré, sera affiché dans le pied de page. 
+LastModifierDisplayName = ""
+# Email de la personne qui a modifié la page. Quand configuré, sera affiché dans le pied de page.
+LastModifierEmail = ""
++++
+```
+
+### Ajouter une icône à une entrée du menu
+
+Dans le Front Matter, ajouter un paramètre `pre` pour insérer du code HTML qui s'affichera avant le label du menu. L'exemple ci-dessous utilise l'icône de Github.
+
+```toml
++++
+title = "Repo Github"
... 10687 lines suppressed ...