Repo refactor: rename "website" to "docs"

This commit is contained in:
Zef Hemel
2026-06-23 09:12:24 +02:00
parent 1b3e86d960
commit e7ccdc2883
226 changed files with 1 additions and 1 deletions
+30
View File
@@ -0,0 +1,30 @@
#maturity/experimental #api/space-lua
APIs to define [[Task#Custom states]].
# API
## taskState.define(def)
Defines a custom task state. Options:
* `name`: name of the state
* `done`: whether or not the state should be considered "done" or not, used by the `Task: Remove Completed` command
Primarily used to offer code completion for custom task states for now.
## Example
```space-lua
taskState.define {
name = "TO DO"
}
taskState.define {
name = "IN PROGRESS"
}
taskState.define {
name = "DONE",
done = true
}
```
Use:
* [TO DO] Still to do
* [DONE] Task already completed