Welcome! This repository houses all the assets required to build the KubeCube website and documentation. We're pleased that you want to contribute! The website is hosted at https://kubecube.io.
We use Hugo to format and generate our website, the Docsy theme for styling and site structure. Thanks!.
-
Fork this repository
-
Clone the code and submodules
$ git clone --recurse-submodules https://github.com/kubecube-io/kubecube-io.github.io.git
-
Make your changes and send a pull request (PR).
-
Merge the pull request
Once your pull request is created, a KubeCube reviewer will take responsibility for providing clear, actionable feedback, re-improve and merge.
If you'd like to preview your doc updates as you work, you can install Hugo and run a local server to host your website. This section shows you how.
You need Hugo version 0.81or later, and it must be the extended version of Hugo.
To get the latest extended version of Hugo:
- Go to the Hugo releases page.
- In the most recent release, scroll down until you find a list of extended versions.
- Download the relevant file for your operating system.
- Unzip the downloaded file into a location of your choice.
For more details about installing Hugo, See the Hugo installation guide.
**Not Necessary:**If you plan to make changes to the site styling, you need to install some CSS libraries as well. Follow the instructions in the Docsy theme's setup guide.
-
Fork this repository and clone it
$ git clone --recurse-submodules https://github.com/kubecube-io/kubecube-io.github.io.git $ cd kubecube-io.github.io
-
Start your website server. Make sure you run this command from the
kubecube-io.github.io
directory, so that Hugo can find the config files it needs:hugo server
-
You can access your website at http://localhost:1313/ (bind address 127.0.0.1)
After clone this repository ,Make sure you run this command from the /website/
directory, so that Hugo can find the config files it needs:kubecube-io.github.io
- User guide for the Docsy theme
- Hugo installation guide
- Hugo basic usage
- Hugo site directory structure
- hugo server reference
KubeCube thrives on community participation, and we really appreciate your contributions to our site and our documentation!