-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathastro.config.mjs
More file actions
142 lines (141 loc) · 4.63 KB
/
Copy pathastro.config.mjs
File metadata and controls
142 lines (141 loc) · 4.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import mermaid from "astro-mermaid";
import { pluginCollapsibleSections } from "@expressive-code/plugin-collapsible-sections";
import { pluginLineNumbers } from "@expressive-code/plugin-line-numbers";
// https://astro.build/config
export default defineConfig({
site: "https://codellm-devkit.github.io",
base: "/codeanalyzer-java",
integrations: [
// Mermaid must run BEFORE Starlight so it can preprocess ```mermaid blocks.
mermaid({
theme: "neutral",
autoTheme: true,
mermaidConfig: {
flowchart: { curve: "basis" },
},
}),
starlight({
title: "codeanalyzer-java",
tagline: "WALA + Javaparser static analysis for enterprise Java — one JSON artifact or a queryable Neo4j graph.",
description:
"codeanalyzer-java is the JVM static-analysis backend behind CodeLLM-DevKit's Java support: a standalone JAR that turns a Java project into a symbol table and call graph, emitted as one versioned analysis JSON artifact or projected into a queryable Neo4j property graph.",
logo: {
src: "./src/assets/logo.png",
replacesTitle: true,
},
favicon: "/favicon.png",
customCss: ["./src/styles/docs.css"],
expressiveCode: {
plugins: [pluginCollapsibleSections(), pluginLineNumbers()],
styleOverrides: {
borderRadius: "0.4rem",
frames: {
shadowColor: "transparent",
},
},
defaultProps: {
showLineNumbers: false,
},
},
head: [
{
tag: "link",
attrs: { rel: "preconnect", href: "https://fonts.googleapis.com" },
},
{
tag: "link",
attrs: {
rel: "preconnect",
href: "https://fonts.gstatic.com",
crossorigin: "",
},
},
{
tag: "link",
attrs: {
rel: "stylesheet",
href: "https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap",
},
},
],
social: [
{
icon: "github",
label: "codeanalyzer-java on GitHub",
href: "https://github.com/codellm-devkit/codeanalyzer-java",
},
{
icon: "seti:java",
label: "codeanalyzer-java releases",
href: "https://github.com/codellm-devkit/codeanalyzer-java/releases",
},
{
icon: "discord",
label: "CLDK on Discord",
href: "https://discord.gg/zEjz9YrmqN",
},
],
editLink: {
baseUrl: "https://github.com/codellm-devkit/codeanalyzer-java/edit/docs/",
},
sidebar: [
{
label: "Start here",
items: [
{ label: "What is codeanalyzer-java?", slug: "what-is-codeanalyzer" },
{ label: "Quickstart", slug: "quickstart" },
{ label: "Installation", slug: "installing" },
],
},
{
label: "Guides",
items: [
{ label: "Architecture", slug: "guides/architecture" },
{ label: "Analysis levels", slug: "guides/analysis-levels" },
{ label: "Build integration", slug: "guides/build-integration" },
{ label: "Incremental analysis", slug: "guides/incremental-analysis" },
{ label: "Neo4j output", slug: "guides/neo4j-output" },
],
},
{
label: "CLI Reference",
items: [
{ label: "Command-line options", slug: "reference/cli" },
{ label: "Examples", slug: "reference/examples" },
],
},
{
label: "Output Schema",
items: [
{ label: "Overview", slug: "schema" },
{ label: "Symbol table", slug: "schema/symbol-table" },
{ label: "Call graph", slug: "schema/call-graph" },
{ label: "Neo4j graph", slug: "schema/neo4j-graph" },
],
},
{
label: "Framework Support",
items: [
{ label: "Entry points", slug: "frameworks/entry-points" },
{ label: "CRUD detection", slug: "frameworks/crud" },
],
},
{
label: "Integration",
items: [
{ label: "Python SDK (CLDK)", slug: "integration/python-sdk" },
],
},
{
label: "Project",
items: [
{ label: "Contributing", slug: "contributing" },
{ label: "Troubleshooting", slug: "troubleshooting" },
],
},
],
}),
],
});