* Start
* Use MathJax v3
* Format
* Improve font-size
* Lint
* Better handle loading
* Copy MathJax assets to public folder
* Attempt at using local assets for MathJax
* Use bun 1.0.31
* Try with bun 1.0.33
* Try fixing headers
* Simplify
* Simplify and not use suspense module
* Cleanup more
* Add test for Math
* Make math block scroll if needed
* Update packages/react-math/src/KaTeX.tsx
Co-authored-by: Greg Bergé <berge.greg@gmail.com>
* Use React.use
* Format
* Use exports
* Lint
* Disable cache in CI for lint
* Format
---------
Co-authored-by: Greg Bergé <berge.greg@gmail.com>
* Optimize read of revisions with metadata=false when possible
* Format
* Fix
* Update src/components/AdminToolbar/AdminToolbar.tsx
Co-authored-by: Steven H <shne24@gmail.com>
---------
Co-authored-by: Steven H <shne24@gmail.com>
* 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
* Stream AI answers to questions
* Use a different polyfill
* Revert "Use a different polyfill"
This reverts commit b8474c56301faf3180eebf81f697703c31447500.
* Update api
* Patch event-source-polyfill to support Cloudflare
* Patch the min version
* Update api client and remove eventsource polyfill
* Cleanup
* Start methods to resolve refs
* bun
* Start package
* Add code to resolve ref
* Continue
* Deref
* Start monorepo
* Continue
* Fix ref resolver
* Style a bit more
* Start toggling section
* Continue
* Start displaying query/path/headers params
* Hide respo se if empty
* Fix recursive refs
* Simplify interactive and styling
* Display enums
* Format
* Improve type name being displayed
* Improve naming
* Render oneOf/anyOf/allOf
* Handle circular references
* Start variable in server url
* Use client component for the spec part
* Improve CSS sizing
* Display open api blocks in aside
* Make aside an overlay
* Improve stickiness of openapi
* Align document on the left when api page
* Improve general layout
* Better align
* Fix padding in aside
* Use syntax highlighting
* Show sample of response
* Improve code generation
* Improve code generated
* Format
* Format
* Rename to OpenAPI
* Skip deprecated properties and handle additionalProperties
* Use discriminator for naming
* Better name enum
* Make entire header toggeable
* Format and lint
* Add curl example
* Improve curl
* style pass
* Start securities
* Bun
* Fix TS
* Improve label
* Start markdown
* Improve code samples
* Test
* Use custom skeleton for api block
* Format
* Add support for redocly code samples
* Fix api blocks in aside
* Use typography for markdown
* Format
* Fix spacing in markdown
* Render headers
* Format
* Format
---------
Co-authored-by: Sebastian Graz <graz@live.se>
* First try
* Lint and format
* Use edge runtime
* Use envs for sentry
* Fix type
* Fix upload of sourcemaps
* Try fixing monitoring calls
* Fix gitbook/monitoring in middleware
* test error in middleware
* Define context on sentry data
* Set SENTRY_ENVIRONMENT to preview or production
* Format
* Pass url and userAgent
* Remove test cases
* Disable debug
* Remove ignoreBuildErrors
* Add tests for getURLLookupAlternatives
* Match correctly revisions and changes URLs
* Use revision and changerequets ID passed from lookup
* Prevent indexing these urls
* Start
* Start rendering toolbar
* Update api client
* Format
* Format
* Mock resolve of snippet
* Add test for revision
* Use caching for search/ask
* Refactor DocumentView to be ready to be used for other stuff
* Start logic to use document
* Fix comment
* Remove log
* Format and typecheck
* Add cloudflare job to publish pages
* Try like this
* Fix build path
* Try end to end
* Fix installation
* Use var instead of secret for CLOUDFLARE_PROJECT_NAME
* Use new puppeteer mode
* Add more tests
* Run in parallel
* Go back to no-concurrency
* Test pagespeed
* Print output
* Fix thresholds
* Accept an option to purge without refreshing
* Store hits on the redis cache entry
* Revalidate first the entries with the most hits
* Format
* bun
* Ignore error from JSON.NUMINCRBY
* Optimize images using Cloudflare Images
* Try skipping middleware
* Make it work with base path
* Fetch image size
* Use a target instead of the cf fetch options
* Fix resizing
* Start optimizing images
* Preload images
* Use it for page cover
* Format and adapt cover
* Fix image resizing serving jpeg
* Lazy load dark mode images
* Timeout at 2s
* Fix iframe CSP
* Implement logic to lazy load images that should be offscreen
* Also lazy load cover images
* Low priority in preloading
* Fix csp
* Set colorSchema metadata
* Try CSP
* Move colorScheme to generateViewport
* Bun install
* Use wildcard for img-src and connect-src
* Allow all unsafe-inline for now for style
* Remove nonce for style
* Remove nonce for style
* Optimize data fetching with parallel requests
* Try to reuse memory cache between middleware and rendering in CF
* Comment
* Fetch document in parallel of collections
* Cleanup
* Log if redis is enabled for caching
* Fix memory cache before redis one
* Optimize alternatives being tested