Skip to content
This repository was archived by the owner on Feb 10, 2026. It is now read-only.

Commit d5d2374

Browse files
authored
Merge pull request #117 from event-catalog/create-catalog-v3
chore(sdk): updated default catalog config files for v3
2 parents 3034813 + 1a1e50e commit d5d2374

File tree

8 files changed

+55
-66
lines changed

8 files changed

+55
-66
lines changed

.changeset/chatty-pans-walk.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@eventcatalog/create-eventcatalog": major
3+
---
4+
5+
chore(sdk): updated default catalog config files for v3

templates/asyncapi/eventcatalog.config.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ export default {
1818
// Change to make the base url of the site different, by default https://{website}.com/docs,
1919
// changing to /company would be https://{website}.com/company/docs,
2020
base: '/',
21+
// Customize the navigation for your docs sidebar.
22+
// read more at https://eventcatalog.dev/docs/development/customization/customize-sidebars/documentation-sidebar
23+
navigation: {
24+
pages: [
25+
'list:all',
26+
]
27+
},
2128
logo: {
2229
alt: 'EventCatalog Logo',
2330
src: '/logo.png',
@@ -58,13 +65,6 @@ export default {
5865
},
5966
],
6067
],
61-
docs: {
62-
sidebar: {
63-
// TREE_VIEW will render the DOCS as a tree view and map your file system folder structure
64-
// LIST_VIEW will render the DOCS that look familiar to API documentation websites
65-
type: 'LIST_VIEW'
66-
},
67-
},
6868
// Enable RSS feed for your eventcatalog
6969
rss: {
7070
enabled: true,

templates/confluent/eventcatalog.config.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ export default {
1313
// Change to make the base url of the site different, by default https://{website}.com/docs,
1414
// changing to /company would be https://{website}.com/company/docs,
1515
base: '/',
16+
// Customize the navigation for your docs sidebar.
17+
// read more at https://eventcatalog.dev/docs/development/customization/customize-sidebars/documentation-sidebar
18+
navigation: {
19+
pages: [
20+
'list:all',
21+
]
22+
},
1623
// Customize the logo, add your logo to public/ folder
1724
logo: {
1825
alt: 'EventCatalog Logo',
@@ -25,13 +32,6 @@ export default {
2532
// number of items to include in the feed per resource (event, service, etc)
2633
limit: 20
2734
},
28-
docs: {
29-
sidebar: {
30-
// TREE_VIEW will render the DOCS as a tree view and map your file system folder structure
31-
// LIST_VIEW will render the DOCS that look familiar to API documentation websites
32-
type: 'LIST_VIEW'
33-
},
34-
},
3535
// required random generated id used by eventcatalog
3636
cId: '<cId>',
3737
// This lets you copy markdown contents from EventCatalog to your clipboard

templates/default/eventcatalog.config.js

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,20 @@ export default {
1313
// Change to make the base url of the site different, by default https://{website}.com/docs,
1414
// changing to /company would be https://{website}.com/company/docs,
1515
base: '/',
16+
// Customize the navigation for your docs sidebar.
17+
// read more at https://eventcatalog.dev/docs/development/customization/customize-sidebars/documentation-sidebar
18+
navigation: {
19+
pages: [
20+
'list:top-level-domains',
21+
'list:all',
22+
]
23+
},
1624
// Customize the logo, add your logo to public/ folder
1725
logo: {
1826
alt: 'EventCatalog Logo',
1927
src: '/logo.png',
2028
text: 'EventCatalog'
2129
},
22-
docs: {
23-
sidebar: {
24-
// TREE_VIEW will render the DOCS as a tree view and map your file system folder structure
25-
// LIST_VIEW will render the DOCS that look familiar to API documentation websites
26-
type: 'LIST_VIEW'
27-
},
28-
},
29-
// Enable RSS feed for your eventcatalog
30-
rss: {
31-
enabled: true,
32-
// number of items to include in the feed per resource (event, service, etc)
33-
limit: 20
34-
},
3530
// This lets you copy markdown contents from EventCatalog to your clipboard
3631
// Including schemas for your events and services
3732
llmsTxt: {

templates/empty/eventcatalog.config.js

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,30 +13,24 @@ export default {
1313
// Change to make the base url of the site different, by default https://{website}.com/docs,
1414
// changing to /company would be https://{website}.com/company/docs,
1515
base: '/',
16+
// Customize the navigation for your docs sidebar.
17+
// read more at https://eventcatalog.dev/docs/development/customization/customize-sidebars/documentation-sidebar
18+
navigation: {
19+
pages: [
20+
'list:all',
21+
]
22+
},
1623
// Customize the logo, add your logo to public/ folder
1724
logo: {
1825
alt: 'EventCatalog Logo',
1926
src: '/logo.png',
2027
text: 'EventCatalog'
2128
},
22-
// Enable RSS feed for your eventcatalog
23-
rss: {
24-
enabled: true,
25-
// number of items to include in the feed per resource (event, service, etc)
26-
limit: 20
27-
},
2829
// This lets you copy markdown contents from EventCatalog to your clipboard
2930
// Including schemas for your events and services
3031
llmsTxt: {
3132
enabled: true,
3233
},
33-
docs: {
34-
sidebar: {
35-
// TREE_VIEW will render the DOCS as a tree view and map your file system folder structure
36-
// LIST_VIEW will render the DOCS that look familiar to API documentation websites
37-
type: 'LIST_VIEW'
38-
},
39-
},
4034
// required random generated id used by eventcatalog
4135
cId: '<cId>'
4236
}

templates/eventbridge/eventcatalog.config.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ export default {
1313
// Change to make the base url of the site different, by default https://{website}.com/docs,
1414
// changing to /company would be https://{website}.com/company/docs,
1515
base: '/',
16+
// Customize the navigation for your docs sidebar.
17+
// read more at https://eventcatalog.dev/docs/development/customization/customize-sidebars/documentation-sidebar
18+
navigation: {
19+
pages: [
20+
'list:all',
21+
]
22+
},
1623
// Customize the logo, add your logo to public/ folder
1724
logo: {
1825
alt: 'EventCatalog Logo',
@@ -25,13 +32,6 @@ export default {
2532
// number of items to include in the feed per resource (event, service, etc)
2633
limit: 20
2734
},
28-
docs: {
29-
sidebar: {
30-
// TREE_VIEW will render the DOCS as a tree view and map your file system folder structure
31-
// LIST_VIEW will render the DOCS that look familiar to API documentation websites
32-
type: 'LIST_VIEW'
33-
},
34-
},
3535
// This lets you copy markdown contents from EventCatalog to your clipboard
3636
// Including schemas for your events and services
3737
llmsTxt: {

templates/graphql/eventcatalog.config.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ export default {
1818
// Change to make the base url of the site different, by default https://{website}.com/docs,
1919
// changing to /company would be https://{website}.com/company/docs,
2020
base: "/",
21+
// Customize the navigation for your docs sidebar.
22+
// read more at https://eventcatalog.dev/docs/development/customization/customize-sidebars/documentation-sidebar
23+
navigation: {
24+
pages: [
25+
'list:all',
26+
]
27+
},
2128
// Customize the logo, add your logo to public/ folder
2229
logo: {
2330
alt: "EventCatalog Logo",
@@ -49,12 +56,6 @@ export default {
4956
},
5057
],
5158
],
52-
// Enable RSS feed for your eventcatalog
53-
rss: {
54-
enabled: true,
55-
// number of items to include in the feed per resource (event, service, etc)
56-
limit: 20
57-
},
5859
// required random generated id used by eventcatalog
5960
cId: '<cId>'
6061
};

templates/openapi/eventcatalog.config.js

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ export default {
1818
// Change to make the base url of the site different, by default https://{website}.com/docs,
1919
// changing to /company would be https://{website}.com/company/docs,
2020
base: "/",
21+
// Customize the navigation for your docs sidebar.
22+
// read more at https://eventcatalog.dev/docs/development/customization/customize-sidebars/documentation-sidebar
23+
navigation: {
24+
pages: [
25+
'list:all',
26+
]
27+
},
2128
// Customize the logo, add your logo to public/ folder
2229
logo: {
2330
alt: "EventCatalog Logo",
@@ -63,19 +70,6 @@ export default {
6370
},
6471
],
6572
],
66-
docs: {
67-
sidebar: {
68-
// TREE_VIEW will render the DOCS as a tree view and map your file system folder structure
69-
// LIST_VIEW will render the DOCS that look familiar to API documentation websites
70-
type: 'LIST_VIEW'
71-
},
72-
},
73-
// Enable RSS feed for your eventcatalog
74-
rss: {
75-
enabled: true,
76-
// number of items to include in the feed per resource (event, service, etc)
77-
limit: 20
78-
},
7973
// required random generated id used by eventcatalog
8074
cId: '<cId>'
8175
};

0 commit comments

Comments
 (0)