Skip to content

csi-addons/csi-addons.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSI-Addons Website

The website for the CSI-Addons project. It is hosted at csi-addons.github.io.

How the Site is Generated

The website content is dynamically generated from the upstream repositories:

The site is assembled by the scripts/generate-site.sh script, which populates the templates/index.html.tpl template with the extracted content and writes the final index.html.

A GitHub Actions workflow (.github/workflows/update-site.yml) runs weekly to regenerate the site and open a pull request if content has changed.

Development

Prerequisites

  • Bash
  • Python 3
  • GNU grep (on macOS: brew install grep)
  • Git

Generate the Site Locally

# Clone repos and generate index.html
make generate

# Preview in browser
make serve

You can also point to local checkouts of the source repos:

make generate SPEC_DIR=../spec K8S_DIR=../kubernetes-csi-addons

Run make help for all available targets.

Project Structure

  • templates/index.html.tpl - HTML template with placeholder markers
  • scripts/generate-site.sh - Main generation script
  • scripts/extract_description.py - Extracts descriptions from spec READMEs
  • data/features.json - Feature metadata (titles and custom inline SVG icons)
  • css/style.css - Stylesheet
  • js/main.js - Client-side JavaScript (tabs, copy buttons, navigation)
  • index.html - Generated output (do not edit directly)

Icons

The feature icons in data/features.json are custom inline SVGs designed for this site. They are not based on an external icon set like Font Awesome.

Contact Information

An open and public mailinglist is available for discussions and questions. The messages on the list are archived for reference. Viewing the archives requires joining the list with a Google account.