minikube/site
minikube-bot d3804e6f10 Update releases.json & releases-v2.json to include v1.35.0 2025-01-16 08:59:05 -08:00
..
assets reduce padding in sidebar tree 2022-11-01 17:45:21 -04:00
content/en Update releases.json & releases-v2.json to include v1.35.0 2025-01-16 08:59:05 -08:00
layouts Revamp minikube website footer 2024-07-12 20:29:29 +05:30
static add time-to-k8s benchmark for v1.35.0 2025-01-16 08:58:06 -08:00
themes site: Update docsy version to v0.11.0 2024-10-21 10:07:04 +00:00
.gitignore Fix unit tests and go tempalte block 2020-01-08 17:08:11 -08:00
.hugo_build.lock docs: add details about app output for /docs/start 2021-10-25 19:13:48 +05:30
README.md Fix typos 2022-06-10 15:26:35 -07:00
config.toml Revamp minikube website footer 2024-07-12 20:29:29 +05:30
package-lock.json change versions 2023-09-05 14:15:58 -07:00
package.json change versions 2023-09-05 14:15:58 -07:00

README.md

Docsy is a Hugo theme for technical documentation sites, providing easy site navigation, structure, and more. This Minikube project uses the Docsy theme for Minikube Website.

You can find detailed theme instructions in the Docsy user guide: https://docsydocs.netlify.com/docs/

Running the website locally

Clone the minikube project fork with option --recurse-submodules --depth 1 to download and update submodule dependencies.

git clone --recurse-submodules --depth 1 https://github.com/kubernetes/minikube.git  # replace path with your github fork of minikube 
cd minikube/site
hugo server # to server site locally

The theme is included as a Git submodule:

▶ git submodule
 2536303cad19991c673037f4f16332075141364a themes/docsy (2536303)

If you want to do SCSS edits and want to publish these, you need to install PostCSS (not needed for hugo server):

npm install

Common Issues

Start building sites …
hugo v0.86.0+extended darwin/amd64 BuildDate=unknown
Error: Error building site: "/minikube/site/content/en/docs/contrib/releasing/binaries.md:64:1": failed to extract shortcode: template for shortcode "alert" not found
Built in 667 ms

This indicates the submodules are not updated. Please run the following command to fix.
git submodule update --init --recursive