Contribute to Docs

Build and preview this site locally.

The site lives in site/ and is built with Hugo (the extended build) and the Docsy theme.

Quick start

You need Hugo (extended), Go, Node.js (which provides npm), and Git installed. The versions on your machine should meed the minium required versions listed in netlify.toml.

git clone https://github.com/kubernetes-sigs/dra-driver-nvidia-gpu.git
cd dra-driver-nvidia-gpu/site
npm ci          # one-time; installs PostCSS deps from package-lock.json
npm run serve   # http://localhost:1313, live-reload, drafts visible

To produce the same output Netlify builds for production, from site/:

npm run build   # output written to ./public

Where to look for more details

If you need to know…Look at
Exact Hugo / Go / Node versions used for production buildsnetlify.toml
Minimum Hugo version enforced locally, plus all site configurationsite/hugo.toml
Docsy theme version this site pinssite/go.mod
npm scripts and PostCSS dependenciessite/package.json
How to install Hugo on any OS (use the extended build)Hugo installation docs
Docsy theme prerequisites, configuration, and authoring guideDocsy documentation