Skip to content

pchan/contributor-site

 
 

Repository files navigation

Kubernetes Contributor Site

This repository contains the Hugo site and generator scripts for the Kubernetes Contributor site. The published website is available at https://kubernetes.dev/ (served via Netlify).

Site content

The content for the Contributor Site is sourced from multiple locations. Content managed within this repository is generated from generated from Markdown found within the content directory. To update the site's content, make changes to the Markdown sources and submit a pull request to this repository.

Some content is externally sourced and changes to that must be made in the original location. A list of sources and their locations within the content is available below:

External sources

Running the site locally

To develop site content, you can run the site locally using Hugo in two ways:

  1. Inside a Docker container
  2. Natively (not inside a Docker container)

When you make changes to the site's content, Hugo will automatically update the site and refresh your browser window.

Using Docker

The easiest and most cross-system-compatible way to run the Contributor Site is to use Docker. To begin, create the docker image to be used with generating the site by executing make container-image.

To ensure you can view the site with externally sourced content, run make container-gen-content before previewing the site by with make container-serve.

Natively

For instructions on installing and using Hugo, see the Hugo Documentation. Note that the extended version is required.

In addition to Hugo, the postcss-cli and autoprefixer JavaScript packages are required. These can be installed via the [Node Package Manager] (npm) from a recent version of [nodejs] with npm install -g postcss-cli autoprefixer.

The Contributor Site uses the docsy theme. It is included as a git submodule. To fetch docsy and it's requirements, run the command:

git submodule update --init --recursive --depth 1

To ensure you can view the site with externally sourced content, run make gen-content before previewing the site by with make server.

NOTE to OSX Users

The hack/gen-content.sh script requires the gnu version of base packages such as find, grep, and sed.

brew install coreutils findutils grep gnu-sed gnu-tar make readlink

You will then need to update your path to include these:

export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"

Community, discussion, contribution, and support

This project is managed by SIG Contributor Experience as a part of KEP-0005

You can reach the maintainers of this project at:

Evolution of this site:

We’re building out this site in real-time! Want to join us and help? Here’s what we have in store for next iterations:

  • An Events page showcasing all current and future happenings within the Kubernetes community. We hope to launch this feature by November 2019. Want to help us hit this target? Help us work on this project by forking the repo and submitting a pull request!
  • Contributor guide/handbook: Feature launch date estimated November 2019
  • Developers' guide/handbook: Feature launch date estimated April 2020
  • Role Board: Feature launch date estimated April 2020
  • Directory of Kubernetes SIGs and other community groups
  • Pathways to success for new Kubernetes contributors and mentoring programs
  • Workshop videos

Code of conduct

Participation in the Kubernetes community is governed by the Kubernetes Code of Conduct.

Releases

No releases published

Packages

No packages published

Languages

  • Shell 38.3%
  • HTML 32.3%
  • Makefile 13.8%
  • SCSS 9.7%
  • JavaScript 4.2%
  • Dockerfile 1.7%