0625ced466
* Add Docsy, required packages and config * Apply Docsy integration work to k8s website This encompasses significant changes to the style system, layout files, as well as changes to some of the static assets. To examine this work and the iterations that were performed, the original repository can be found at https://github.com/gearbox-built/kubernetes-hugo.git * Address issues found in review The styling and positioning of the header, footer, some shortcodes and main container elements are improved. A new partial is added for favicons. The sidebars, as well as inner table of contents, have been altered for better positioning and rendering of content. Localization has also been addressed. * Enable announcements The recent Black Lives Matter announcement surfaced issues which have been addressed.
29 lines
1005 B
TOML
29 lines
1005 B
TOML
[build]
|
|
# This default build command adds the robots noindex directive to the site headers.
|
|
# It is turned off for only for the production site by using [context.master] below
|
|
# DO NOT REMOVE THIS (contact @kubernetes/sig-docs-leads)
|
|
publish = "public"
|
|
functions = "functions"
|
|
command = "git submodule update --init --recursive && make non-production-build"
|
|
|
|
[build.environment]
|
|
HUGO_VERSION = "0.70.0"
|
|
NODE_VERSION = "10.20.0"
|
|
|
|
[context.production.environment]
|
|
HUGO_BASEURL = "https://kubernetes.io/"
|
|
HUGO_ENV = "production"
|
|
HUGO_ENABLEGITINFO = "true"
|
|
|
|
[context.deploy-preview]
|
|
command = "git submodule update --init --recursive && make deploy-preview"
|
|
|
|
[context.branch-deploy]
|
|
command = "git submodule update --init --recursive && make deploy-preview"
|
|
|
|
[context.master]
|
|
# This context is triggered by the `master` branch and allows search indexing
|
|
# DO NOT REMOVE THIS (contact @kubernetes/sig-docs-leads)
|
|
publish = "public"
|
|
command = "git submodule update --init --recursive && make production-build"
|