mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-23 09:19:32 +00:00
Add a "Quick Start" early on pointing to the Web demos and build instructions. The idea is that you can go and play with Slint right after reading what it actually is. Mention recipes and other docs first, then point to the API docs. I am pretty sure most users will stop reading once they find the links to the APIs:-)
127 lines
3.2 KiB
JSON
127 lines
3.2 KiB
JSON
{
|
|
"version": "0.2",
|
|
"language": "en",
|
|
"languageSettings": [
|
|
{
|
|
"languageId": "rust",
|
|
"words": [
|
|
"ARGB",
|
|
"bbox",
|
|
"bindgen",
|
|
"builtins",
|
|
"canonicalize", // std::path::Path::canonicalize
|
|
"codemap",
|
|
"concat",
|
|
"Consts",
|
|
"evenodd",
|
|
"FBOs", // plural of FBO (frame buffer object)
|
|
"femtovg",
|
|
"fontdb",
|
|
"fullscreen",
|
|
"glutin",
|
|
"glutin's",
|
|
"maxx",
|
|
"maxy",
|
|
"minx",
|
|
"miny",
|
|
"peekable",
|
|
"Realloc",
|
|
"refcell",
|
|
"Rgba",
|
|
"rtti",
|
|
"subspan",
|
|
"uninit",
|
|
"unmap",
|
|
"unsync",
|
|
"vsync",
|
|
"winit"
|
|
],
|
|
"ignoreRegExpList": [
|
|
"/#\\[cfg\\b.+\\]/",
|
|
"/#\\[repr\\b.+\\]/",
|
|
// Exclude crate paths
|
|
"/(\\b|::)[a-z0-9_]+::/",
|
|
"/::[a-z0-9_]+(\\b|::)/",
|
|
// Qt things:
|
|
"/\\bQt_[a-zA-Z0-9_]+/"
|
|
]
|
|
},
|
|
{
|
|
"languageId": "restructuredtext",
|
|
"words": ["genindex", "langref", "modindex", "toctree"],
|
|
"ignoreRegExpList": ["/:.+:/"]
|
|
},
|
|
{
|
|
"languageId": "markdown",
|
|
"words": ["rustup", "SUBDIR", "Yocto"],
|
|
"ignoreRegExpList": [
|
|
// Ignore simple code blocks
|
|
"`[^`]+`"
|
|
]
|
|
}
|
|
],
|
|
"words": [
|
|
"Bezier",
|
|
"cbindgen",
|
|
"cmake",
|
|
"colspan",
|
|
"datastructures",
|
|
"dealloc",
|
|
"flickable",
|
|
"focusable", // common term in UI (css, dom, toolkits)
|
|
"Goffart",
|
|
"gradians",
|
|
"Hausmann",
|
|
"Helvetica",
|
|
"layouting", // This would be worth renaming in the ItemVTable to layout_info
|
|
"linebreak",
|
|
"listview",
|
|
"lvalue",
|
|
"microcontroller",
|
|
"microcontrollers",
|
|
"MSVC",
|
|
"ogoffart",
|
|
"opengl",
|
|
"pixmap",
|
|
"rowspan",
|
|
"rustc",
|
|
"rvalue",
|
|
"SDK",
|
|
"sixtyfps",
|
|
"slint",
|
|
"SPDX",
|
|
"streetsidesoftware",
|
|
"struct",
|
|
"tabwidget",
|
|
"testcase",
|
|
"textedit",
|
|
"tmpobj",
|
|
"toolchain",
|
|
"tronical",
|
|
"uncompiled",
|
|
"unmapping", // present participle of unmap
|
|
"untracked",
|
|
"viewbox",
|
|
"vtable",
|
|
"wasm",
|
|
"webassembly",
|
|
"windowrc", // use in slint_windowrc_foo FFI functions
|
|
"xtask"
|
|
],
|
|
"ignorePaths": [
|
|
"api/cpp/docs/conf.py",
|
|
"Cargo.toml",
|
|
"cspell.json",
|
|
".github/workflows/*.yaml"
|
|
],
|
|
"ignoreRegExpList": [
|
|
// Color encodings in all languages:
|
|
"/(\\b|0x|#|_)?[argbARGB][argbARGB][argbARGB]+(\\b|_|Color)/"
|
|
],
|
|
"overrides": [
|
|
{
|
|
"filename": "**/*.rst",
|
|
"languageId": "restructuredtext"
|
|
}
|
|
]
|
|
}
|