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
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
cli/template
docs/**/*.mdx
7 changes: 7 additions & 0 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,25 @@ import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import react from "@astrojs/react";
import tailwind from "@astrojs/tailwind";
import starlightLlmsTxt from "starlight-llms-txt";

// https://astro.build/config
export default defineConfig({
site: "https://proofkit.dev",
integrations: [
starlight({
description:
"ProofKit is a CLI tool for quickly building JavaScript apps.",
// @ts-expect-error not sure why
plugins: [starlightLlmsTxt({ projectName: "ProofKit CLI" })],
title: "ProofKit CLI",
social: {
github: "https://github.com/proofgeist/proofkit",
},
components: {
Header: "./src/components/Header.astro",
},
customCss: ["./src/tailwind.css"],
sidebar: [
{
label: "Guides",
Expand Down
2 changes: 2 additions & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"@astrojs/check": "^0.9.4",
"@astrojs/react": "^4.2.2",
"@astrojs/starlight": "^0.32.5",
"@astrojs/starlight-tailwind": "^3.0.1",
"@astrojs/vercel": "^8.1.3",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
Expand All @@ -25,6 +26,7 @@
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sharp": "^0.32.5",
"starlight-llms-txt": "^0.4.0",
"typescript": "^5.6.3"
},
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions docs/src/tailwind.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
4 changes: 3 additions & 1 deletion docs/tailwind.config.js → docs/tailwind.config.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import starlightPlugin from "@astrojs/starlight-tailwind";

/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
extend: {},
},
plugins: [],
plugins: [starlightPlugin()],
};
Loading