mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-12 05:48:57 +00:00
55d1e538d9
* Add unit tests for "race" * Reduce to 80s * Implement a Cloudflare KV cache * Format * Lint * Fix tagging of entries in KV * No longer use HTTP cache tags * Simplify tags to only keep 2 * Implement a blockFallback logic * Improve the block fallback logic * More tests * Start introducing a always optional signal on all cache ops * Correctly pass signal end to end * Fix one more case and add tests * Fix it * Add test for error * Fix error handling * Simplify even more * Improve logs * Improve logs / measurements * Fix timing * Fix read cache duration and add minor tests * Log redis time * Change replication logic * Fix redis errors * Log more * More logs and test memory first * Improve tracing for cache backends * Ignore all dependencies * Log the key in the cache low level traces
28 lines
624 B
Bash
28 lines
624 B
Bash
# Configurations
|
|
|
|
### API ###
|
|
|
|
## API token to use when looking up the published content
|
|
# GITBOOK_API_URL=https://api.gitbook.com
|
|
# GITBOOK_TOKEN=xxx
|
|
|
|
## User agent to use when making requests to the API
|
|
# GITBOOK_USER_AGENT=GitBook/1.0.0
|
|
# GITBOOK_USER_AGENT_COMMENT=something
|
|
|
|
### URL of the application ###
|
|
# NEXT_PUBLIC_GITBOOK_APP_URL=https://app.gitbook.com
|
|
|
|
### Image resizing ###
|
|
# GITBOOK_IMAGE_RESIZE_SIGNING_KEY=1234567890
|
|
# GITBOOK_IMAGE_RESIZE_URL=https://mycompany.com/cdn-cgi/image/
|
|
|
|
### SEO ###
|
|
# GITBOOK_BLOCK_SEARCH_INDEXATION=true
|
|
|
|
## Caching
|
|
# GITBOOK_OUTPUT_CACHE=true
|
|
|
|
### Sentry ###
|
|
# SENTRY_DSN=xxx
|