Skip to content

Commit 35114c7

Browse files
docs: add environment variables section to README.md
1 parent 5ef271f commit 35114c7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ Contentstack is a headless CMS with an API-first approach. It is a CMS that deve
2020
|referenceDepth|number|2|**Optional** The default nested-reference-field depth that'd be considered when calling .includeReferences(). This can be overridden by passing a numerical argument to .includeReferences(4)|
2121
|projections|object|{_content_type_uid: 0}|**Optional** Keys that by default would be removed from results. Pass `key: 0` to remove, `key: 1` to override the existing..|
2222

23+
### Environment Variables
24+
25+
The SDK supports the following environment variables for advanced configuration:
26+
27+
| Variable | Description |
28+
|-------------|-------------|
29+
| `APP_ROOT` | (Optional) Sets the root directory for content storage. If not set, defaults to the current working directory. |
30+
2331
### Config Overview
2432

2533
Here's an overview of the SDK's configurable properties

0 commit comments

Comments
 (0)