Coder Social home page Coder Social logo

website's Introduction

Creating and updating the KubeEdge docs

Welcome to the GitHub repository for KubeEdge's public website. The docs are hosted at https://kubeedge.io.

We use Docusaurus to format and generate our website, and Netlify to manage the deployment of the site. Docusaurus is an open-source static site generator that provides us with templates, content organisation in a standard directory structure, and a website generation engine. You write the pages in Markdown, and Docusaurus wraps them up into a website.

Quick start

Here's a quick guide to updating the docs. It assumes you're familiar with the GitHub workflow and you're happy to use the automated preview of your doc updates:

  1. Fork the [KubeEdge/website repo][kubeEdge-website-repo] on GitHub.
  2. Make your changes and send a pull request (PR).
  3. If you're not yet ready for a review, add a comment to the PR saying it's a work in progress or add [WIP] in your PRs title. You can also add /hold in a comment to mark the PR as not ready for merge.
  4. Wait for the automated PR workflow to do some checks. When it's ready, you should see a comment like this: deploy/netlify — Deploy preview ready!
  5. Click Details to the right of "Deploy preview ready" to see a preview of your updates.
  6. Continue updating your doc until you're happy with it.
  7. When you're ready for a review, add a comment to the PR and assign a reviewer/approver. See the [Kubeedge contributor guide][kubeedge-contributor-guide].

Previewing your changes on a local website server

If you'd like to preview your doc updates as you work, you can install Node.js and run a local server. This section shows you how.

Install Node.js

Node.js version 16.14 or above (which can be checked by running node -v). You can use nvm for managing multiple Node versions on a single machine installed.

Install yarn

npm install -g yarn

Install dependencies

cd website

yarn

Local Development

$ yarn start

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

Your website is at http://localhost:3000/

Build

$ yarn build

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

Versioning

For each stable release, we should create a new branch for the relevant documentation. For example, the documentation for the v0.1 stable release are maintained in the v0.1-branch. Each branch has a corresponding netlify website that automatically syncs each merged PR.

Going forward, the versioned sites should follow this convention:

  • https://kubeedge.netlify.com/ always points to the current master branch
  • https://master.kubeedge.netlify.com/ always points to Github head
  • https://vXXX-YYY.kubeedge.netlify.com/ points to the release at vXXX.YYY-branch

website's People

Contributors

1shubham7 avatar anvithks avatar arhell avatar bitvijays avatar bluefriday avatar catherine-monk avatar chendave avatar chuanhaojin avatar coder12git avatar daixiang0 avatar edisonxiang avatar fisherxu avatar gy95 avatar jxs1211 avatar kadisi avatar kevin-wangzefeng avatar kubeedge-bot avatar kuramal avatar ls889 avatar nikhilchauhangithub avatar nilisha-jais avatar qizha avatar rajatgupta24 avatar rohitsardesai83 avatar shelley-baoyue avatar sids-b avatar sujithsimon22 avatar wackxu avatar wangjiezhang avatar wbc6080 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

website's Issues

testing bot 111

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

New theme and format for the website

Project Description

Redesign and reimplement the official website to show the key features of KubeEdge.

Difficulty

Medium

Mentor

Kevin Wang(@kevin-wangzefeng): [email protected]

Output

  • New website styling
  • Key values/features of KubeEdge highlighted in prominent position
  • redundant content section removed in homepage
  • add support for hosting multiple releases and multi-languages for documents
  • add community information including partners, end users, success stories.

Tech. Requirement

  • KubeEdge
  • css
  • website layout

Related Repo

Update docs about keadm install kubeedge

the docs of page https://kubeedge.io/en/docs/setup/keadm/ is out of date, we have move the keadm beta install cmds to GA, and the origin keadm init/join/reset cmds have been moved to keadm deprecated init/join/reset, we need to update instructions

ref:
https://github.com/kubeedge/kubeedge/blob/master/CHANGELOG/CHANGELOG-1.11.md#beta-sub-commands-in-keadm-to-ga
https://github.com/kubeedge/kubeedge/blob/master/CHANGELOG/CHANGELOG-1.11.md#deprecation-of-original-init-and-join
kubeedge/kubeedge#3900

/help
/good-first-issue

Netlify CI is using an unsupported image

Describe the bug
In #177, the CI is failing with the following error:

  UNSUPPORTED BUILD IMAGE

  The build image for this site uses Ubuntu 14.04 Trusty Tahr, which is no longer supported.

  To enable builds for this site, select a later build image at the following link:
  https://app.netlify.com/sites/privatekubeedge/settings/deploys#build-image-selection

  For more details, visit the build image migration guide:
  https://answers.netlify.com/t/end-of-support-for-trusty-build-image-everything-you-need-to-know/39004

Translate documents in content/ko/home/ to Korean.

Is your feature request related to a problem? Please describe.
Translation.

Describe the solution you'd like
There is no Korean documents in this project.
I would like to translate documents in content/ko/home/ to Korean.

Describe alternatives you've considered
Not all documents can be translated at once, but I will continue to translate them step by step.

Additional context

Create a tutorials section

  • Add tutorials on how to use both the edge and cloud.

  • Add tutorials on how to to use kubeedge with Huawei IEF

  • Add tutorial with any other cloud provider or orchestration tool.

Create a demos section.

  • Give the link to the demo repository.

  • Provide a video of the demo.

  • Update the demo documentation.

DOCS:add software version/_index_zh.md

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Request to translation for Korean.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I would like to translate these documents into Korean.

Can only contributors translate documents?

If not, please tell me the procedure to start translating Korean.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Update documentation section.

  • Integration with readthedocs.io

  • explore the option of retaining the website style and readthedocs style the same.

Chinese (zh) Translation of website

The new website supports multiple languages.
The chinese content is maintained under the content/zh folder.
Some of the files are already translated using Google Translate but this may not be accurate.
We will need to do the following:

  • Identify incorrect translations and fix them.

  • Add missing translations

Code of conduct link broken

Describe the bug
The code of conduct link on the documentation site renders a 404 error when trying to access it

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://kubeedge.readthedocs.io/en/latest/getting-started/contribute.html#getting-started'
  2. Click on 'code of conduct'
  3. Scroll down to '....'
  4. See error '404 this is the web page you looking for'

Expected behavior
The link to be accessible

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [Windows 10]
  • Browser [chrome]

Additional context
Add any other context about the problem here.

Dark mode information is not remembered by the website

Describe the bug
Dark mode information is not remembered by the website

To Reproduce
Steps to reproduce the behavior:

  1. Open the webpage
  2. Choose dark mode
  3. Refresh the page
  4. Dark mode is lost and the webpage fallsback to light mode

Expected behavior
When user chooses dark mode, then whenever the user comes back to the page, it has to be rendered in dark mode

Suggestion
you can use localStorage API of modern browsers to store and retrieve the theme information

localStorage.setItem('theme', 'dark')
localStorage.getItem('theme')

Translate documents in content/ko to Korean

Is your feature request related to a problem? Please describe.
Translate.

Describe the solution you'd like
As version increased to v1.3, I'd like to change the Korean documentation of kubeedge.

Update docs/

Is your feature request related to a problem? Please describe.

Now we use https://docs.kubeedge.io/en/latest/ rather than https://kubeedge.io/en/docs, while https://kubeedge.io/en/docs/ can be visited, and some docs are outdated like https://kubeedge.io/en/docs/getting-started-minikube/.

Describe the solution you'd like

Use git filter-branch to keep git log and sync docs from kubeedge/kubeedge/docs.

If no need to keep git log, just skip it.

Other problem is that need we keep two docs website?

@kevin-wangzefeng

Code snippet formatting

Don't include the command prompt
Do: mkdir -p /var/lib/kubeedge
Don't: $ mkdir -p /var/lib/kubeedge

Following the docs style guide of kubernetes

The link in kubeedge website missed the '.md' suffix

Describe the bug
now the link in kubeedge website missed the '.md' suffix, Ref: page
But in github it works fine, in kubeedge.io missed '.md' , so lead to a 404 in kubeedge.io.
image

Noticed have a PR before related to this. #704

Expected behavior
The link works fine.

/cc @anvithks @yamt Could you please help take a look?

Testing bot please ignore

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...' please ignore
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

update hugo

update hugo to last work version on this theme
/assign

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.