-
Notifications
You must be signed in to change notification settings - Fork 1
/
magidoc.mjs
76 lines (71 loc) · 1.94 KB
/
magidoc.mjs
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
export default {
introspection: {
type: 'url',
url: 'http://localhost:8080',
},
website: {
template: 'carbon-multi-page',
output: './public/docs',
options: {
siteRoot: `/docs`,
appTitle: 'LDOG Stack',
appFavicon: 'https://apiskeletons.com/images/favicon.ico',
appLogo: 'https://raw.githubusercontent.com/API-Skeletons/ldog/main/public/ldog.svg',
siteMeta: {
description:
'A PHP Stack with Laravel, Doctrine ORM, and GraphQL.',
'og:description':
'A PHP Stack with Laravel, Doctrine ORM, and GraphQL.',
keywords:
'laravel,doctrine,orm,graphql',
author: 'API Skeletons, Inc. <[email protected]>',
'og:title': 'LDOG Stack',
'og:type': 'article',
'og:image':
'https://raw.githubusercontent.com/API-Skeletons/ldog/main/public/ldog.svg',
},
pages: [
{
title: 'GraphQL API Docs',
content: `
# GraphQL API Docs
This query returns all Artists, Performances, and Recordings in the included sample database.
You may try it out with [graphiql](https://ldog.apiskeletons.dev/graphiql)
\`\`\`graphql
query {
artists {
edges {
node {
id
name
performances {
edges {
node {
date
venue
city
state
recordings {
edges {
node {
source
}
}
}
}
}
}
}
}
}
}
\`\`\`
---
A project of [API Skeletons](mailto:[email protected])
* https://github.com/api-skeletons/ldog
`
}
]
}
}
}