KubeVela documentations and website (https://kubevela.io).
Go to file
Lingzhe Sun 7ec6348cd4
Docs: add a notice in helm tutorial (#1234)
* Docs: add a notice in helm tutorial

Docs: add a notice in helm tutorial

Signed-off-by: Lingzhe Sun <lingzhesun@gmail.com>

* Docs: update redis version in helm tutorial

Signed-off-by: Lingzhe Sun <lingzhesun@gmail.com>

* Docs: update redis version in helm zh tutorial

Signed-off-by: Lingzhe Sun <lingzhesun@gmail.com>

---------

Signed-off-by: Lingzhe Sun <lingzhesun@gmail.com>
2023-05-29 20:09:09 +08:00
.github Chore: Upgrade the yarn version to berry (#1228) 2023-04-24 11:09:49 +08:00
blog Feat: add chat gpt en blog (#1235) 2023-05-06 10:04:45 +08:00
docs Docs: add a notice in helm tutorial (#1234) 2023-05-29 20:09:09 +08:00
hack Chore: archived the 1.4 and publish the 1.7 (#1129) 2023-01-13 23:59:29 +08:00
i18n/zh Docs: add a notice in helm tutorial (#1234) 2023-05-29 20:09:09 +08:00
src Chore: add the micro service landscape page (#1189) 2023-03-06 17:15:21 +08:00
static Feat: add chat gpt en blog (#1235) 2023-05-06 10:04:45 +08:00
versioned_docs Docs: add migration guide from v1.7 to v1.8 (#1231) 2023-04-25 18:52:19 +08:00
versioned_sidebars Chore: Release the 1.8 version 2023-04-20 11:59:48 +08:00
videos Docs: add ackone community talk 2022-12-14 19:44:08 +08:00
.gitignore Chore: Release the 1.8 version 2023-04-20 11:59:48 +08:00
.yarnrc.yml Chore: Release the 1.8 version 2023-04-20 11:59:48 +08:00
Dockerfile Fix: update the index homepage 2022-04-09 12:35:49 +08:00
Dockerfile.ci update image build and push CI 2022-06-08 15:27:56 +08:00
LICENSE Initial commit 2021-03-25 10:15:03 +08:00
Makefile Chore: archived the 1.4 and publish the 1.7 (#1129) 2023-01-13 23:59:29 +08:00
README-zh.md add translation notices (#874) 2022-07-24 17:27:29 +08:00
README.md update Docusaurus link (#922) 2022-08-14 09:18:06 +08:00
Truncate-branch.md Fix: update the index homepage 2022-04-09 12:35:49 +08:00
babel.config.js init 2021-03-25 17:06:33 +08:00
docusaurus.config.js Chore: Release the 1.8 version 2023-04-20 11:59:48 +08:00
package.json update dependencies (#1225) 2023-04-18 12:56:52 +08:00
sidebar-videos.js Docs: add ackone community talk 2022-12-14 19:44:08 +08:00
sidebars.js Docs: sharding (#1204) 2023-03-22 12:58:45 +08:00
versions.json Fix: Change the version config 2023-04-21 11:22:31 +08:00
yarn.lock Chore: Release the 1.8 version 2023-04-20 11:59:48 +08:00

README.md

KubeVela Docs & Website

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

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

Contributing to KubeVela EN Docs

First, we have the source documentation of Kubevela website and it's written in English. Follow Localization README for contributing to other languages. Any files modifid here will trigger the check-docs Github action to run and validate the docs could be build successfully into the website. Any changes on these files(docs/en/*, docs/en/resource/*, sidebars.js) will be submitted to the corresponding locations of the repo kubevela.io. The Github-Action there will parse the document and publish it to the Kubevela Website automatically.

Please follow our guides below to learn how to write the docs in the right way.

Add or Update Docs

When you add or modify the docs, these three files(docs/en/, docs/en/resource/ and sidebars.js) should be taken into consideration.

  1. docs/en/, the main English documentation files are mainly located in this folder. All markdown files need to follow the format, that the title at the beginning should be in the following format:

    ---
    title: Title Name
    ---
    
    

    When you want to add a link refer to any .md files inside the docs(docs/en), you need to use relative path and remove the .md suffix. For example, the en/helm/component.md has a link refer to en/platform-engineers/definition-and-templates.md. Then the format should like:

    [the definition and template concepts](../platform-engineers/definition-and-templates)
    
  2. docs/en/resource/, image files are located in this folder. When you want to use link any image in documentation, you should put the image resources here and use a relative path like below:

     ![alt](./resources/concepts.png)
    
  3. sidebars.js, this file contain the navigation information of the KubeVela website. Please read the official docs of docusaurus to learn how to write sidebar.js.

       {
          type: 'category',
          label: 'Capability References',
          items: [
            // Note!: here must be add the path under "docs/en" 
            'developers/references/README',
            'developers/references/workload-types/webservice',
            'developers/references/workload-types/task',
            ...
          ],
        },
    

After you finished modify the docs, please try to have a preview of the changes.

Localization README

Language
Chinese

Website Preview

Please make sure you have yarn installed in your OS environment.

Installation

yarn install

Local Development

yarn start

This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.

Build

yarn 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.

Versions for new release

All docs of new features should be updated in the latest docs, we will create a new version of docs along with the code release.

Build New Version

yarn docusaurus docs:version v1.x

Update Docs for version

make update-version version=v1.x

Send your pull request

After all changes checked well, please creating a pull request with DCO.