minikube/site
Steven Powell 4ed3c9f7cf
Merge pull request #18804 from minikube-bot/auto_bump_ubuntu_version
Kicbase: Bump ubuntu:jammy from 20240416 to 20240427
2024-05-07 16:11:34 -07:00
..
assets
content/en Updating kicbase image to v0.0.43-1714992375-18804 2024-05-06 11:04:14 +00:00
layouts Add parameter "hide" to shortcode quiz_button 2024-04-06 12:36:00 +02:00
static add time-to-k8s benchmark for v1.33.0 2024-04-19 23:44:11 +00:00
themes site: Update docsy version to v0.10.0 2024-05-07 09:41:15 -07:00
.gitignore
.hugo_build.lock
README.md
config.toml site: Build improvements to the site 2024-01-05 10:27:04 -08:00
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