mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-15 17:50:49 +00:00
5295feb1ee
Only show the dynamic version menu in production environment where it's available. Local (development) builds only show a stub version menu with one item. Also, fix the theme customization. Append version list items to the correct element in html so that they are displayed correctly. Drop unnecessary <div/>.
11 lines
342 B
Bash
Executable file
11 lines
342 B
Bash
Executable file
#!/bin/bash -e
|
|
|
|
# Pre-create output directory with all write access. The Jekyll docker image is
|
|
# stupid enough to do all sorts of uid/gid/chown magic making build fail for
|
|
# root user. In prow we run as root because of DIND.
|
|
_outdir="docs/_site"
|
|
mkdir -p "$_outdir"
|
|
chmod a+rwx "$_outdir"
|
|
|
|
# Build docs
|
|
JEKYLL_ENV=production make site-build
|