Skip to content

Commit 2c09a7b

Browse files
committed
Added links
1 parent bedb630 commit 2c09a7b

File tree

1 file changed

+3
-9
lines changed
  • sites/cheerpx/src/content/docs/12-reference/CheerpX.OverlayDevice

1 file changed

+3
-9
lines changed

sites/cheerpx/src/content/docs/12-reference/CheerpX.OverlayDevice/create.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace CheerpX {
1616

1717
## Parameters
1818

19-
- **baseDevice (`Device`)** - The underlying device (e.g., `HttpBytesDevice`, `IDBDevice`) that serves as the base layer for the filesystem.
19+
- **baseDevice (`Device`)** - The underlying device (e.g., [`HttpBytesDevice`](/docs/reference/httpBytesDevice), [`IDBDevice`](/docs/reference/CheerpX.IDBDevice)) that serves as the base layer for the filesystem.
2020

2121
- **overlayDevice (`Device`)** - The writable layer that will overlay the base device, enabling persistent changes.
2222

@@ -26,7 +26,7 @@ namespace CheerpX {
2626

2727
## Example
2828

29-
Create an `OverlayDevice` instance to combine a `HttpBytesDevice` for streaming data from an HTTP source and an `IDBDevice` for caching and persistent local storage.
29+
Create an `OverlayDevice` instance to combine a [`HttpBytesDevice`](/docs/reference/httpBytesDevice) for streaming data from an HTTP source and an [`IDBDevice`](/docs/reference/CheerpX.IDBDevice) for caching and persistent local storage.
3030

3131
```ts {8, 12}
3232
// Create a read-only HttpBytesDevice for streaming disk blocks via HTTP
@@ -44,13 +44,7 @@ const cx = await CheerpX.Linux.create({
4444
});
4545
```
4646

47-
In this example, the `OverlayDevice` provides a writable layer on top of the `HttpBytesDevice` (which serves as a read-only block device for streaming), allowing changes to be stored locally via the `IDBDevice`.
48-
49-
## Related sources
50-
51-
- [CheerpX.HttpBytesDevice](/docs/reference/httpBytesDevice)
52-
- [CheerpX.IDBDevice](/docs/reference/CheerpX.IDBDevice)
53-
- [CheerpX.Linux](/docs/reference/CheerpX.Linux)
47+
In this example, the `OverlayDevice` provides a writable layer on top of the [`HttpBytesDevice`](/docs/reference/httpBytesDevice) (which serves as a read-only block device for streaming), allowing changes to be stored locally via the [`IDBDevice`](/docs/reference/CheerpX.IDBDevice).
5448

5549
For more information, please check out the [Files and File system guide](/docs/guides/File-System-support). This guide provides more details on how to work with files and directories in CheerpX.
5650

0 commit comments

Comments
 (0)