diff --git a/website/API/asset.md b/website/API/asset.md index e59e6fa6..4f9aa75f 100644 --- a/website/API/asset.md +++ b/website/API/asset.md @@ -1,3 +1,5 @@ +#api/syscall + The Asset API provides functions for reading and managing assets embedded in plugs. ### asset.readAsset(plugName, name, encoding?) diff --git a/website/API/clientStore.md b/website/API/clientStore.md index 921f4178..76997ef3 100644 --- a/website/API/clientStore.md +++ b/website/API/clientStore.md @@ -1,3 +1,5 @@ +#api/syscall + The Client Store API provides a simple key-value store for client-specific states and preferences. ## clientStore.set(key, value) diff --git a/website/API/command.md b/website/API/command.md index d88c56d7..46ac410b 100644 --- a/website/API/command.md +++ b/website/API/command.md @@ -1 +1,3 @@ +#api/space-lua + See [[^Library/Std/APIs/Command]] \ No newline at end of file diff --git a/website/API/config.md b/website/API/config.md index 6b60950d..b0951675 100644 --- a/website/API/config.md +++ b/website/API/config.md @@ -1,3 +1,5 @@ +#api/syscall + The Config API provides functions for managing configuration values. ### config.get(path, defaultValue) diff --git a/website/API/datastore.md b/website/API/datastore.md index b70970e2..b418bf54 100644 --- a/website/API/datastore.md +++ b/website/API/datastore.md @@ -1,3 +1,5 @@ +#api/syscall + The Datastore API provides functions for interacting with a key-value store that has query capabilities. * **Keys** are represented as a list (Lua table) of strings. diff --git a/website/API/editor.md b/website/API/editor.md index 66716acf..d198b56e 100644 --- a/website/API/editor.md +++ b/website/API/editor.md @@ -1,3 +1,5 @@ +#api/syscall + The Editor API provides functions for interacting with the editor interface. ### editor.getCurrentPage() diff --git a/website/API/encoding.md b/website/API/encoding.md index 0d645417..eae4c66c 100644 --- a/website/API/encoding.md +++ b/website/API/encoding.md @@ -1,3 +1,5 @@ +#api/space-lua + The `encoding` API implements a few useful functions to handle various types of encoding. ### encoding.base64Encode(data) diff --git a/website/API/event.md b/website/API/event.md index bc937de9..028f025f 100644 --- a/website/API/event.md +++ b/website/API/event.md @@ -1,4 +1,4 @@ -# Event API +#api/syscall The Event API provides functions for working with SilverBullet's event bus system, allowing communication between different parts of the application. diff --git a/website/API/global.md b/website/API/global.md index 0d50a6aa..419bec7a 100644 --- a/website/API/global.md +++ b/website/API/global.md @@ -1,3 +1,5 @@ +#api/lua + These are Lua functions defined in the global namespace: # Standard Lua diff --git a/website/API/http.md b/website/API/http.md index dda8f7de..c649ad61 100644 --- a/website/API/http.md +++ b/website/API/http.md @@ -1,3 +1,5 @@ +#api/space-lua + HTTP APIs > **warning** Warning diff --git a/website/API/index.md b/website/API/index.md index c4d5f9fe..c164a9af 100644 --- a/website/API/index.md +++ b/website/API/index.md @@ -1,8 +1,7 @@ --- testattribute: 10 --- - -#apidoc +#api/syscall The `index` API provides functions for interacting with SilverBullet's [[Objects]], allowing you to store and query page-associated data. diff --git a/website/API/js.md b/website/API/js.md index 7a556111..12c123d4 100644 --- a/website/API/js.md +++ b/website/API/js.md @@ -1,3 +1,5 @@ +#api/space-lua + API docs for Space Lua's `js` module, which provides JavaScript interoperability. ## js.import(url) diff --git a/website/API/jsonschema.md b/website/API/jsonschema.md index 34628c8b..a8051104 100644 --- a/website/API/jsonschema.md +++ b/website/API/jsonschema.md @@ -1,4 +1,4 @@ -# JSON Schema API +#api/space-lua The JSON Schema API provides functions for validating JSON objects against JSON schemas. diff --git a/website/API/language.md b/website/API/language.md index 073f15c7..f1c89aec 100644 --- a/website/API/language.md +++ b/website/API/language.md @@ -1,3 +1,5 @@ +#api/syscall + The Language API provides functions for parsing code in various programming languages and listing supported languages. ## Language Operations diff --git a/website/API/lua.md b/website/API/lua.md index cca122cd..33989ca6 100644 --- a/website/API/lua.md +++ b/website/API/lua.md @@ -1,3 +1,5 @@ +#api/space-lua + The Lua API provides functions for parsing and evaluating Lua code. ### lua.parse(code) diff --git a/website/API/markdown.md b/website/API/markdown.md index f3999142..f0d78f92 100644 --- a/website/API/markdown.md +++ b/website/API/markdown.md @@ -1,4 +1,4 @@ -# Markdown API +#api/syscall The Markdown API provides functions for parsing and rendering Markdown content. diff --git a/website/API/math.md b/website/API/math.md index ec3d948a..f0c4d241 100644 --- a/website/API/math.md +++ b/website/API/math.md @@ -1,3 +1,5 @@ +#api/lua + API docs for Lua's `math` module. ## math.random(m?, n?) diff --git a/website/API/mq.md b/website/API/mq.md index d4a33897..2351fea9 100644 --- a/website/API/mq.md +++ b/website/API/mq.md @@ -1,4 +1,5 @@ -# Message Queue API +#api/space-lua + The Message Queue API provides functions for implementing a simple message queue system. ## Example diff --git a/website/API/net.md b/website/API/net.md index 44b00d9b..7942049f 100644 --- a/website/API/net.md +++ b/website/API/net.md @@ -1,3 +1,5 @@ +#api/space-lua + Network-related APIs. ### net.proxyRequest(url, options?) diff --git a/website/API/os.md b/website/API/os.md index 1fe578c2..520276f9 100644 --- a/website/API/os.md +++ b/website/API/os.md @@ -1,3 +1,5 @@ +#api/lua + API docs for Lua's `os` module. ## os.time(table?) diff --git a/website/API/service.md b/website/API/service.md index 26c53cc5..76f8d8b5 100644 --- a/website/API/service.md +++ b/website/API/service.md @@ -1,4 +1,5 @@ -# Service registry API +#api/syscall + Exposes a simple service registry API leveraged by various parts of SilverBullet, see [[Services]]. ## Example diff --git a/website/API/shell.md b/website/API/shell.md index 189e0a88..fdeeed08 100644 --- a/website/API/shell.md +++ b/website/API/shell.md @@ -1,3 +1,5 @@ +#api/syscall + The Shell API provides functions for running shell commands and interacting with processes. ### shell.run(cmd, args, stdin?) diff --git a/website/API/slashCommand.md b/website/API/slashCommand.md index ee3f442c..7a1b942f 100644 --- a/website/API/slashCommand.md +++ b/website/API/slashCommand.md @@ -1,3 +1,5 @@ +#api/space-lua + APIs to create [[Slash Commands]]. For simple cases it is recommended to use [[Library/Std/Infrastructure/Slash Templates]] instead. ## slashCommand.define(spec) diff --git a/website/API/space.md b/website/API/space.md index bfa982b6..bedbe748 100644 --- a/website/API/space.md +++ b/website/API/space.md @@ -1,3 +1,5 @@ +#api/syscall + The Space API provides functions for interacting with pages, documents, and files in the space. # Page Operations diff --git a/website/API/spacelua.md b/website/API/spacelua.md index 21f1aae4..60c6a8e3 100644 --- a/website/API/spacelua.md +++ b/website/API/spacelua.md @@ -1,3 +1,5 @@ +#api/space-lua + The Space Lua API provides functions for working with Lua expressions and templates. ## spacelua.parseExpression(luaExpression) diff --git a/website/API/string.md b/website/API/string.md index 3cc0286e..de502d1c 100644 --- a/website/API/string.md +++ b/website/API/string.md @@ -1,4 +1,4 @@ -# String API +#api/lua API docs for Space Lua's `string` module. diff --git a/website/API/sync.md b/website/API/sync.md index ff3e24d2..e897ab60 100644 --- a/website/API/sync.md +++ b/website/API/sync.md @@ -1,4 +1,4 @@ -# Sync API +#api/syscall The Sync API provides functions for interacting with the sync engine when the client runs in Sync mode. diff --git a/website/API/system.md b/website/API/system.md index 3b6b6c8e..a0cf36ee 100644 --- a/website/API/system.md +++ b/website/API/system.md @@ -1,4 +1,4 @@ -# System API +#api/syscall The System API provides system-level functions for interacting with the SilverBullet environment. diff --git a/website/API/table.md b/website/API/table.md index 7e0710f7..f57536e3 100644 --- a/website/API/table.md +++ b/website/API/table.md @@ -1,3 +1,5 @@ +#api/lua + These are Lua functions defined in the `table` namespace: ## table.concat(table, sep?, i?, j?) diff --git a/website/API/template.md b/website/API/template.md index 13fc6451..214178f0 100644 --- a/website/API/template.md +++ b/website/API/template.md @@ -1,3 +1,5 @@ +#api/space-lua + Template functions that use the [[API/template#template.new(template)]] function. ## template.new(template, stripIndent) diff --git a/website/API/yaml.md b/website/API/yaml.md index 70dbfaed..eff0ce36 100644 --- a/website/API/yaml.md +++ b/website/API/yaml.md @@ -1,3 +1,5 @@ +#api/syscall + The YAML API provides functions for parsing and stringifying YAML content. ### yaml.parse(text)