GithubHelp home page GithubHelp logo

bsradcliffe / helm-www Goto Github PK

View Code? Open in Web Editor NEW

This project forked from helm/helm-www

0.0 1.0 0.0 14.96 MB

Helm: Kubernetes Package Manager static www

Home Page: https://helm.sh/

License: Apache License 2.0

HTML 8.11% CSS 78.20% JavaScript 13.69%

helm-www's Introduction

https://raw.githubusercontent.com/helm/helm-www/master/themes/helm/static/img/apple-touch-icon.png

helm.sh provides information and resources for the Helm Project.

Netlify Status


How To Add A Blog Post

This is a quick start guide for creating new blog post entries. Blog posts are created via pull requests. The following steps are used to add them.

  1. Add a new file to the _posts directory whose name is the published date and the title. The files must be markdown formatted. See the existing titles for examples of the format
  2. Add the header meta-data to the file using this format (note the permalink structure). Recommended but optional fields are authorname which should be name(s); these are displayed verbatim. authorlink is the link used by authorname.
---
title: "A Fancy Title"
slug: "fancy-title"
authorname: "Captain Awesome"
authorlink: "https://example.com"
date: "yyyy-mm-dd"
---
  1. Add the content below the --- as Markdown. The title does not need to be included in this section
  2. Any images should be placed in the /img/blog/ directory. Images should be losslessly compressed to reduce their size. Tools, such as ImageOptim, can be used.
  3. To summarize content on the blog index page, insert a <!--more--> break in your markdown. This will truncate the content with a Read More link.

How to Edit The Helm Docs

Edits to the Docs themselves should be carried out via pull requests on the helm/helm main repo.
This site will then extract those files during the build process, and publish them to docs.helm.sh.


Website Development

The site is built on top of Hugo with a custom theme, and uses Gulp to build and manage the asset pipeline, and to fetch and arrange the docs for publishing.

Installation

Hugo can be installed via brew update && brew install hugo Then install the packages needed for Gulp to run:

npm install -g gulp
npm install

Running the site

When these packages are installed, you can generate the Docs site by:

hugo && hugo server --watch

Local Dev

The site uses Gulp to build and optimize the site assets. If you're work on the styles or scripts in the site, re-compile and reload your changes with:

gulp && gulp watch

Structure

Main Templates:

themes/helm/layouts/index.html  < site homepage
themes/helm/layouts/docs/       < docs homepage
themes/helm/layouts/blog/       < blog layouts

Markdown:

/content/blog/                  < posts go here
/content/docs/                  < docs are imported to here   

The documentation content is pulled in from their home in the helm/helm repo, as part of the Gulp build process.

Gulp clones the files to the /source directory, makes some edits (to hugo-ify markdown and fix some url issues), exporting the compiled docs to /content/docs.

Hugo then targets the /content/docs directory to generate the website, applying the theme (html layouts and css/js assets) in /themes/hugo.


Deployment

The helm website is continuousy deployed to Netlify via merges to master. The Netlify account is administered by CNCF and Helm maintainer personnel.

Previously, the site was pushed to blob storage using brigade - it would be nice to wire this up to a Netlify webhook so that our bot could deploy on demand too.

helm-www's People

Contributors

flynnduism avatar jackfrancis avatar mattfarina avatar lucperkins avatar slack avatar karenhchu avatar bridgetkromhout avatar adamreese avatar vdice avatar rimusz avatar unguiculus avatar mikedup avatar mboersma avatar scottrigby avatar krancour avatar dependabot[bot] avatar tammert avatar imroc avatar paurullan avatar neil-ca-moore avatar technosophos avatar hickeyma avatar jdolitsky avatar idvoretskyi avatar mgrachev avatar carolynvs-msft avatar bsradcliffe avatar inozuma avatar

Watchers

James Cloos avatar

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.