This documentation website is a separate repository from the main KubeStellar codebase. All the active documentation is now located in this repository. For safety reasons, copies of the docs source may remain in a to-be-deleted folder in the component repositories during a transition period
┌─────────────────────────────────────────────────────────────┐
│ Main KubeStellar Repository │
│ github.com/kubestellar/kubestellar │
│ kubestellar/ │
│ ├ docs/ <-- NOT THE ACTIVE DOCS |
| ├──README.md |
| └──content/to-be-deleted │
│ ├── readme.md │
│ ├── architecture.md │
│ ├── direct/ │
│ ├── binding.md │
│ ├── wds.md │
│ └── ... (all previous documentation content) │
│ └── ...(all the active components of the component repo) |
└─────────────────────────────────────────────────────────────┘
┌────────────────────────────────────────────────────────────────|
│ Docs Website Repository (THIS REPO) │
│ github.com/kubestellar/docs |
| │
│ docs/ <-- this repository root folder │
| ├ docs/ <-- raw MD content source moved from repos |
| | content/ |
| | a2a/ |
| | common-subs/ |
| | Community/ |
| | console/ |
| | contribution-guidelines/ |
| | icons/ |
| | images/ |
| | klaude/ |
| | kubeflex/ |
| | kubestellar/ |
| | kubestellar-mcp/ |
| | multi-plugin/ |
| | ui-docs/ |
| | images/ <-- image folder for some of the MD files |
| | overrides/ <-- master mkdocs layouts (legacy ref) |
| ├ messages <-- alternate language files for pages |
| ├ src/ <-- Source for pages, site nav and layout |
| | ├ app/ |
| | | ├ docs/ <-- layouts to apply to component docs pages |
| | | ├── page-map.ts <-- Defines navigation structure │
│ | | ├── layout.tsx <-- Nextra theme integration │
| | | └── page.mdx <-- Nextra page master │
| | ├ components/ │
| | ├ config/ │
| | ├ hooks/ │
| | ├ i18n/ <-- configures language support |
| | ├ lib/ │
| ├ CONTRIBUTING.md |
| ├ GOVERNANCE.md |
| ├ next.config.ts <-- Nextra configuration │
| ├ mdx-components.js <-- MDX component mappings |
| └── ... (various node.js and next.js etc files) │
└────────────────────────────────────────────────────────────────┘
|
(Built & Deployed)
|
┌─────────────────────────────────────────────────────────────┐
│ Live Documentation Website │
│ https://kubestellar.io │
└─────────────────────────────────────────────────────────────┘
Important Concepts:
docs/content/)page-map.ts (not auto-generated from files)This documentation site is built using Nextra, a powerful Next.js-based documentation framework that provides:
next.config.ts - Main configuration file that:
nextra() functionnext-intl for internationalizationsrc/app/docs/layout.tsx - Docs layout component that:
Layout from nextra-theme-docssrc/app/docs/page-map.ts - Navigation structure builder that:
NAV_STRUCTURE/docs/content/ directoryNAV_STRUCTURE simplifies changing menus for different locales (languages)src/app/docs/[...slug]/page.tsx - Dynamic page renderer that:
/docs/content/ directorymdx-components.js - Component mapping file that:
This page is an excerpt of the Detailed Contribution Guide. The complete file is viewable there or at github.com/kubestellar/docs/CONTRIBUTING.md. Changes to this page content should be made in CONTRIBUTING.md on GitHub.