-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
144 lines (143 loc) · 4.22 KB
/
astro.config.mjs
File metadata and controls
144 lines (143 loc) · 4.22 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
143
144
// @ts-check
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import remarkMath from 'remark-math';
import rehypeKatex from 'rehype-katex';
// https://astro.build/config
export default defineConfig({
site: 'https://stepss.sps-lab.org',
base: '/',
markdown: {
remarkPlugins: [remarkMath],
rehypePlugins: [rehypeKatex],
},
integrations: [
starlight({
title: 'STEPSS',
description: 'Static and Transient Electric Power Systems Simulation — Documentation',
logo: {
light: './src/assets/icon-light.svg',
dark: './src/assets/icon-dark.svg',
replacesTitle: false,
},
social: [
{ icon: 'github', label: 'GitHub', href: 'https://github.com/SPS-L/stepss-docs' },
],
editLink: {
baseUrl: 'https://github.com/SPS-L/stepss-docs/edit/main/',
},
customCss: [
'./src/styles/custom.css',
'katex/dist/katex.min.css',
],
head: [
{
tag: 'meta',
attrs: {
name: 'keywords',
content: 'power systems, simulation, RAMSES, PyRAMSES, dynamic simulation, STEPSS',
},
},
],
sidebar: [
{
label: 'Getting Started',
items: [
{ label: 'Overview', slug: 'getting-started/overview' },
{ label: 'Installation', slug: 'getting-started/installation' },
{ label: 'Quick Start', slug: 'getting-started/quickstart' },
],
},
{
label: 'Simulation Guide',
items: [
{
label: 'Data Formats',
items: [
{ label: 'File Formats', slug: 'user-guide/file-formats' },
{ label: 'Network Modeling', slug: 'user-guide/network' },
],
},
{
label: 'Power Flow (PFC)',
items: [
{ label: 'Power Flow Data & Settings', slug: 'user-guide/pfc' },
],
},
{
label: 'Dynamic Simulation',
items: [
{ label: 'Reference Frames & Initialization', slug: 'user-guide/reference-frames' },
{ label: 'Dynamic Models', slug: 'user-guide/dynamic-models' },
{ label: 'Disturbances', slug: 'user-guide/disturbances' },
{ label: 'Solver Settings', slug: 'user-guide/solver-settings' },
],
},
],
},
{
label: 'PyRAMSES',
items: [
{ label: 'Overview', slug: 'pyramses/overview' },
{ label: 'Installation', slug: 'pyramses/installation' },
{ label: 'API Reference', slug: 'pyramses/api-reference' },
{ label: 'Examples', slug: 'pyramses/examples' },
],
},
{
label: 'Model Reference',
items: [
{ label: 'Synchronous Machine', slug: 'models/synchronous-machine' },
{
label: 'Exciters',
items: [
{ label: 'IEEE Exciters', slug: 'models/ieee-exciters' },
{ label: 'Custom Exciters', slug: 'models/custom-exciters' },
],
},
{
label: 'Governors',
items: [
{ label: 'IEEE Governors', slug: 'models/ieee-governors' },
{ label: 'Custom Governors', slug: 'models/custom-governors' },
],
},
{ label: 'Injectors', slug: 'models/custom-injectors' },
{ label: 'Two-Port Models', slug: 'models/two-port-models' },
{ label: 'Discrete Controllers', slug: 'models/discrete-controllers' },
],
},
{
label: 'Extending STEPSS',
items: [
{ label: 'User-Defined Models', slug: 'developer/user-models' },
{ label: 'CODEGEN Blocks Library', slug: 'developer/codegen-library' },
{ label: 'CODEGEN Model Examples', slug: 'developer/codegen-examples' },
{ label: 'URAMSES', slug: 'developer/uramses' },
],
},
{
label: 'Analysis',
items: [
{ label: 'Eigenanalysis', slug: 'user-guide/eigenanalysis' },
],
},
{
label: 'Test Systems',
items: [
{ label: 'Nordic Test System', slug: 'test-systems/nordic' },
{ label: '5-Bus Test System', slug: 'test-systems/5bus' },
],
},
{
label: 'Reference',
items: [
{ label: 'Repositories', slug: 'resources/repositories' },
{ label: 'References', slug: 'resources/references' },
{ label: 'License', slug: 'getting-started/license' },
],
},
],
}),
],
});