Skip to content

Commit ed63fea

Browse files
authored
Update the release to v0.3.1 and sync infra providers which are now included in the repo (#114)
1 parent 45ba720 commit ed63fea

File tree

7 files changed

+140
-12
lines changed

7 files changed

+140
-12
lines changed

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,8 @@ docs/community/sigs.md
2020

2121
# Guide content (from llm-d-incubation/llm-d-infra repo)
2222
docs/guide/guide.md
23-
docs/guide/Installation/
23+
docs/guide/Installation/*.md
24+
docs/guide/InfraProviders/*.md
25+
# Keep category files for sidebar configuration
26+
!docs/guide/Installation/_category_.json
27+
!docs/guide/InfraProviders/_category_.json
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"label": "Infrastructure Providers",
3+
"position": 3,
4+
"collapsible": true,
5+
"collapsed": false
6+
}
7+
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"label": "Installation",
3+
"position": 2,
4+
"collapsible": true,
5+
"collapsed": false
6+
}
7+

remote-content/remote-content.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ import componentSources from './remote-sources/architecture/components-generator
1313
// Import guide remote content sources
1414
import guideSources from './remote-sources/guide/guide-generator.js';
1515

16+
// Import infra providers remote content sources
17+
import infraProviderSources from './remote-sources/infra-providers/infra-providers-generator.js';
18+
1619
/**
1720
* Remote Content Plugin System
1821
*
@@ -45,6 +48,9 @@ const remoteContentPlugins = [
4548
// Guide remote content sources (docs/guide/)
4649
...guideSources, // Spread all dynamically generated guide sources
4750

51+
// Infra Providers remote content sources (docs/infra-providers/)
52+
...infraProviderSources, // Spread all dynamically generated infra provider sources
53+
4854
// Add more remote sources here in the appropriate section above
4955
];
5056

remote-content/remote-sources/architecture/components-generator.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ The llm-d ecosystem consists of multiple interconnected components that work tog
9898
9999
## Components
100100
101-
| Component | Description | Repository | Documentation |
102-
|-----------|-------------|------------|---------------|`;
101+
| Component | Description | Repository | Version | Documentation |
102+
|-----------|-------------|------------|---------|---------------|`;
103103

104104
// Generate single table with all components (sorted by sidebarPosition)
105105
const sortedComponents = [...componentsData.components].sort((a, b) => a.sidebarPosition - b.sidebarPosition);
@@ -112,7 +112,12 @@ The llm-d ecosystem consists of multiple interconnected components that work tog
112112
).join(' ');
113113
const docLink = `./Components/${cleanName}`;
114114

115-
content += `\n| **[${cleanTitle}](${repoUrl})** | ${component.description} | [${component.org}/${component.name}](${repoUrl}) | [View Docs](${docLink}) |`;
115+
// Create version link to GitHub releases
116+
const versionTag = component.version || 'latest';
117+
const versionUrl = `${repoUrl}/releases/tag/${versionTag}`;
118+
const versionLink = `[${versionTag}](${versionUrl})`;
119+
120+
content += `\n| **[${cleanTitle}](${repoUrl})** | ${component.description} | [${component.org}/${component.name}](${repoUrl}) | ${versionLink} | [View Docs](${docLink}) |`;
116121
});
117122

118123
content += `

remote-content/remote-sources/components-data.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
# This file contains static data for generating the Components documentation page
33
# Update this file when there are new releases or component changes
44
#
5-
# Last synced from: https://github.com/llm-d/llm-d/releases/tag/v0.3.0
6-
# Sync date: 2025-10-15T19:26:57.592Z
5+
# Last synced from: https://github.com/llm-d/llm-d/releases/tag/v0.3.1
6+
# Sync date: 2025-11-11T15:13:04.200Z
77

88
release:
9-
version: v0.3.0
10-
releaseDate: '2025-10-10'
11-
releaseDateFormatted: October 10, 2025
12-
releaseUrl: https://github.com/llm-d/llm-d/releases/tag/v0.3.0
13-
releaseName: v0.3.0
9+
version: v0.3.1
10+
releaseDate: '2025-11-06'
11+
releaseDateFormatted: November 6, 2025
12+
releaseUrl: https://github.com/llm-d/llm-d/releases/tag/v0.3.1
13+
releaseName: v0.3.1 Release
1414
components:
1515
- name: llm-d-inference-scheduler
1616
org: llm-d
@@ -35,7 +35,7 @@ components:
3535
description: A light weight vLLM simulator emulates responses to the HTTP REST endpoints of vLLM.
3636
category: Development Tools
3737
sidebarPosition: 4
38-
version: v0.5.1
38+
version: v0.6.1
3939
- name: llm-d-infra
4040
org: llm-d-incubation
4141
description: A helm chart for deploying gateway and gateway related infrastructure assets for llm-d.
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
/**
2+
* Dynamic Infra Providers Generator
3+
*
4+
* Automatically discovers and generates infrastructure provider pages from the llm-d repository.
5+
* This syncs provider-specific documentation for deploying llm-d on different infrastructure.
6+
*
7+
* Infra provider docs are synced from the specific release version defined in components-data.yaml,
8+
* not from the main branch. This ensures documentation matches the released version.
9+
*/
10+
11+
import { createContentWithSource } from '../utils.js';
12+
import { findRepoConfig, RELEASE_INFO } from '../component-configs.js';
13+
import { getRepoTransform } from '../repo-transforms.js';
14+
15+
// Get repository configuration for the main llm-d repo
16+
const repoConfig = findRepoConfig('llm-d');
17+
18+
// Use the release version from YAML instead of the branch
19+
const releaseVersion = RELEASE_INFO.version;
20+
const repoUrl = `https://github.com/${repoConfig.org}/${repoConfig.name}`;
21+
const sourceBaseUrl = `https://raw.githubusercontent.com/${repoConfig.org}/${repoConfig.name}/${releaseVersion}/`;
22+
23+
// Create a custom transform that uses the release version instead of 'main'
24+
const transform = getRepoTransform(repoConfig.org, repoConfig.name);
25+
const contentTransform = (content, sourcePath) => transform(content, {
26+
repoUrl,
27+
branch: releaseVersion, // Use release version, not 'main'
28+
org: repoConfig.org,
29+
name: repoConfig.name,
30+
sourcePath
31+
});
32+
33+
/**
34+
* Configuration for infrastructure providers
35+
* These are the provider-specific README.md files in docs/infra-providers/
36+
* with their descriptive titles and sidebar positions
37+
*/
38+
const INFRA_PROVIDERS = [
39+
{
40+
dirName: 'aks',
41+
title: 'Azure Kubernetes Service',
42+
description: 'Deploy llm-d on Azure Kubernetes Service',
43+
sidebarPosition: 1
44+
},
45+
{
46+
dirName: 'digitalocean',
47+
title: 'DigitalOcean Kubernetes Service (DOKS)',
48+
description: 'Deploy llm-d on DigitalOcean Kubernetes Service (DOKS)',
49+
sidebarPosition: 2
50+
}
51+
];
52+
53+
/**
54+
* Create plugin configurations for all infra providers
55+
*/
56+
function createInfraProviderPlugins() {
57+
const plugins = [];
58+
59+
// Add individual provider pages
60+
INFRA_PROVIDERS.forEach((provider) => {
61+
const sourceFile = `docs/infra-providers/${provider.dirName}/README.md`;
62+
63+
plugins.push([
64+
'docusaurus-plugin-remote-content',
65+
{
66+
name: `infra-provider-${provider.dirName}`,
67+
sourceBaseUrl,
68+
outDir: 'docs/guide/InfraProviders',
69+
documents: [sourceFile],
70+
noRuntimeDownloads: false,
71+
performCleanup: true,
72+
73+
modifyContent(filename, content) {
74+
if (filename === sourceFile) {
75+
return createContentWithSource({
76+
title: provider.title,
77+
description: provider.description,
78+
sidebarLabel: provider.title,
79+
sidebarPosition: provider.sidebarPosition,
80+
filename: sourceFile,
81+
newFilename: `${provider.dirName}.md`,
82+
repoUrl,
83+
branch: releaseVersion,
84+
content,
85+
contentTransform
86+
});
87+
}
88+
return undefined;
89+
},
90+
},
91+
]);
92+
});
93+
94+
return plugins;
95+
}
96+
97+
// Export all infra provider plugins
98+
export default createInfraProviderPlugins();
99+

0 commit comments

Comments
 (0)