diff --git a/docs/shipping/AWS/_category_.json b/docs/shipping/AWS/_category_.json new file mode 100644 index 00000000..2b88f31f --- /dev/null +++ b/docs/shipping/AWS/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "AWS", + "position": 2, + "customProps": { + "description": "Send data from your AWS services." + } +} \ No newline at end of file diff --git a/docs/shipping/Access-Management/_category_.json b/docs/shipping/Access-Management/_category_.json new file mode 100644 index 00000000..bd1f2770 --- /dev/null +++ b/docs/shipping/Access-Management/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "Access Management", + "position": 4, + "customProps": { + "description": "Send data from your Access Management services." + } +} \ No newline at end of file diff --git a/docs/shipping/Azure/_category_.json b/docs/shipping/Azure/_category_.json new file mode 100644 index 00000000..71848067 --- /dev/null +++ b/docs/shipping/Azure/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "Azure", + "position": 3, + "customProps": { + "description": "Send data from your Azure services." + } +} \ No newline at end of file diff --git a/docs/shipping/CI-CD/_category_.json b/docs/shipping/CI-CD/_category_.json new file mode 100644 index 00000000..24058980 --- /dev/null +++ b/docs/shipping/CI-CD/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "CI-CD", + "position": 3, + "customProps": { + "description": "Send data from your CI-CD services." + } +} \ No newline at end of file diff --git a/docs/shipping/Code/_category_.json b/docs/shipping/Code/_category_.json new file mode 100644 index 00000000..1cf012b7 --- /dev/null +++ b/docs/shipping/Code/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "Code", + "position": 5, + "customProps": { + "description": "Send data from your code." + } +} \ No newline at end of file diff --git a/docs/shipping/Compute/_category_.json b/docs/shipping/Compute/_category_.json new file mode 100644 index 00000000..ae974a1d --- /dev/null +++ b/docs/shipping/Compute/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "Compute", + "position": 6, + "customProps": { + "description": "Send data from your compute services." + } +} \ No newline at end of file diff --git a/docs/shipping/Containers/_category_.json b/docs/shipping/Containers/_category_.json new file mode 100644 index 00000000..ac3f13b5 --- /dev/null +++ b/docs/shipping/Containers/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "Containers", + "position": 7, + "customProps": { + "description": "Send data from your container services." + } +} \ No newline at end of file diff --git a/docs/shipping/Data-Store/_category_.json b/docs/shipping/Data-Store/_category_.json new file mode 100644 index 00000000..55fd5a59 --- /dev/null +++ b/docs/shipping/Data-Store/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "Data Store", + "position": 8, + "customProps": { + "description": "Send data from your data store services." + } +} \ No newline at end of file diff --git a/docs/shipping/Database/_category_.json b/docs/shipping/Database/_category_.json new file mode 100644 index 00000000..65529ff5 --- /dev/null +++ b/docs/shipping/Database/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "Database", + "position": 9, + "customProps": { + "description": "Send data from your database services." + } +} \ No newline at end of file diff --git a/docs/shipping/Distributed-Messaging/_category_.json b/docs/shipping/Distributed-Messaging/_category_.json new file mode 100644 index 00000000..ce2bd346 --- /dev/null +++ b/docs/shipping/Distributed-Messaging/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "Distributed Messaging", + "position": 10, + "customProps": { + "description": "Send data from your distributed messaging services." + } +} \ No newline at end of file diff --git a/docs/shipping/GCP/_category_.json b/docs/shipping/GCP/_category_.json new file mode 100644 index 00000000..a898bae7 --- /dev/null +++ b/docs/shipping/GCP/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "GCP", + "position": 11, + "customProps": { + "description": "Send data from your GCP services." + } +} \ No newline at end of file diff --git a/docs/shipping/IoT/_category_.json b/docs/shipping/IoT/_category_.json new file mode 100644 index 00000000..3a5c55da --- /dev/null +++ b/docs/shipping/IoT/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "IoT", + "position": 11, + "customProps": { + "description": "Send data from your IoT services." + } +} \ No newline at end of file diff --git a/docs/shipping/Load-Balancer/_category_.json b/docs/shipping/Load-Balancer/_category_.json new file mode 100644 index 00000000..85085451 --- /dev/null +++ b/docs/shipping/Load-Balancer/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "Load Balancer", + "position": 12, + "customProps": { + "description": "Send data from your load balancer services." + } +} \ No newline at end of file diff --git a/docs/shipping/Memory-Caching/_category_.json b/docs/shipping/Memory-Caching/_category_.json new file mode 100644 index 00000000..b4376161 --- /dev/null +++ b/docs/shipping/Memory-Caching/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "Memory Caching", + "position": 13, + "customProps": { + "description": "Send data from your memory caching services." + } +} \ No newline at end of file diff --git a/docs/shipping/Network/_category_.json b/docs/shipping/Network/_category_.json new file mode 100644 index 00000000..47d0a54e --- /dev/null +++ b/docs/shipping/Network/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "Network", + "position": 14, + "customProps": { + "description": "Send data from your network services." + } +} \ No newline at end of file diff --git a/docs/shipping/Operating-Systems/_category_.json b/docs/shipping/Operating-Systems/_category_.json new file mode 100644 index 00000000..f7aa2706 --- /dev/null +++ b/docs/shipping/Operating-Systems/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "Operating systems", + "position": 15, + "customProps": { + "description": "Send data from your operating systems." + } +} \ No newline at end of file diff --git a/docs/shipping/Orchestration/_category_.json b/docs/shipping/Orchestration/_category_.json new file mode 100644 index 00000000..4de1c4d3 --- /dev/null +++ b/docs/shipping/Orchestration/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "Orchestration", + "position": 16, + "customProps": { + "description": "Send data from your orchestration services." + } +} \ No newline at end of file diff --git a/docs/shipping/Other/_category_.json b/docs/shipping/Other/_category_.json index 36e8c292..b30a8607 100644 --- a/docs/shipping/Other/_category_.json +++ b/docs/shipping/Other/_category_.json @@ -1,7 +1,7 @@ { "label": "Other", - "link": { - "type": "generated-index", - "description": "More tools" + "position": 19, + "customProps": { + "description": "More tools." } -} +} \ No newline at end of file diff --git a/docs/shipping/Security/_category_.json b/docs/shipping/Security/_category_.json new file mode 100644 index 00000000..4c4e3964 --- /dev/null +++ b/docs/shipping/Security/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "Security", + "position": 17, + "customProps": { + "description": "Send data from your security services." + } +} \ No newline at end of file diff --git a/docs/shipping/Synthetic-Monitoring/_category_.json b/docs/shipping/Synthetic-Monitoring/_category_.json new file mode 100644 index 00000000..e0d3b703 --- /dev/null +++ b/docs/shipping/Synthetic-Monitoring/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "Synthetic Monitoring", + "position": 18, + "customProps": { + "description": "Send data from your synthetic monitoring services." + } +} \ No newline at end of file diff --git a/src/theme/DocCard/index.js b/src/theme/DocCard/index.js new file mode 100644 index 00000000..f412c0b4 --- /dev/null +++ b/src/theme/DocCard/index.js @@ -0,0 +1,23 @@ +// In your DocCardWrapper.jsx +import React from 'react'; +import DocCard from '@theme-original/DocCard'; + +export default function DocCardWrapper(props) { + // Extract item and restProps from props + const { item, ...restProps } = props; + + // Check if customProps and description exist and log it + if (item.customProps?.description) { + console.log('Custom description exists:', item.customProps.description); + } else { + console.log('Using default description:', item.description); + } + + // Override the description if customProps.description exists + const newItem = { + ...item, + description: item.customProps?.description || item.description, + }; + + return ; +}