Remove Drivers docs and sidebar entry

This commit is contained in:
jelveh
2026-04-17 12:05:10 -07:00
parent b1a5c41028
commit 4adf7b41b9
3 changed files with 0 additions and 59 deletions
-10
View File
@@ -1,10 +0,0 @@
---
title: Drivers
description: Interact and access various system resources with Puter drivers.
---
The Drivers API allows you to interact with puter drivers. It provides a way to access and control various system resources and peripherals.
## Available Functions
- **[`puter.drivers.call()`](/Drivers/call/)** - Call driver functions
-33
View File
@@ -1,33 +0,0 @@
---
title: puter.drivers.call()
description: Call drivers that are not directly exposed by Puter.js high level API.
platforms: [websites, apps, nodejs, workers]
---
A low-level function that allows you to call any driver on any interface. This function is useful when you want to call a driver that is not directly exposed by Puter.js's high-level API or for when you need more control over the driver call.
## Syntax
```js
puter.drivers.call(interface, driver, method)
puter.drivers.call(interface, driver, method, args = {})
```
## Parameters
#### `interface` (String) (Required)
The name of the interface you want to call.
#### `driver` (String) (Required)
The name of the driver you want to call.
#### `method` (String) (Required)
The name of the method you want to call on the driver.
#### `args` (Array) (Optional)
An object containing the arguments you want to pass to the driver.
## Return value
A `Promise` that will resolve to the result of the driver call. The result can be of any type, depending on the driver you are calling.
In case of an error, the `Promise` will reject with an error message.
-16
View File
@@ -1074,22 +1074,6 @@ let sidebar = [
},
],
},
{
title: 'Drivers',
title_tag: 'Drivers',
source: '/Drivers.md',
path: '/Drivers',
children: [
{
title: '<code>call</code>',
page_title: '<code>puter.drivers.call()</code>',
title_tag: 'puter.drivers.call()',
icon: '/assets/img/function.svg',
source: '/Drivers/call.md',
path: '/Drivers/call',
},
],
},
{
title: 'Utilities',
title_tag: 'Utilities',