Commit Graph

23 Commits (7031ef6b666d05f11d974ac921fe1a9b8066815e)

Author SHA1 Message Date
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
Andrew Chen 6957eb01ec Add noindex to vnext-staging 2017-08-04 15:20:15 -07:00
Andrew Chen 817fff899e Remove /redirects.rb (#3305)
Will restore when Prod uses Netlify
2017-04-10 15:12:09 -07:00
David Calavera e64c482469 Add redirect generator to make Netlify's CDN redirect to the right places.
Netlify will redirect with a 301 status to the right places without the
need of a custom javascript file.

The current redirects.js is not removed so production can keep working
as it is for now.

Signed-off-by: David Calavera <david.calavera@gmail.com>
2017-02-03 09:50:23 -08:00
David Calavera ac2a52af20
Add Netlify configuration.
- The netlify.toml file explains how to build this site for production
  and deploy previews.
- The Makefile has some commands to make building the site slightly more
  user friendly, try typing `make help`.
- The Gemfile includes all the dependencies exported from GitHub Pages.
  This site might not need all of the but I don't have the knowledge to
  exclude the unused ones.

Signed-off-by: David Calavera <david.calavera@gmail.com>
2016-09-07 16:37:43 -07:00