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
40 changes: 40 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Docs

on:
push:
branches: ["main"]
paths:
- "docs-site/**"
- ".github/workflows/docs.yml"
pull_request:
paths:
- "docs-site/**"
- ".github/workflows/docs.yml"
workflow_dispatch:

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: withastro/action@v6
with:
path: "./docs-site"

deploy:
if: github.event_name == 'push'
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5
3 changes: 3 additions & 0 deletions docs-site/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
dist/
.astro/
38 changes: 38 additions & 0 deletions docs-site/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import starlight from "@astrojs/starlight";
import { defineConfig } from "astro/config";

export default defineConfig({
site: "https://aojdevstudio.github.io/Finance-Guru",
base: "/Finance-Guru/",
integrations: [
starlight({
title: "Finance Guru",
description: "Finance Guru is a local-first financial analysis and automation repository built for a private family office workflow. It combines a typed Python analysis engine, brokerage-data integrations, operational runbooks, and AI-assisted workflows.",
favicon: "/favicon.svg",
customCss: ["./src/styles/aoj-docs.css"],
lastUpdated: true,
sidebar: [
{
label: "Tutorials",
items: [{ autogenerate: { directory: "tutorials" } }],
},
{
label: "How-to guides",
items: [{ autogenerate: { directory: "how-to" } }],
},
{
label: "Reference",
items: [{ autogenerate: { directory: "reference" } }],
},
{
label: "Explanation",
items: [{ autogenerate: { directory: "explanation" } }],
},
{
label: "Project",
items: [{ label: "Source repository", link: "https://github.com/AojdevStudio/Finance-Guru" }],
},
],
}),
],
});
1,090 changes: 1,090 additions & 0 deletions docs-site/bun.lock

Large diffs are not rendered by default.

Loading