diff --git a/Makefile b/Makefile index 1da4a55..f189b0e 100644 --- a/Makefile +++ b/Makefile @@ -21,11 +21,16 @@ serve: --buildFuture \ --disableFastRender -production-build: +public/docs/latest: + rm -fr containerd # seems Netlify is caching this directory. + git clone --depth 1 https://github.com/containerd/containerd.git containerd + mv containerd/docs content/docs/latest + +production-build: public/docs/latest hugo \ --minify -preview-build: +preview-build: public/docs/latest hugo \ --baseURL $(DEPLOY_PRIME_URL) \ --buildDrafts \ diff --git a/themes/containerd/layouts/partials/docs/dropdown.html b/themes/containerd/layouts/partials/docs/dropdown.html index ddb28e5..db2e648 100644 --- a/themes/containerd/layouts/partials/docs/dropdown.html +++ b/themes/containerd/layouts/partials/docs/dropdown.html @@ -12,10 +12,12 @@
diff --git a/themes/containerd/layouts/partials/footer.html b/themes/containerd/layouts/partials/footer.html index f684979..1c3a791 100644 --- a/themes/containerd/layouts/partials/footer.html +++ b/themes/containerd/layouts/partials/footer.html @@ -23,13 +23,15 @@