Commit Graph

24 Commits

Author SHA1 Message Date
Josh Lambert 373bbf84f2 docs(kilo-docs): add platform tabs infrastructure and getting-started pages
Combines infrastructure (PR 1) and getting-started content (PR 2)
into a single reviewable PR.

Infrastructure:
- Platform type (legacy/new/all) in NavLink interface
- PageVersionSwitcher banner for legacy-only and new-only pages
- PlatformBadge component in SideNav with Legacy/New labels
- Tabs hydration fix (SSR-safe useState + useEffect)
- _app.tsx reads frontmatter.platform and renders banner

Getting Started pages with tab content:
- quickstart.md: Auth flow, kilo run --auto, config overview
- setup-authentication.md: Tabbed auth flows per platform
- settings/index.md: Config locations, precedence, export/import
- auto-approving-actions.md: Per-tool permission system

Platform markers:
- settings/auto-cleanup.md: platform: legacy (frontmatter + nav)
- settings/system-notifications.md: platform: legacy (frontmatter + nav)

Fixes from code validation and PR review:
- Remove false Variable Substitution section (does not exist)
- Replace misleading provider env config format
- Fix 'most tools prompt for approval' (default is mostly allow)
- Add warning about secrets in kilo.json for version control
- Fix experimental features tab referencing VSCode instead of Legacy
2026-03-25 02:16:14 -04:00
Josh Lambert 181e3a24f8 docs(kilo-docs): add platform tabs infrastructure
Add the foundation for platform-specific documentation:

- Platform type (legacy/new/all) in NavLink interface
- PageVersionSwitcher banner for legacy-only and new-only pages
- PlatformBadge component in SideNav with Legacy/New labels
- Tabs hydration fix (SSR-safe useState + useEffect)
- _app.tsx reads frontmatter.platform and renders banner

No content changes — frontmatter markers and nav tags will be
added in their respective section PRs.
2026-03-24 08:37:12 -04:00
Ligia Zanchet fe67b3e6d8 fix: correct KiloClaw nav active-state and add missing redirects
- Fix SideNav and TopNav KiloClaw href from /kiloclaw/overview to /kiloclaw
  so startsWith() active-state matching works for all /kiloclaw/* routes
- Add /docs/automate/kiloclaw/:path* -> /docs/kiloclaw/:path* redirect to
  prevent 404s on old URLs from bookmarks/search results
- Add /kiloclaw -> /kiloclaw/overview redirect so the section root doesn't 404
2026-03-10 10:18:51 +01:00
Ligia Zanchet ad81dd1dcd docs: promote KiloClaw to its own top-level docs section
Move KiloClaw docs from /automate/kiloclaw/* to /kiloclaw/* and add it
as a standalone nav entry in the top bar and side nav, adjacent to
Kilo Gateway. Adds permanent redirects for all old paths.
2026-03-09 17:39:40 +01:00
kilo-code-bot[bot] 168685d988 docs: convert Copy page button into dropdown menu with Open markdown and Edit page options (#6763)
* docs: convert Copy page button to dropdown menu with Open markdown and Edit page options

* docs: fix button border highlight and add page footer with actions

- Fix split-button hover: highlight entire button group (both main button and chevron) when hovering any part of the group, using .page-actions:hover parent selector

- Add PageFooter component with horizontal layout showing Copy page, Open markdown, and Edit page actions at the bottom of every docs page

- Footer uses same API endpoints (raw-markdown, resolve-path) and GitHub URL construction as the dropdown button

* fix: remove flex class from article-content to fix PageFooter layout

The article-content div had Tailwind's 'flex' class which set display:flex
with default row direction. The 'column' class was not a valid Tailwind
utility (should be 'flex-col'), so the PageFooter rendered to the right
of page content instead of below it. Removing 'flex column' restores
block layout so children stack vertically.

---------

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-03-08 10:28:06 -07:00
kilo-code-bot[bot] e5ded8a97a fix: docs banner respects dark/light mode theme (#6576)
Replace hardcoded dark-only colors in the announcement banner with
CSS custom variables (--bg-secondary, --text-color, --border-color,
--accent-color, --accent-hover) that automatically adapt to the
site's light and dark themes.

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-03-03 14:39:33 -05:00
Josh Lambert e81eb4421c fix: initialize mermaid once and show fallback on render error 2026-02-27 12:14:15 -05:00
Josh Lambert bf22704755 Merge remote-tracking branch 'origin/main' into docs/refresh-architecture
# Conflicts:
#	bun.lock
2026-02-27 11:15:54 -05:00
Josh Lambert 47ab2269d4 Fix securityLevel 2026-02-27 02:43:18 -05:00
Josh Lambert f6b53dab9d Add mermaid support and refresh architecture pagte 2026-02-27 02:33:32 -05:00
Josh Lambert 42092312cf Fix scrolling on mobile 2026-02-27 01:09:36 -05:00
Josh Lambert 7b2ad4e65e Make a new tab 2026-02-27 01:02:57 -05:00
Mark IJbema 1121b78926 docs: update Kilo-Org/kilo references to Kilo-Org/kilocode
The repo was moved from github.com/Kilo-Org/kilo to
github.com/Kilo-Org/kilocode. Update all stale references in the docs.
2026-02-22 16:19:50 +01:00
kilo-maintainer[bot] 74b3afaacb chore: generate 2026-02-19 12:51:37 +00:00
Jean du Plessis 0a001daff3 fix: address additional code review findings
- raw-markdown.ts: Check path bounds before any filesystem probes to
  prevent leaking file existence info outside the pages directory
- TableOfContents.tsx: Fix SSR hydration mismatch by moving
  window.location.hash into useEffect + state instead of reading it
  during render
2026-02-18 21:50:37 +02:00
Jean du Plessis c49257dee9 fix: address code review findings in docs package
- raw-markdown.ts: Replace weak regex path sanitization with
  path.normalize (the path.resolve bounds check remains as primary guard)
- instrumentation-client.ts: Guard PostHog init against missing env var
  instead of using non-null assertion (prevents crash in local dev)
- CopyPageButton.tsx: Show error feedback instead of false success when
  copy fails
2026-02-18 21:43:24 +02:00
Jean du Plessis 8009ffe801 fix: replace stale docusaurus files with current next.js/markdoc docs
git filter-repo incorrectly resolved a merge commit where the docs app
was migrated from Docusaurus to Next.js + Markdoc, resulting in the old
Docusaurus files at HEAD. This commit overlays the correct current files
from the source repo (kilo-org/kilocode main branch).

Package renamed from kilocode-docs to @kilocode/kilo-docs.
2026-02-18 20:16:07 +02:00
Olusammytee 0bc5540450 docs: add community projects page and docs nav link 2026-02-17 18:59:10 -05:00
Brendan O'Leary c0efe5f2f2 Add prelim KiloClaw docs (#5881)
* Add preli KiloClaw docs

* 🦀

* Add in what you cando with OpenClaw

* Update apps/kilocode-docs/pages/automate/kiloclaw.md

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>

* Update apps/kilocode-docs/pages/automate/kiloclaw.md

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>

* Update apps/kilocode-docs/pages/automate/kiloclaw.md

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>

* Apply suggestion from @kiloconnect[bot]

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>

* Apply suggestion from @kiloconnect[bot]

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>

* Update apps/kilocode-docs/pages/automate/kiloclaw.md

---------

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-02-16 16:36:43 -05:00
Josh Lambert 8ac6c04c62 Add banner and pre-release extension info 2026-02-13 12:30:08 -05:00
Brendan O'Leary f6ab530962 Add gateway to nav and cross reference with provider 2026-02-12 12:00:38 -05:00
John Fawcett 463cd42461 docs(kilocode-docs): add comprehensive AI Gateway documentation
Add a new documentation section for the Kilo AI Gateway, including
overview, quickstart, authentication, models, streaming, and API
reference.
2026-02-12 08:59:04 -06:00
Brendan O'Leary 2e272ab6eb Update some syntax errors and missing images (#5637) 2026-02-09 17:36:17 -05:00
kiloconnect[bot] 27acdf2d61 feat(docs): add mobile search icon to trigger DocSearch modal (#5732)
- Add SearchIcon component (magnifying glass SVG)
- Add mobile search button in the header's right-actions section
- Add openDocSearch function to programmatically trigger DocSearch modal
- Add CSS styles for mobile-search-btn (hidden on desktop, visible on mobile)
- Button appears on viewports ≤768px and opens Algolia DocSearch when tapped

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-02-06 16:13:28 -05:00