Skip to content

Commit

Permalink
Update How-we-store-settings.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kjk authored Aug 9, 2024
1 parent 3e0f33e commit 492af6b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions docs/md/How-we-store-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,3 @@ In portable version the file is stored in the same directory as SumatraPDF execu
Starting with version 1.6 we also persist thumbnails for "Frequently read" list. They are stored in subdirectory `sumatrapdfcache` as `.png` files.

See [https://www.sumatrapdfreader.org/settings/settings](https://www.sumatrapdfreader.org/settings/settings) for information about all the settings.

## How to add more settings

Don’t manually edit `Settings.h` file. Settings and their html documentations are generated via Go script.

To add more settings:

- you need to have Go installed
- edit [https://github.com/sumatrapdfreader/sumatrapdf/blob/master/do/settings_def.go](https://github.com/sumatrapdfreader/sumatrapdf/blob/master/do/settings_def.go) to add/remove settings
- run `doit.bat -gen-settings` to regenerate the files
- checkin regenerated files

0 comments on commit 492af6b

Please sign in to comment.