Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ concurrency:
cancel-in-progress: false

permissions:
id-token: write
contents: read
deployments: write

env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
Expand All @@ -23,9 +23,9 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: 24
cache: npm
Expand All @@ -36,7 +36,7 @@ jobs:
working-directory: docs

- name: Build
run: npm run docs:build
run: npm run build
working-directory: docs

- name: Verify build output
Expand All @@ -47,7 +47,7 @@ jobs:
fi

- name: Deploy to Cloudflare Pages
uses: cloudflare/wrangler-action@v3
uses: cloudflare/wrangler-action@v4
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
Expand Down
19 changes: 7 additions & 12 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -1,35 +1,30 @@
import { defineConfig } from 'vitepress'

export default defineConfig({
title: 'cora',
title: 'Cora',
description: 'AI-Powered Code Review CLI — BYOK, zero config, runs in your terminal',
base: '/docs/cora/',

head: [
['link', { rel: 'icon', type: 'image/svg+xml', href: '/favicon.svg' }],
['link', { rel: 'alternate icon', type: 'image/png', href: '/favicon.png' }],
['meta', { name: 'theme-color', content: '#6366f1' }],
['meta', { property: 'og:type', content: 'website' }],
['meta', { property: 'og:title', content: 'cora — AI Code Review CLI' }],
['meta', { property: 'og:title', content: 'Cora — AI Code Review CLI' }],
['meta', { property: 'og:description', content: 'BYOK, zero config, runs in your terminal' }],
['meta', { property: 'og:image', content: 'https://codecora.dev/og.png' }],
['meta', { property: 'og:url', content: 'https://codecora.dev/' }],
['meta', { property: 'og:image', content: 'https://codecora.dev/docs/cora/og.png' }],
['meta', { property: 'og:url', content: 'https://codecora.dev/docs/cora/' }],
],

themeConfig: {
logo: '/logo.svg',

nav: [
{ text: 'Codecora', link: 'https://codecora.dev' },
{ text: 'Docs', link: '/getting-started' },
{ text: 'Examples', link: '/examples' },
{ text: 'Changelog', link: '/changelog' },
{ text: 'Roadmap', link: '/roadmap' },
{
text: 'v0.5.1',
items: [
{ text: 'GitHub', link: 'https://github.com/codecoradev/cora-cli' },
{ text: 'Releases', link: 'https://github.com/codecoradev/cora-cli/releases' },
],
},
{ text: 'GitHub', link: 'https://github.com/codecoradev/cora-cli' },
],

sidebar: {
Expand Down
Loading