From 474cb22af990c6fae3fe866ae821bc7434dfd8e9 Mon Sep 17 00:00:00 2001 From: shenleban tongying Date: Wed, 26 Jul 2023 05:58:11 -0400 Subject: [PATCH] Update custom_dictionary.md --- website/docs/custom_dictionary.md | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/website/docs/custom_dictionary.md b/website/docs/custom_dictionary.md index 6b984a79..56151637 100644 --- a/website/docs/custom_dictionary.md +++ b/website/docs/custom_dictionary.md @@ -1,10 +1,6 @@ -You can customize the dictionary by the metadata.toml which is also used in [metadata grouping](manage_groups.md) - ## About the configuration of metadata.toml - - -the metadata.toml use toml format for configuration. +A `metadata.toml`, which uses [toml](https://toml.io) format, can be placed on each dictionary's root folder to customize or override some properties. It is also used in [auto grouping by metadata](manage_groups.md) ## Customize the name of the dictionary @@ -13,14 +9,12 @@ the metadata.toml use toml format for configuration. name = "New Name" ``` -this `New Name` will be appeared as the dictionary name. - +This `New Name` will be appeared as the dictionary name. The `metadata.toml` should be placed beside dictionary files. One `metadata.toml` for each dictionary. The metadata file uses [TOML](https://toml.io) format. - For example, ``` @@ -48,14 +42,13 @@ name="New Name" ``` -this `fts` field's value can be on/off, 1/0 ,true/false etc. +The `fts` field's value can be `on/off`, `1/0` ,`true/false` etc. ``` fts=false ``` will disable the current dictionary's full-text search. +you can check the full-text search status on each dictionary's info dialog. -you can check the full-text search on each dictionary's info dialog. - -![](img/dictionary-info-fullindex.png) \ No newline at end of file +![](img/dictionary-info-fullindex.png)