Skip to content

Commit 9f4fae1

Browse files
committed
Clean up meta.json files and update build-docs script
Removed unnecessary whitespace and the 'root' property from protocol meta.json files. Also removed the 'order' property from the root meta.json and updated the build-docs script to reflect these changes for consistency and clarity in documentation structure.
1 parent 11422fe commit 9f4fae1

File tree

10 files changed

+1
-11
lines changed

10 files changed

+1
-11
lines changed

content/docs/references/auth/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"title": "Auth Protocol",
3-
43
"pages": [
54
"config",
65
"identity",

content/docs/references/automation/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"title": "Automation Protocol",
3-
43
"pages": [
54
"flow",
65
"webhook",

content/docs/references/data/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"title": "Data Protocol",
3-
43
"pages": [
54
"dataset",
65
"field",

content/docs/references/driver/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"title": "Driver Protocol",
3-
43
"pages": [
54
"datasource",
65
"driver",

content/docs/references/hub/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"title": "Hub Protocol",
3-
43
"pages": [
54
"composer",
65
"license",

content/docs/references/kernel/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"title": "Kernel Protocol",
3-
43
"pages": [
54
"context",
65
"logger",

content/docs/references/permission/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"title": "Permission Protocol",
3-
43
"pages": [
54
"permission",
65
"sharing",

content/docs/references/system/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"title": "System Protocol",
3-
43
"pages": [
54
"audit",
65
"events",

content/docs/references/ui/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"title": "UI Protocol",
3-
43
"pages": [
54
"action",
65
"app",

packages/spec/scripts/build-docs.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ Object.entries(CATEGORIES).forEach(([key, title]) => {
168168
// Create top-level meta.json for the protocol
169169
const meta: any = {
170170
title,
171-
root: true // Mark as root to display folders nicely
172171
};
173172

174173
// Sort zod files alphabetically for consistent ordering
@@ -232,7 +231,7 @@ Object.keys(CATEGORIES).forEach(category => {
232231
// We want references to list categories in specific order
233232
const rootMetaProps = {
234233
label: "Protocol Reference",
235-
order: 100,
234+
root: true,
236235
pages: [
237236
"data",
238237
"ui",

0 commit comments

Comments
 (0)