Commit Graph

77 Commits

Author SHA1 Message Date
Taesu
8200d3c748 docs: adjust docs page header layout (#9376) 2026-04-28 14:08:02 +00:00
Taesu
2ee50c581f docs: add stable/beta versioning with build-time content sync (#9258) 2026-04-21 03:49:33 +00:00
Bereket Engida
35e9f9f6e4 docs: landing improvements (#9169)
Co-authored-by: Taesu <bytaesu@gmail.com>
2026-04-18 23:04:27 -07:00
Maxwell
51518c372d docs: rework AI resources documentation (#8856)
Co-authored-by: Taesu <bytaesu@gmail.com>
2026-04-01 20:53:42 +00:00
Taesu
e3d1063a0a chore: merge landing app into docs (#8878) 2026-04-01 13:38:37 +00:00
Maxwell
5bc743b002 docs: new documentation/landing page (#8195) 2026-02-27 16:49:34 -08:00
Joél Solano
fe3b4ec3b5 docs: fix typo & unresolved imports (#7954) 2026-02-13 03:06:18 +00:00
Taesu
1088b1c7c1 docs: move errors content to reference section (#7581) 2026-01-23 23:54:53 +00:00
Fuma Nama
85e6dcd5f8 chore: bump fumadocs (#7106)
Co-authored-by: Taesu <bytaesu@gmail.com>
2026-01-06 12:53:55 +08:00
Abdur Rahman
3a76b6e43b docs: improve sidebar content filtering and simplify CodeBlockTabs ren… (#7109)
Co-authored-by: Alex Yang <himself65@outlook.com>
2026-01-04 02:03:44 +08:00
Bereket Engida
c8110d8881 Revert "docs: bump fumadocs (#7101)"
This reverts commit 0fda455ce5.
2026-01-02 11:16:35 -08:00
Fuma Nama
0fda455ce5 docs: bump fumadocs (#7101) 2026-01-02 10:44:34 -08:00
Aryan Chaurasia
4e63c40da9 docs: add Open in Cursor option (#6992) 2025-12-25 15:28:43 +08:00
Jonathan Samines
57ee11a26f chore(lint): enforce consistent import type style (#6044) 2025-11-17 21:11:39 +00:00
Maxwell
f9964b01e4 feat: Improved API error page (#5272)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-11-04 23:12:38 +00:00
Taesu
648fa010aa docs: refactor and improve llm-text logic to fix runtime error (#5641) 2025-10-28 17:19:40 +00:00
Alex Yang
d11ddc15b1 docs: remove fs read (#5636) 2025-10-28 07:05:49 +00:00
Taesu
8476b077e6 docs: imporve llms.txt (#5605) 2025-10-27 18:51:32 +00:00
Alex Yang
938c2a7c31 chore: lint enable organize import (#5556) 2025-10-24 19:05:09 +00:00
Vagarth
da9077d1b5 fix(docs): enable code block copying in documentation page (#5525) 2025-10-23 18:37:02 +00:00
Usman Sabuwala
5bc2604197 fix: rename sha to branch and made it canary by default (#5491) 2025-10-22 16:18:03 +00:00
Hichem
f3a13eaf11 docs: add Copilot option to ViewOptions component (#5429) 2025-10-21 05:10:24 +00:00
Alex Yang
032159210e docs: use the correct SHA base on env vars (#5000) 2025-09-30 13:33:41 -07:00
KinfeMichael Tariku
e7b1c92434 docs: add ask ai feature (#4938) 2025-09-30 10:53:40 -07:00
Bereket Engida
7eefc93c59 docs: add ai tooling (#4859) 2025-09-23 22:21:16 +00:00
KinfeMichael Tariku
11deccbd6a docs: codeblock style fix after fuma upgrade (#4456) 2025-09-05 09:11:17 -07:00
KinfeMichael Tariku
7433ca5052 docs: fix resolve llms.txt missing wrapped component examples (#4384) 2025-09-03 08:19:44 -07:00
Maxwell
b89249a9ed docs(api-method): fixed syntax highlighting refreshing on tab change (#4309) 2025-08-29 22:35:44 -07:00
Fuma Nama
d20f9a763c chore: update to Fumadocs 15.7 (#4154)
Co-authored-by: KinfeMichael Tariku <65047246+Kinfe123@users.noreply.github.com>
Co-authored-by: Kinfe123 <kinfishtech@gmail.com>
2025-08-22 19:00:45 -07:00
Alex Yang
ff19661524 chore: bump fumadocs (#4144) 2025-08-21 20:30:06 -07:00
Bereket Engida
5fdc9dfb85 chore: remove unused import 2025-08-10 01:24:40 -07:00
Fraol Lemecha
2915e4c92d feat: add telemetry (#3822)
* feat: telemetry

Co-authored-by: Kinfe123 <kinfishtech@gmail.com>

* chore: remove changeset

* fix: do not generate project id unless telemetry is enabled

* fix: return `isInsiderContainerCached`

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* chore: remove unused utils file

* fix: properly cache generated project id

* feat: interpret empty env vars as false

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* fix: use nullish coalescing to set fallback

* fix: should be `isInsideContainerCached`

* fix: unique icons + tooltip for telemetry component

* fix: import child process from node

* fix: remove quotes in description

Co-authored-by: Alex Yang <himself65@outlook.com>

* fix: address reviews

Co-authored-by: Alex Yang <himself65@outlook.com>

* chore: refactor

* refactor

* add tests

* cache pkg json

* add cli tracking

* add migrate

* chore fix xi

* skip tet

* update snapshot

* chore: fix typecheck

* Expand telemetry docs: list collected fields, clarify anonymous redaction via getTelemetryAuthConfig, and document CLI events and audit/opt‑out paths.

* docs

* doc cleanup

* fixes

* remove git first commit message

* update docs

---------

Co-authored-by: Kinfe123 <kinfishtech@gmail.com>
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: Alex Yang <himself65@outlook.com>
Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-08-10 01:11:56 -07:00
Alex Yang
3ee67fcca0 chore(demo): replace isLoading using useTransition (#3775)
* fix: use `useTransition` for isLoading

* fixup! fix: use `useTransition` for isLoading
2025-08-06 16:38:41 -07:00
Maxwell
1ed38cd28b feat(docs): APIMethod, documents all server & client auth examples (#2577) 2025-07-17 16:20:10 -07:00
Bereket Engida
56bd676534 Merge branch 'main' into v1.3 2025-07-17 10:08:46 -07:00
Bereket Engida
07c52b252d refactor(docs): conditionally render LLM components and fix github broken links 2025-07-17 09:02:23 -07:00
Robi
0c4583c015 docs: add LLM copy button and view options components (#3423)
* feat: add LLM copy button and view options components
- update routing for LLM text generation, adding .mdx to a route now generates its .md repsresentation
- add rewrite from /docs/:path*mdx to /llms.txt/:path so ai can traverse the llms.txt as routes

* chore: lint

* chore: cubic
2025-07-17 01:16:04 -07:00
Abdulrahman
cce6c2d74f docs(feat): added apple sign in JWT generation in docs (#2453)
* docs: Add guide for Sign In with Apple

* docs-feat: add apple JWT generator

* fix-lint: ran lint:fix to fix CI test

* chore: refactor to remove jose

* update docs

* chore: lock file

* fix test

---------

Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-07-07 17:21:10 -07:00
Fuma Nama
00ad781427 docs: improve layout consistency (#1831)
* Fix sidebar tabs pre-rendering

* Improve sidebar consistency

* improve searchbar alignment

* improve animation
2025-03-15 19:54:27 +03:00
Bereket Engida
ebcf8c907c docs: refine UI styling and remove loglib 2025-03-08 20:05:50 +03:00
Bereket Engida
b5f638ca45 docs: upgrade to tailwind v4, react 19, fuma docs 15 (#1735) 2025-03-08 19:33:31 +03:00
Maxwell
1d700f38f1 docs(fix): "edit on github" broken link (#1625)
The button now actually brings you to the correct page on GH to edit.
2025-03-02 10:25:34 +03:00
Bereket Engida
86cbf70684 docs: v1.2 release notes (#1602) 2025-03-01 02:22:32 +03:00
Maxwell
ec9edc357a feat: API Key plugin (#1515)
* feat: API-key plugin

* add: `deleteAllExpiredApiKeys` functionality

* fix: fetching sessions from headers

* update: types & create-api-key now checks for min & max expiresIn values

* tests: Started working on tests

* add: features

- added list functionality
- added min & max prefix length
- added min & max name length
- added metadata enable/disable option
- added `disableSessionForAPIKeys` option
- verify API key now checks for expiration & refills
- added regex to check prefix of api key

* fix: create-api-key's expiration using `/` instead of `*`

* update: schema `metadata` transforms invalid values as `null`

* fix: create-api-key metadata should go through transformation

* fix: missing metadata wouldn't have `'null'` as value

* update: error types

* fix: remove console.logs from verify

* fix: rate-limit not working

* fix: rate-limit plugin options types

* chore: remove logs

* update: removed `key` field from result apiKey type of the update-api-key endpoint

* fix: typo

* update: create & update if checks

- create now checks if custom expiration times are allowed
- update now allows name values & checks if name is within length range
- update now also checks for custom expiration times are allowed

* update(WIP): tests

* fix: added the missing error throw when there is no values to update

* fix: update-api-key checks expiresIn in days, not ms

- also updated create-api-key & update-api-key to have more detailed event logging

* fix: update api key's remaining count's min & max checks

- also added more detail to the events

* fix: update-api-key can now update refillInterval & refillAmount properly

* fix: metadata in update-api-key transforms between string & obj correctly

* add: all of the `update` tests

* update: get-api-key metadata is now obj instead of string

* add: listApiKeys functionality

* fix: get-session to use mock session based on header API keys

* update: tests to test against get-session, get-api-key, and list-api-key

* add: `start` field to show the first few characters of an API key

* fix: very silly mistake

* update: tests to validate `start` property

* update: create-api-key checks if properties are set from server & allows for custom rate-limit rules

- also updated tests to check against this

* update: verify-api-key to check if a row has the right user-id

- this also should speed up the DB process too. (I'm pretty sure)

* update: `delete-all-expired-api-keys` endpoint added & updated list-api-keys endpoint function name

* add: customAPIKeyValidator fn, and fixed verification `remaining` and `lastRefillAt` values updating DB incorrectly

* update: documentation

* add: rate-limiting enable/disable on a per-key level

* update: docs

* fix: correct expiration time units and improve error messages in API key handling

* fix: allow creating apiKeys by providing userId on the server

* fix: user userId instead of headers to differ server vs client calls on create api key

* wip

* fix: JSDoc comment

* fix: tests not passing due to invalid expiresIn value

Since the expiresIn got changed from `ms` to `sec`, this needed to be changed as well.

* wip

* fix(api-key): update tests and error messages for API key verification

* fix(api-key): update API key fixes

* refactor tests and remove events

* refactor(api-key): remove unused event handling and clean up type definitions

* add: minimum values to `create-api-key` numeric input options

* fix: remove `opts.events` in delete-api-key route

* refactor: all returning routes which can contain `key`

- more performant
- better typed
- cleaner code

:D

* update: added minimum values to update-api-key endpoint as well

* fix: removed `maximumRemaining` & `minimumRemaining` default values in `opts`

* docs: ready (unless I make minor adjustments later) 🫡

* fix(docs): links & invalid code examples

* fix: output transform of metadata to use ParseJSON

* fix: tests failing due to async metadata transform output

* fix: return types for verify-api-key endpoint

* fix: tests failing due to invalid expiresIn minimum value

* docs: reorder sidebar items for API Key

* wip

* docs(api-key): enhance documentation with permissions and usage details

- Updated API key documentation with comprehensive permissions explanation
- Added examples for setting default permissions, creating, verifying, and updating API keys with permissions
- Clarified API key creation, verification, and update processes
- Improved code examples and descriptions for better understanding

* chore: lint

* fix(docs): incorrect wording / explanation on refillInterval/refillAmount

* add(docs): missing permissions info in docs

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-02-28 17:11:03 +03:00
Maxwell
9a0b86a7fe docs: first page shouldn't show nav button to go to prev page (#1442) 2025-02-17 08:23:41 +03:00
Bereket Engida
c25e130a6d chore: lint 2025-02-01 12:45:39 +03:00
Maxwell
16cd967aae docs: fix page navigation buttons don't work if the next/prev category's index [0] is a group (#1326) 2025-02-01 12:20:10 +03:00
Bereket Engida
503b7dbe75 chore: lint 2025-01-18 18:01:03 +03:00
Maxwell
a806c378be docs: fix navigation buttons not showing due to groups (#1243) 2025-01-18 17:52:58 +03:00
Maxwell
273aceaa15 docs: add buttons to navigate to the next/prev docs page (#1233) 2025-01-18 16:21:58 +03:00