1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 03:27:44 +00:00

Documentation: Better file formats documentation

This commit is contained in:
sfdd 2022-07-11 02:58:10 +03:00 committed by Linus Groh
parent b8cfec7b1f
commit d1671d4f86
5 changed files with 184 additions and 16 deletions

View file

@ -0,0 +1,21 @@
## Name
INI - generic config file format (.ini)
## Description
INI files serve as human-readable configuration files.
They consist of key-value pairs separated by '=', optionally located under a unique group in square brackets.
Additionally, [`Userland/Libraries/LibCore/ConfigFile.cpp`](../../../../../Userland/Libraries/LibCore/ConfigFile.cpp)
supports comments: the characters '#' and ';' skip the entire line only if they appear at the beginning of the line.
## Examples
[`/etc/Keyboard.ini`](../../../../etc/Keyboard.ini)
```ini
[Mapping]
Keymaps=en-us
```