From b5988ca2a40d22533315edd30c91df1dfba6cc6e Mon Sep 17 00:00:00 2001 From: Hamed Faramarzi Date: Fri, 21 Jun 2024 18:03:34 +0200 Subject: [PATCH] Add documentation for RTL support Signed-off-by: Hamed Faramarzi --- docs/_docs/05-configuration.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/_docs/05-configuration.md b/docs/_docs/05-configuration.md index 4d27f30f749a..a101324775f5 100644 --- a/docs/_docs/05-configuration.md +++ b/docs/_docs/05-configuration.md @@ -215,6 +215,12 @@ By default your site title is used in the masthead. You can override this text b masthead_title: "My Custom Title" ``` +### Site direction + +`site.direction` is used to declare the direction of the page. This option can be used for RTL languages (like Arabic, Persian, etc) + +_Example:_ `direction: "rtl"` sets the `direction` of the body of page to right to left. By default this option is `locale: "ltr"`. + ### Breadcrumb navigation (beta) Enable breadcrumb links to help visitors better navigate deep sites. Because of the fragile method of implementing them they don't always produce accurate links reliably. For best results: