Karmada website and documentation repo
Go to file
karmada-bot 59917b087c
Merge pull request #834 from RainbowMango/pr_add_compatibility
Add Kubernetes compatibility docs
2025-05-21 09:15:34 +08:00
.github upgrade crate-ci/typos action version to v1.17.2 2024-01-22 10:06:33 +08:00
adopters Add EHang to adopters 2023-11-06 15:08:32 +08:00
blog add karmada security audit blog 2025-01-22 10:09:28 +08:00
docs Merge pull request #834 from RainbowMango/pr_add_compatibility 2025-05-21 09:15:34 +08:00
i18n Add Kubernetes compatibility docs 2025-05-20 09:37:58 +08:00
infra/gen-resourcesdocs add gen-resourcesdocs to generate API docs 2025-03-17 20:23:17 +08:00
src add new supporters 2025-04-17 17:28:17 +08:00
static add new supporters 2025-04-17 17:28:17 +08:00
themes/meghna-hugo/assets/css refactor: use docusaurus for docs 2022-04-07 16:17:13 +08:00
versioned_docs Fixed original markdown link couldn't be resolved issue. 2025-05-20 09:14:17 +08:00
versioned_sidebars update sidebars 2025-03-13 15:03:23 +08:00
.dockerignore feat: Local preview does not require a node environment. 2024-01-02 12:27:50 +08:00
.gitignore update .gitignore to remove default generate directory 2022-09-22 11:24:25 +08:00
CODE_OF_CONDUCT.md add Code of Conduct file 2023-12-11 17:07:50 +08:00
Dockerfile Dockerfile: reduce karmada website container image size by 28% (#771) 2025-03-06 14:15:27 +08:00
LICENSE Create LICENSE 2021-03-16 19:59:33 +08:00
Makefile feat: Local preview does not require a node environment. 2024-01-02 12:27:50 +08:00
OWNERS nominate windsonsea to the global reviewers 2024-04-10 17:45:07 +08:00
README.md feat: Local preview of document update. 2024-01-02 14:34:07 +08:00
babel.config.js refactor: use docusaurus for docs 2022-04-07 16:17:13 +08:00
bs-config.js feat: Local preview does not require a node environment. 2024-01-02 12:27:50 +08:00
docusaurus.config.js feature: support Business Adopters module 2023-12-14 09:36:58 +08:00
netlify.toml Dockerfile: reduce karmada website container image size by 28% (#771) 2025-03-06 14:15:27 +08:00
package-lock.json bump semi-ui 2025-05-11 00:25:38 +03:00
package.json bump semi-ui 2025-05-11 00:25:38 +03:00
sidebars.js Add Kubernetes compatibility docs 2025-05-20 09:37:58 +08:00
start-watch.sh feat: Local preview does not require a node environment. 2024-01-02 12:27:50 +08:00
typos.toml add slsa verifier 2024-07-15 20:02:39 +08:00
versions.json v1.13 docs releasing 2025-03-06 14:27:07 +08:00

README.md

Karmada Docs & Website

This repo contains the source code of Karmada website and all of the docs for Karmada. It's built by Docusaurus, a modern static website generator.

Welcome to join us and you are more than appreciated to contribute!

Website Preview

If you only update the docs, you do not need to preview the website locally. We will create a preview link for you when you submit a pull request (PR). In an open PR, you can find the preview link in the comment of the PR. Check Open PRs List.

Run with Node.js

If you have the Node.js environment, you can run the website locally.

# Clone the repo, or your own fork
git clone https://github.com/<YOUR_GITHUB_USERNAME>/karmada-website.git

# Install dependencies
cd karmada-website
npm install

# Start the site
yarn run start

Run with Docker

If you do not want to install the Node.js environment, you can consider using Docker instead.

make serve

With just one command, you can run it locally and then access http://localhost:3000 to preview the website.

Local Development

If you want to contribute to the website, firstly, it is essential to learn some basic knowledge of Docusaurus.

Run the development server

To start a local development server, please run:

yarn run start

This command starts a local development server and opens a browser window at http://localhost:3000. Most changes are automatically reflected live without the need to restart the server.

Build

yarn run build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.