-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
102 lines (99 loc) · 2.95 KB
/
gatsby-config.js
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
const themeOptions = require("./src/theme-options")
module.exports = {
pathPrefix: "/",
siteMetadata: {
title: 'Food Ontology Docs'
},
plugins: [
`gatsby-plugin-dark-mode`,
`gatsby-plugin-offline`,
{
resolve: 'gatsby-transformer-remark',
options: {
plugins: [
'gatsby-remark-autolink-headers',
{
resolve: 'gatsby-remark-check-links',
options: {
exceptions: [
'/contributions/',
]
}
}
]
}
},
{
resolve: "gatsby-theme-apollo-docs",
options: {
...themeOptions,
root: "docs",
githubRepo: "duckscapephilip/foodontology",
sidebarCategories: {
null: ["index", "intro/executive-summary", "intro/feedback", "intro/how-to-use-docs"],
"Pretext": [
"pretext/why-epcis",
"pretext/why-extension",
"pretext/why-iuu",
],
"Certifications": [
"certification/msc-asc",
"certification/other-cert"
],
"Regulatory": [
"regulatory/gdpr",
"regulatory/simp-aquaculture",
"regulatory/simp-wild-harvest",
"regulatory/eu-catch-cert",
"regulatory/non-western-regulations",
],
"Aquaculture Events": [
"aquaculture-events/master-data",
"aquaculture-events/brood-stock",
"aquaculture-events/feeding",
"aquaculture-events/farm-harvest",
"aquaculture-events/wild-to-farmed",
"aquaculture-events/commodities",
"aquaculture-events/xml-mappings"
],
"Wild Events": [
"wild-events/master-data",
"wild-events/fishing-events",
"wild-events/on-vessel-processing",
"wild-events/transshipment",
"wild-events/landing",
"wild-events/gear-types",
"wild-events/mari-culture",
"wild-events/commodities",
"wild-events/xml-mappings"
],
"EPCIS Extensions": [
"extensions/business-steps",
"extensions/dispositions",
"extensions/certificates",
"extensions/catch-area",
"extensions/master-data",
"extensions/ilmd",
"extensions/object-event"
],
"Open API": [
"open-api/examples",
"open-api/swagger-api"
],
"Resources": [
"resources/featured-implementation",
"resources/index"
],
"Contributions": [
"contributions/how-to-work-on-doc",
"contributions/how-to-request-new-doc",
"contributions/how-to-submit-work-for-review",
"contributions/running-gatsby",
"contributions/authors",
"contributions/contacts"
]
},
},
},
],
}