Skip to content

Commit

Permalink
Bump dependencies to latest version (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
huijing authored Feb 19, 2024
1 parent 204fb33 commit a3ff400
Show file tree
Hide file tree
Showing 3 changed files with 1,568 additions and 1,111 deletions.
57 changes: 29 additions & 28 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,25 +1,6 @@
import { defineConfig } from 'astro/config'
import starlight from '@astrojs/starlight'
import { generateAPI } from 'starlight-openapi'

// Generate the documentation and get the associated sidebar groups.
const { starlightOpenAPI } = await generateAPI([
{
base: 'apis/resource-server',
label: 'Open Payments',
schema: '../openapi/resource-server.yaml'
},
{
base: 'apis/wallet-address-server',
label: 'Wallet Addresses',
schema: '../openapi/wallet-address-server.yaml'
},
{
base: 'apis/auth-server',
label: 'Open Payments Authorization Server',
schema: '../openapi/auth-server.yaml'
}
])
import starlightOpenAPI from 'starlight-openapi'

// https://astro.build/config
export default defineConfig({
Expand All @@ -29,8 +10,11 @@ export default defineConfig({
title: 'Open Payments',
description:
'An API for open access to financial accounts to send and receive payments.',
components: {
Header: './src/components/Header.astro'
},
customCss: [
'./node_modules/@interledger/docs-design-system/src/styles/green-theme.css',
'./node_modules/@interledger/docs-design-system/src/styles/teal-theme.css',
'./node_modules/@interledger/docs-design-system/src/styles/ilf-docs.css',
'./src/styles/openpayments.css'
],
Expand All @@ -43,12 +27,26 @@ export default defineConfig({
logo: {
src: './public/favicon.svg'
},
components: {
Header: './src/components/Header.astro'
},
social: {
github: 'https://github.com/interledger/open-payments'
},
plugins: [
// Generate the OpenAPI documentation pages.
starlightOpenAPI([
{
base: 'apis/resource-server',
label: 'Open Payments',
schema: '../openapi/resource-server.yaml'
},
{
base: 'apis/wallet-address-server',
label: 'Wallet Addresses',
schema: '../openapi/wallet-address-server.yaml'
},
{
base: 'apis/auth-server',
label: 'Open Payments Authorization Server',
schema: '../openapi/auth-server.yaml'
}
])
],
sidebar: [
{
label: 'Intro to Open Payments',
Expand Down Expand Up @@ -357,7 +355,10 @@ export default defineConfig({
}
]
}
]
],
social: {
github: 'https://github.com/interledger/open-payments'
}
}),
starlightOpenAPI()
],
Expand Down
16 changes: 8 additions & 8 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/starlight": "^0.13.1",
"@interledger/docs-design-system": "^0.2.1",
"astro": "3.6.3",
"mermaid": "^10.6.1",
"sharp": "^0.32.6",
"shiki": "0.14.5",
"starlight-openapi": "^0.3.1"
"@astrojs/starlight": "^0.19.0",
"@interledger/docs-design-system": "^0.3.0",
"astro": "4.4.0",
"mermaid": "^10.8.0",
"sharp": "^0.33.2",
"shiki": "1.1.5",
"starlight-openapi": "^0.5.0"
},
"devDependencies": {
"prettier": "3.1.0"
"prettier": "3.2.5"
}
}
Loading

0 comments on commit a3ff400

Please sign in to comment.