You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simplify Release Management with Static YAML Configuration (#109)
* Remove release-info.json and integrate GitHub API for dynamic release information fetching in components generator. Update deploy workflow to include GITHUB_TOKEN for authenticated requests.
Signed-off-by: Pete Cheslock <[email protected]>
* Refactor component configuration management
- Introduced `components-data.yaml` to serve as a single source of truth for component configurations and release information.
- Updated `component-configs.js` to load component data from the new YAML file, eliminating the need for dynamic GitHub API calls.
- Refactored the components generator to utilize static data from the YAML file, simplifying the documentation generation process.
- Removed the `github-api-utils.js` file as its functionality is no longer needed.
This change enhances maintainability and reduces complexity in managing component data.
Signed-off-by: Pete Cheslock <[email protected]>
* Enhance release management and documentation synchronization
- Updated the README.md to include detailed instructions for updating to a new release, including an automated sync script.
- Modified components-data.yaml to reflect the latest release version and date, ensuring accurate documentation.
- Improved the guide generator to fetch content from the specific release version instead of the main branch, aligning documentation with released versions.
- Enhanced source callouts in documentation to differentiate between release versions and main branch content.
Signed-off-by: Pete Cheslock <[email protected]>
* Update deployment workflow and enhance README for release management
- Removed the GITHUB_TOKEN environment variable from the deployment workflow to streamline the build process.
- Revised the README.md to clarify steps for cutting a new release, including detailed instructions for updating the YAML file and committing changes.
- Improved clarity on the manual operations required for syncing and deploying documentation updates.
Signed-off-by: Pete Cheslock <[email protected]>
* Remove deprecated versioning function from repo-transforms.js to simplify documentation path generation. The function was previously intended for future Docusaurus versioning but is currently unused, allowing for a more straightforward approach to path handling.
Signed-off-by: Pete Cheslock <[email protected]>
* Update readme with deployment details
Signed-off-by: Pete Cheslock <[email protected]>
* Enhance documentation and component synchronization
- Updated README.md to clarify the synchronization process for components, guides, and community docs, including handling of special tag formats.
- Refactored component configuration management in component-configs.js to streamline loading of component and release information from YAML.
- Improved components-data.yaml to include version tags for components, ensuring accurate versioning in documentation.
- Enhanced sync-release.mjs to transform version tags for specific repositories and update components with the latest release information.
Signed-off-by: Pete Cheslock <[email protected]>
* Refactor createStandardTransform to utilize ref for versioning
- Updated the createStandardTransform function to use 'ref' (version or branch) instead of just 'branch' when transforming content. This change enhances the flexibility of repository configurations by allowing for more accurate versioning in the transformation process.
Signed-off-by: Pete Cheslock <[email protected]>
* One off transform to fix link transformation
Signed-off-by: Pete Cheslock <[email protected]>
* Update documentation and component configuration
- Revised CONTRIBUTING.md to reflect changes in component configuration file from `component-configs.js` to `components-data.yaml`.
- Enhanced README.md to clarify the remote content system, including detailed instructions for syncing and managing components, guides, and community documentation.
- Removed the outdated remote-content/README.md file to streamline documentation.
- Updated repo-transforms.js with a TODO comment regarding future link fixes after the next llm-d release.
Signed-off-by: Pete Cheslock <[email protected]>
* Enhance createSourceCallout and content transformation
- Updated the createSourceCallout function to accept an optional mainReleaseVersion parameter, allowing for more informative documentation callouts based on version tags.
- Added scenarios to differentiate between documentation for version tags with and without the main release version, improving clarity for users.
- Modified the generateComponentRemoteSource function to pass the mainReleaseVersion from components data, ensuring accurate versioning in generated content.
Signed-off-by: Pete Cheslock <[email protected]>
* Update architecture-main.js to sync documentation with specific release versions
- Changed the output filename for transformed documentation from `00_architecture.mdx` to `architecture.mdx`.
- Implemented synchronization with the specific release version defined in `components-data.yaml`, ensuring that documentation aligns with the released version rather than the main branch.
- Updated URL generation to utilize the release version for fetching content, enhancing the accuracy of the documentation transformation process.
Signed-off-by: Pete Cheslock <[email protected]>
* Remove outdated events from community documentation
Signed-off-by: Pete Cheslock <[email protected]>
---------
Signed-off-by: Pete Cheslock <[email protected]>
This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.
4
4
5
-
The site may be previewed at [llm-d.github.io](https://llm-d.github.io/) before it goes live
5
+
Site previews are powered by Netlify and can be viewed in the specific PR.
6
6
7
-
If you spot any errors or omissions in the site, please open an issue at [github.com/llm-d/llm-d.github.io](https://github.com/llm-d/llm-d.github.io/issues)
7
+
If you spot any errors or omissions in the site, please open an issue at [github.com/llm-d/llm-d.github.io](https://github.com/llm-d/llm-d.github.io/issues).
8
8
9
9
## 📋 Documentation Types
10
10
11
11
This repository contains two types of documentation:
12
12
13
-
1.**Local Documentation** - Written directly in this repository (blog posts, etc.)
14
-
2.**Remote Synced Content** - Automatically synced from other llm-d repositories (architecture docs, guides, component documentation, community docs.)
13
+
1.**Local Documentation** - Written directly in this repository (blog posts, landing pages, etc.)
14
+
2.**Remote Synced Content** - Automatically synced from other llm-d repositories during build
15
15
16
-
Most technical documentation is automatically synced from the main [llm-d/llm-d](https://github.com/llm-d/llm-d) repository to ensure accuracy and consistency.
16
+
Most technical documentation is automatically synced from source repositories to ensure accuracy and consistency:
17
+
-**Architecture docs** (`/docs/architecture/`) - Synced from component repositories
18
+
-**User guides** (`/docs/guide/`) - Synced from the main llm-d repository
19
+
-**Component docs** (`/docs/architecture/Components/`) - Auto-generated from individual component repos
20
+
-**Community docs** (`/docs/community/`) - Synced from the main repository
21
+
22
+
Files with remote content show a "Content Source" banner at the bottom with links to edit the original source.
17
23
18
24
## 🔄 Remote Content System
19
25
20
-
Many docs pages are automatically synced from source repositories using our remote content system:
26
+
### How It Works
21
27
22
-
-**Architecture Documentation** - Synced from component repositories
23
-
-**User Guides** - Synced from the main llm-d repository
24
-
-**Component Documentation** - Automatically generated from individual component repos
25
-
-**Contributing Guidelines** - Synced from the main repository
28
+
The remote content system automatically downloads and syncs content from GitHub repositories during the build process:
26
29
27
-
Files with remote content show a "Content Source" banner at the bottom with links to edit the original source.
0 commit comments