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 builds | netlify.toml |
| Minimum Hugo version enforced locally, plus all site configuration | site/hugo.toml |
| Docsy theme version this site pins | site/go.mod |
| npm scripts and PostCSS dependencies | site/package.json |
| How to install Hugo on any OS (use the extended build) | Hugo installation docs |
| Docsy theme prerequisites, configuration, and authoring guide | Docsy documentation |