Commit Graph

54 Commits (main)

Author SHA1 Message Date
Ryota e566e6c8e7
Update branch based context to production
This removes the branch based context of "context.main" which would be triggered
and override any other contexts even during the PR cycle. The assumption here is
that "production" context is marked appropriately on Netlify admin UI, and once
it's in place, this should have the same effect to ensure we do not publish any
draft or future date posts.
2024-12-18 16:52:58 +00:00
Matteo Bianchi b153426c85
Fixed flag deprecations and updated Hugo version to latest (#47612)
* Fixed flag deprecations and updated Hugo version to latest

* Removed deprecated flag from css.html

* Includes fix for Hindi and Russian

Signed-off-by: mbianchidev <matteo@mb-consulting.dev>

* Update netlify.toml

Applied node update (from my other PR)

Co-authored-by: Dmitry Shurupov <dmitry.shurupov@palark.com>

---------

Signed-off-by: mbianchidev <matteo@mb-consulting.dev>
Co-authored-by: Dmitry Shurupov <dmitry.shurupov@palark.com>
2024-08-23 16:37:52 +01:00
Matteo Bianchi d658d29b1a
Update node version to latest LTS
Updated netlify.toml, Node 2.11.0 -> Node 2.17.0
2024-08-21 22:36:23 +02:00
Chris Abraham 9d2317aa15 Replace Bing with PageFind search for users in China 2024-07-03 15:36:58 +01:00
David Tesar 6646288269
Update hugo and node versions
Signed-off-by: David Tesar <david.tesar@microsoft.com>
2024-01-10 12:06:00 -08:00
Gauravpadam 172621c93b Bumped up hugo to v0.120.3 2023-11-04 10:17:45 +05:30
Tim Bannister bd5079beb3 Use latest patch version of Hugo 0.111 2023-04-28 00:58:49 +01:00
Tim Bannister e4a8477e41 Bump to newer Hugo version
The main benefit that this might bring is a fix for Netlify build
timeouts.
2023-04-28 00:57:40 +01:00
Abigail McCarthy 47b3287674
Merge branch 'main' into website-dependency-testing 2023-02-22 10:35:41 -05:00
Tim Bannister e8e56337b0
Bump Hugo version
Use Hugo 0.110 - latest available at time of this commit.
Tested locally.
2023-02-18 14:37:16 +00:00
Abigail McCarthy e03d7e4d24 Remove Ruby as a dependency from netlify.toml file 2023-02-14 10:41:39 -05:00
Patrice Chalin 13b008df31
Fix default branch name in comment 2022-10-06 07:36:52 -04:00
Tim Bannister d1fe3b1cf6
Bump to Hugo 0.101.0
Notable improvements:

- Indentation fixes for shortcode blocks
- resources.Copy function
- improved error handling
2022-06-17 17:13:21 +01:00
Jihoon Seo 400e10a832 Update Hugo version 2022-04-22 09:58:01 +09:00
Tim Bannister 2dfe0d1c30 Make only live website indexable
This change updates how we run Hugo AND changes the logic for checking
whether a page should be indexable (copied with a backport from upstream
Docsy).
2022-01-03 17:24:18 +00:00
Jim Angel bd5223c5af performance tuning and hugo version upgrade 2021-08-22 20:05:12 +00:00
Tim Bannister e3f54e0089 Bump Ruby version for Netlify
The site can build without Ruby; however, Netlify wants a Ruby version.
Pick something recent.
2021-06-17 19:10:20 +01:00
Kubernetes Prow Robot 971412c3fd
Merge pull request #27344 from jimangel/clickjack
adding header config for netlify
2021-03-31 09:05:01 -07:00
Jim Angel 2885caa95c adding header config for netlify 2021-03-30 21:14:20 -05:00
Jim Angel 5467cf82a0 updating hugo 2021-03-30 21:08:05 -05:00
Tim Bannister ab4b004d69
Switch to Hugo v0.79.1
The improvements include:
- timezone-aware date formatting
- if getJSON() errors during a build, we can now ignore it
- You can set Hugo configuration via environment variables even if
  snake_case.
2020-12-22 23:57:16 +00:00
Tim Bannister 96b970af0e Bump Hugo version
Switch to version 0.74.3 as it's more recent
2020-07-26 17:24:02 +01:00
zacharysarah 21f2e10998 Specify a Ruby version for netlify 2020-07-03 13:21:24 -07:00
Tim Bannister 7b85bc3b49 Use a shallow clone for submodules in Netlify 2020-06-16 20:33:01 +01:00
Aidan Ranney 0625ced466
Revise the Kubernetes website to use Docsy (#20874)
* 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.
2020-06-15 12:09:57 -07:00
zacharysarah d656fd1cc1 Specify a node version in package.json 2020-05-13 17:41:48 -07:00
Jim Angel fdb2318683 change hugo version unsafe 2020-05-09 12:41:11 -05:00
zacharysarah a3176c6c5f Update team membership for current best practices
Make team mentions consistent
2020-04-21 15:00:00 -07:00
Jacky Wu 6275183b59 refact: merge HUGO_VERSION, add deploy-preview. (#18020) 2020-01-15 04:47:33 -08:00
Zach Corleissen 7a0ef2e4fe Update Hugo version in netlify.toml to 0.59.1 (#17976) 2019-12-06 11:56:52 -08:00
Zach Corleissen 41ea6d49fb Update master to Hugo version 0.57.2 (#16814)
Update Makefile for 0.57.2
2019-10-27 12:21:24 -07:00
Luc Perkins c6dd35ba51 Update to Hugo 0.53 and remove all .Site references (#12079)
* Remove all .Site variable references

* Update Hugo version in Travis CI config and Makefile
2019-02-05 08:33:23 -08:00
Luc Perkins aac7862a06 Upgrade Hugo to 0.52 (#11552)
* Update Hugo version and apply HTML minification to production builds

* Use full flag names for clarity

* Remove Hugo installation logic out of Travis config and into Makefile

* Add Hugo version checking script

* Fix Netlify config version
2019-01-15 10:56:39 -08:00
Lucas Käldström 551489f196 kubeadm GA blog post (#11462)
* kubeadm GA blog post

* Change file name and add post metadata

* Update CSS for blog post tables

* More formatting and wording changes

* Change build process to allow for displaying future blog posts

* Add links to command documentation

* Change blog post date and address PR feedback

* More wording updates
2018-12-04 08:44:17 -08:00
Luc Perkins 57584f982d Add header-checking function (#9880)
* Add basic header-checking function

* Add Slack notification logic

* Modify Netlify Functions setup

* Rework function logic

* Add missing dependencies

* Remove package-lock.json from Git

* Separate header checking function

* Isolate env check into a separate function
2018-10-03 13:04:39 -07:00
Bjørn Erik Pedersen 32014f94b3 Merge missing translations (#10355)
* Merge missing translations

* Disable Norwegian
2018-10-01 12:38:37 -07:00
Luc Perkins b6bb3a60a0 Add _headers file checking logic (#9879)
* Add _headers file checking logic

* Remove netlify_noindex_headers.txt file
2018-08-21 12:51:15 -07:00
Bjørn Erik Pedersen 886514b9e3 netlify: Update to Hugo 0.47.1 (#9910)
The relevant fix for kubernetes.io is the "Page last modified on" line (Git revision info), which in this version now works correctly across languages.
2018-08-21 09:52:13 -07:00
Andrew Chen 491cf088e4 Add comments to noindex mechanism (#9768)
* Check Netlify test

* Update netlify.toml

with the gh handle for sig docs maintainers
2018-08-08 18:07:19 -07:00
Andrew Chen 4920a51665 Revert 9225, fix indexing for k8s.io (#9767) 2018-08-06 14:19:16 -07:00
Bjørn Erik Pedersen f5d28ad24b Update to Hugo 0.46 (#9703)
* Update to Hugo 0.46

This will only do the SASS building once for every languages (English and Chinese). For the Kubernetes site, this is mostly about speed.

* netlify: Simplify setup

Remove duplicate version defintions etc.
2018-08-02 15:41:27 -07:00
Luc Perkins bf4b9377e6 Auto _headers file generation logic (#9225) 2018-07-27 15:27:57 -07:00
Luc Perkins 1060c00b2a Use Hugo for Sass processing (#9404)
* Move all Sass into a common /assets directory

* Remove node-sass make command

* Change head partial to accommodate full Sass rules

* Bump Hugo version in Netlify config

* Use separate partial for CSS imports

* Bump Hugo version

* Remove PostCSS from the pipeline

* Un-bump version

* Update Hugo version to 0.44

* Update Hugo version in Makefile

* Update production Hugo version

* Fix misspelled variable name

* Add ./resources folder to Git

* Update Hugo version in Netlify config to 0.45.1

* Use un-cached css.html partial

* Re-work extra CSS logic for .Params.css
2018-07-26 02:53:57 -07:00
Misty Linville 1b914f4ac7 Add Git info to per-page template (#9309)
* Add per-page Git commit info

* Try moving the buttons down below the page TOC

* Add page history to page footer
2018-07-02 16:17:19 -07:00
Andrew Chen eda181dec4 Set noindex header for builds except for master (+1 squashed commit) (#9150)
Squashed commits:
[c87129c] Set noindex header for builds except for master
2018-06-19 15:22:32 -07:00
Bjørn Erik Pedersen 6af77ec391 Update to Hugo 0.40.3 (#8436)
Note that this site produces the same output running with both 0.40.2 and 0.40.3, but you might as well run with the latest patch release.
2018-05-10 11:01:53 -07:00
Bjørn Erik Pedersen 7f3b633aa0 Convert site to Hugo (#8316)
This commit converts content and layout to use Hugo.
2018-05-05 09:00:51 -07:00
Andrew Chen 8be19e168a Chenopis vnext staging noindex (#4641)
* include _headers

* revert vnext-staging context

* add proto _headers file

* fix build settings
2017-08-04 17:22:47 -07:00
Andrew Chen 8825d5a61e fix noindex for vnext-staging (#4640)
* include _headers

* revert vnext-staging context

* add proto _headers file
2017-08-04 16:35:21 -07:00
Andrew Chen da18bb735c fix command 2017-08-04 15:41:35 -07:00