doc/*: Fix typos and add a few small improvements

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/642>
This commit is contained in:
MoonlightWave-12
2024-04-14 14:36:25 +02:00
parent c21fbd86ac
commit 96c5b263ad
4 changed files with 32 additions and 31 deletions

View File

@ -19,7 +19,7 @@ Each hint directory contains multiple layout files. A single language will be co
After the language name optionally comes a "+" and an indication of the variant. For example, "it+fur".
Squeekboard will look for those based on the currently selected layout in Gnome Control Center.
Squeekboard will look for those based on the currently selected layout in GNOME Settings.
Then, there's an optional part "_wide", which Squeekboard will try to use if the current display is rather wide. Example: "us+colemak_wide" or "us_wide".
@ -40,6 +40,7 @@ The "outlines" dictionary controls the widths and heights of buttons.
outlines:
default: { width: 32, height: 52 }
```
The width and height numbers are not in pixels, but rather they are proportionally scaled to fit the panel size.
There may be any number of outlines, but there are some special names:
@ -118,4 +119,4 @@ The two switching modes are better described in the [views](views.md) document.
Sources
----------
The sources, where all this is documented and up to date are in "src/data/parsing.rs". The reference documentation for the `rs::data::parsing::Layout` structure is the main place to look at.
The sources, where all this is documented and up to date are in "src/data/parsing.rs". The reference documentation for the `rs::data::parsing::Layout` structure is the main place to look at.