doc: add help center

This commit is contained in:
Artemy Egorov 2024-08-14 21:34:55 +03:00
parent 05335c822e
commit f0a858f773
4 changed files with 28 additions and 0 deletions

View file

@ -12,6 +12,8 @@ Markup language ecosystem сombining small file size, big number of possibilitie
[Rust implementation](https://github.com/TxtDot/dalet-rs)
[Help center](./help/main.md)
> [!WARNING]
> Specification and rust implementation is not complete and very unstable.

20
help/editors/helix.md Normal file
View file

@ -0,0 +1,20 @@
1. Install dalet_lsp `cargo install daleth_lsp`
2. Add this to languages.toml:
```toml
[[language]]
name = "daleth"
language-servers = ["daleth-lsp"]
scope = "source.daleth"
file-types = ["dlth"]
[language-server.daleth-lsp]
command = "daleth_lsp"
[[grammar]]
name = "daleth"
[grammar.source]
git = "https://github.com/TxtDot/tree-sitter-daleth"
rev = "HEAD"
```

3
help/editors/main.md Normal file
View file

@ -0,0 +1,3 @@
# Editors support
- [helix](./helix.md)

3
help/main.md Normal file
View file

@ -0,0 +1,3 @@
# Help center
- [Editors support](./editors/main.md)