~This repository contains a boilerplate static site generator setup for creating~ ~CNCF documentation projects. We strongly recommend using this setup (it helps us~ ~help you and your project!), but none of the technologies in the stack are~ ~strictly required.~
The starter uses the following:
Make sure you have npm installed. Clone this repository and run the following two commands in its directory:
# Install npm assets
npm install
# Run the server locally
npm run serve
Netlify is a CI/CD build tool and hosting solution for (among other things) static sites. We strongly recommend using Netlify unless you have a good reason not to.
This repository comes with a pre-configured
netlify.toml
file. To build to Netlify:
Note: For projects with lots of contributors, it can be handy to create a general/bot account instead of granting access with a personal account.
This repository has two layouts with minimal styling, all stored under
/layouts/_default
:
index.html
file and partials in the /partials/home
directory/assets/sass/helpers.sass
filesingle.html
file and partials in the /partials/docs
directory/assets/sass/helpers.sass
and /assets/sass/_docs.sass
filesBoth use default components and styling from the Bootstrap CSS framework. No menus are structured, because menu structure is highly dependent on the nature of the project.