From 388924033a40a39e430e8596de2936ebe56203de Mon Sep 17 00:00:00 2001 From: xiaoyifang <105986+xiaoyifang@users.noreply.github.com> Date: Fri, 9 Aug 2024 14:33:00 +0800 Subject: [PATCH] doc: add document about move index folder (#1719) * doc: add document about move index folder * doc: add document about move index folder --- website/docs/topic_move_index_folder.md | 17 +++++++++++++++++ website/mkdocs.yml | 1 + 2 files changed, 18 insertions(+) create mode 100644 website/docs/topic_move_index_folder.md diff --git a/website/docs/topic_move_index_folder.md b/website/docs/topic_move_index_folder.md new file mode 100644 index 00000000..59617d44 --- /dev/null +++ b/website/docs/topic_move_index_folder.md @@ -0,0 +1,17 @@ +How to move the default index folder to other places? + + +## Windows + +!!! note + the [`mklink`](https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/mklink#related-links) is built-in tool in Windows. + + +1. Open `cmd` as administrator +2. copy the index folder to another place,take `D:\gd-ng\index_new` for example. +3. Run `mklink /D "C:\Users\USERNAME\Application Data\GoldenDict\index" "D:\gd-ng\index_new"` +4. Run GoldenDict + +## Linux + +use `ln` to create a link. diff --git a/website/mkdocs.yml b/website/mkdocs.yml index ed69f837..c7aecc4a 100644 --- a/website/mkdocs.yml +++ b/website/mkdocs.yml @@ -46,6 +46,7 @@ nav: - Wayland: topic_wayland.md - Debug dictionary JS: howto/how to debug dictionary js.md - Flatpak/FlatHub: topic_flatpak.md + - Move index folder: topic_move_index_folder.md - Related tools: - Anki Integration: topic_anki.md - OCR Integration: howto/ocr.md